Hey, I have a problem with hibernation. It worked fine until Jun 04. But suddenly (some update I guess) all screens go black, the storage led blinks for some seconds and then the PC completely freezes. the log with sudo journalctl -ru systemd-hibernate.service
Only shows two lines:
Jun 08 13:34:16 Alohomora systemd-sleep[23259]: Entering sleep state 'hibernate'...
Jun 08 13:34:16 Alohomora systemd[1]: Starting Hibernate...
Previous Hibernations showed more lines:
Jun 04 12:42:22 Alohomora systemd[1]: systemd-hibernate.service: Consumed 9.046s CPU time.
Jun 04 12:42:22 Alohomora systemd[1]: Finished Hibernate.
Jun 04 12:42:22 Alohomora systemd[1]: systemd-hibernate.service: Deactivated successfully.
Jun 04 12:42:18 Alohomora systemd-sleep[2191740]: System returned from sleep state.
Jun 03 18:32:14 Alohomora systemd-sleep[2191740]: Entering sleep state 'hibernate'...
Jun 03 18:32:14 Alohomora systemd[1]: Starting Hibernate...
I am using a Nvidia GTX 1070ti and enabled preserving its memory when hibernating. Otherwise discord always crashes after hibernation. I disabled that by removing /etc/modprobe.d/nvidia-power-management.conf
with following content and hibernation worked again:
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
The log sudo journalctl -ru nvidia-hibernate.service
does not show any errors:
Jun 08 14:20:19 Alohomora systemd[1]: Finished NVIDIA system hibernate actions.
Jun 08 14:20:19 Alohomora systemd[1]: nvidia-hibernate.service: Deactivated successfully.
Jun 08 14:20:18 Alohomora logger[3965]: <13>Jun 8 14:20:18 hibernate: nvidia-hibernate.service
Jun 08 14:20:18 Alohomora hibernate[3965]: nvidia-hibernate.service
Jun 08 14:20:18 Alohomora systemd[1]: Starting NVIDIA system hibernate actions...
General Info:
EndeavourOS with i3wm
Zen Kernel 6.3.6
AMD Ryzen 5900x
Nvidia GTX 1070ti
32GB RAM
Hibernate:
- To Swap partition (33 GB)
- Resume=UUID=… set correctly in systemd-boot
- worked fine for months
Any ideas what the problem could be or how I can investigate further?
Thanks in Advance!
Update: I tested a bit more and sometimes it even fails after I disabled the nvidia memeory preserving.