#Can´t get hibernation and suspension/sleep to work properly on Fedora KDE wayland + nvidia

1 messages · Page 1 of 1 (latest)

hexed steeple
#

I for the life of me cannot get these to properly work. Below are the steps I tried to take in order to fix this:

  1. I have to have secure boot turned off for the hibernation option to even appear

  2. Updated the kernel parameter in /etc/default/grub as following: GRUB_CMDLINE_LINUX="resume=UUID=d51e7632-84ec-4fdd-ae7b-1214b5d34f5e rhgb rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_PreserveVideoMemoryAllocations=1 nvidia.NVreg_TemporaryFilePath=/var/tmp nvidia.NVreg_EnableGpuFirmware=0"

  3. I have confirmed that the resume UUID is pointing to the correct swap partition:
    /dev/nvme0n1p3: UUID="d51e7632-84ec-4fdd-ae7b-1214b5d34f5e" TYPE="swap" PARTUUID="c60d8bbf-364d-4974-b1e1-07b4b7faedff"

swapon -s    
Filename                                Type            Size            Used            Priority
/dev/nvme0n1p3                          partition       33554428        0               -2
/dev/zram0                              partition       8388604         0               100
  1. Installed and enabled the nvidia power scripts : sudo dnf install xorg-x11-drv-nvidia-power + sudo systemctl enable nvidia-{suspend,resume,hibernate}

  2. Added whatever this is

cat /etc/modprobe.d/nvidia.conf 
options nvidia NVreg_TemporaryFilePath=/var/tmp
  1. Rebuilt the initramfs and regenerated the GRUB config

Yet hibernating just turns off my monitors, after which my computer makes a reboot sound (fans spinning up then dying down again) to only get put in the sddm login screen again.

Also I don't know if suspending is working properly. My screens do turn off and only turn on after i press a key on my keyboard, but my pc's lights and fans all keep working and spinning during suspension.

Edit: tried adding mem_sleep_default=deep to /etc/default/grub but the fans and lights still stay on

hexed steeple
#

Asked for help in the fedora linux discord server as well. Got a very thorough guide, but it seems my computer just does not want to hibernate no matter what i try/add