I have a system using OpenSUSE Tumbleweed, an NVIDIA card and full disk encryption (home, root and swap are LUKS-encrypted, boot is encrypted too and I have to input a password to allow GRUB to run).
When I suspend the system it enters in suspend mode correctly, but on waking it up the computer starts running but nothing appears in any of the displays, they just stay off.
Stuff I configured:
I enabled the nvidia units for suspend and hibernation via systemd (nvidia-suspend, nvidia-hibernate and nvidia-resume)
Probably unrelated, but I did a setup following this official guide to not be asked to decrypt the disk twice on boot (so only once, on GRUB initialization)
There does not seem to be any strange log from the nvidia-suspend nor from systemd-suspend units when suspending. This is nvidia-suspend:
-- Boot 855810d7a7184dc5b1bd7ae464ddfdf7 --
Feb 15 20:52:55 bridge systemd[1]: Starting NVIDIA system suspend actions...
Feb 15 20:52:55 bridge suspend[2263]: nvidia-suspend.service
Feb 15 20:52:55 bridge logger[2263]: <13>Feb 15 20:52:55 suspend: nvidia-suspend.service
Feb 15 20:52:56 bridge systemd[1]: nvidia-suspend.service: Deactivated successfully.
Feb 15 20:52:56 bridge systemd[1]: Finished NVIDIA system suspend actions.
And this is systemd-suspend:
-- Boot 855810d7a7184dc5b1bd7ae464ddfdf7 --
Feb 15 20:52:56 bridge systemd[1]: Starting System Suspend...
Feb 15 20:52:56 bridge systemd-sleep[2276]: INFO: Skip running /usr/lib/systemd/system-sleep/grub2.sleep for suspend
Interestingly, logs for nvidia-resume are empty (when I can’t get my system back from suspend I force-reboot).
Here’s my neofetch in case it helps:
I would appreciate any pointers, I’m quite lost on this one. Thanks in advance!
I’m guessing you didn’t use LVM during the installation as you need to unlock the encrypted root fs, home, and swap partitions all separately?
My setup is LUKS + LVM (root fs with btrfs subvolumes and swap). Close to stock layout except for a 16G ext4 partition outside of LUKS to store kdump.
To isolate the issue, could you disable nvidia drivers and try suspend/hibernation/resume while using software rendering (kernel boot option nomodeset)?
I’m experiencing the same thing, with a very close system (i5-6600k, GTX970). It’s the same on every distro I’ve tried (Arch, Manjaro, Endeavour, OpenSUSE), forcing REISUB reboots whenever I try to suspend the system. Many of the suggestions on various forums for other distros haven’t worked for me. Following here!
Tried enabling the same services, and ‘Preserve video memory’ ( NVreg_PreserveVideoMemoryAllocations=1) as detailed here: NVIDIA/Tips and tricks - ArchWiki
Fixed for me with the new NVIDIA driver as well, thankfully… after several hops between distros to see if any worked (not on Endeavour). I will get an AMD card next time…
With the latest nvidia driver it is still affecting xfce here if I use xfwm4 in tumbleweed.
With the latest production driver from nvidia there is no problem. In xfce if I use the kwin_x11 which is I am using right now with the latest nvidia driver, it is all good including the kwin bling-blings.