View previous topic :: View next topic |
Author |
Message |
dabler n00b
Joined: 21 Nov 2018 Posts: 5
|
Posted: Sun Nov 17, 2024 9:54 am Post subject: Hibernate does not work after update |
|
|
I have a problem with hibernating my computer. Everything was working before an update. The update installed Plasma 6. Hibernating from the start menu doesn't work either.
After the update, the following command does nothing:
Code: | $ loginctl hibernate |
When I trace it using ltrace, I get the following output:
Code: | $ ltrace loginctl hibernate
setlocale(LC_ALL, "") = "C"
elogind_set_program_name(0x7fffb8445a2d, 0x7f266b11bde0, 1, 0) = 0x7f266b135e08
log_setup(0x7fffb8445a2d, 0x7f266b11bde0, 1, 0) = 0
rlimit_nofile_bump(0x80000, 0x7fffb84452c0, 11, 0x7f266b0a9874) = 0
sigbus_install(0, 7, 0, 0x8000000000000000) = 0
getopt_long(2, 0x7fffb8445538, "hp:P:als:H:M:n:o:ci", 0x55aa2480b200, nil) = -1
bus_connect_transport(0, 0, 0, 0x7fffb84453e0) = 0
sd_bus_set_allow_interactive_authorization(0x55aa2482a2a0, 1, 128, 0x7f266b0a928b) = 0
dispatch_verb(2, 0x7fffb8445538, 0x55aa2480b560, 0x55aa2482a2a0 <unfinished ...>
strcmp("halt", "hibernate") = -8
strcmp("poweroff", "hibernate") = 8
strcmp("reboot", "hibernate") = 10
strcmp("kexec", "hibernate") = 3
strcmp("suspend", "hibernate") = 11
strcmp("hibernate", "hibernate") = 0
geteuid() = 1000
on_tty(0x55aa248068c5, 0x7fffb8445a36, 0x55aa2482a2a0, 0x7f266b07986b) = 1
sd_bus_call_method(0x55aa2482a2a0, 0x55aa24806046, 0x55aa2480602e, 0x55aa24807968) = 0xffffff92
polkit_agent_open_if_enabled(0, 1, 0x55aa24808270, 785) = 0
log_get_max_level(5, 0, 0, 0x7f266b096094) = 6
sd_bus_call_method(0x55aa2482a2a0, 0x55aa24806046, 0x55aa2480602e, 0x55aa24807968) = 0xffffff92
log_get_max_level(0x55aa2482a010, 0x55aa2482cd40, 0, 785) = 6
memset(0x7fffb8444f90, '\0', 1024) = 0x7fffb8444f90
_bus_error_message(0x7fffb8444f70, 0xffffff92, 0x7fffb8444f90, 0x7fffb8444f90) = 0x7f266b13520d
log_internal(3, 0xffffff92, 0x55aa24807b89, 366) = 0xffffff92
sd_bus_error_free(0x7fffb8444f70, 0x7fffb84443c0, 0, 0x7fffb8444f68) = 0
<... dispatch_verb resumed> ) = 0xffffff92
polkit_agent_close(0x7fffb8444f70, 0x7fffb84443c0, 0, 0x7fffb8444f68 <no return ...>
--- SIGCHLD (Child exited) ---
<... polkit_agent_close resumed> ) = 0
strv_free(0, 0xfd6b, 0, 0x7f266b091343) = 0
sd_bus_flush_close_unref(0x55aa2482a2a0, 0xfd6b, 0, 0x7f266b091343) = 0
sd_notifyf(0, 0x55aa24806720, 110, 0x7f266b172b20) = 0
polkit_agent_close(0x55aa2482a010, 0x55aa2482bf80, 0x55af7e20817b, 33) = 0
pager_close(0, 0x55aa2482bf80, 0x55af7e20817b, 33) = 0
mac_selinux_finish(0, 0x55aa2482bf80, 0x55af7e20817b, 33) = 0
+++ exited (status 1) +++ |
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22672
|
Posted: Sun Nov 17, 2024 3:58 pm Post subject: |
|
|
Is the problem that the system cannot hibernate even when root triggers it directly (bypassing logind) or is the problem that now logind refuses to try? What happens if you use a root shell to hibernate the system? |
|
Back to top |
|
|
dabler n00b
Joined: 21 Nov 2018 Posts: 5
|
Posted: Sun Nov 17, 2024 4:08 pm Post subject: |
|
|
Even root permissions didn't help. The command Code: | echo disk > /sys/power/state | also does not hibernate, although Code: | cat /sys/power/state | prints . |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22672
|
Posted: Sun Nov 17, 2024 4:33 pm Post subject: |
|
|
That suggests this is a kernel problem. Is there anything useful written to dmesg when this fails? |
|
Back to top |
|
|
dabler n00b
Joined: 21 Nov 2018 Posts: 5
|
Posted: Sun Nov 17, 2024 4:36 pm Post subject: |
|
|
The kernel log says nothing (not even a line).
The problematic update installed Plasma 6 and =x11-drivers/nvidia-drivers-550.127.05-r1. The kernel has not been updated. Everything worked fine, until the update. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22672
|
Posted: Sun Nov 17, 2024 4:42 pm Post subject: |
|
|
You did not mention that nVidia drivers were present, or that they were updated. Is this problem reproducible with an untainted kernel? |
|
Back to top |
|
|
dabler n00b
Joined: 21 Nov 2018 Posts: 5
|
Posted: Sun Nov 17, 2024 4:52 pm Post subject: |
|
|
Everything seems to be caused by wayland running on top of the =x11-drivers/nvidia-drivers-550.127.05-r1. Hibernation works for me with X11 and nvidia-drivers. However, everything worked with the old nvidia drivers. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22672
|
Posted: Sun Nov 17, 2024 5:19 pm Post subject: |
|
|
That sounds like a regression in the newer nVidia drivers then. You will likely need to seek help from someone with the ability to debug the proprietary nVidia drivers. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|