Cant' suspend my nvidia notebook

Hi

I have a Nitro 5 with gtx 1650. I’ve used UBlue images for some months now, but now I’m unable to suspend my device, either by putting the screen down or via terminal (systemctl suspend).

Have tested on Aurora and Bluefin. It appears that the problem is related to nvidia.

For some time I thought it was an envycontrol fault, but after a fresh install, it continues to happen. I rebase to Bazzite and now it is working.

Don’t know what to do. Tried rollback, but nothing changed. I’m going to keep with Bazzite for now.
Here are some logs that IA asked me for:

$ journalctl -b -1 | grep -i suspend

Mar 15 11:54:39 aurora systemd-logind[1875]: The system will suspend now!
Mar 15 11:54:39 aurora ModemManager[1919]:  [sleep-monitor-systemd] system is about to suspend
Mar 15 11:54:40 aurora systemd[1]: Starting systemd-suspend.service - System Suspend…
Mar 15 11:54:40 aurora systemd-sleep[3591]: in suspend-then-hibernate operations or setups with encrypted home directories.
Mar 15 11:54:40 aurora (sd-exec-strv)[3592]: /usr/lib/systemd/system-sleep/fw-fanctrl-suspend failed with exit status 1.
Mar 15 11:54:40 aurora systemd-sleep[3591]: Performing sleep operation ‘suspend’…
Mar 15 11:54:40 aurora kernel: PM: suspend entry (deep)
Mar 15 11:54:47 aurora kernel: nvidia_suspend+0x88/0x160 [nvidia]
Mar 15 11:54:47 aurora kernel: nv_suspend_devices+0x177/0x350 [nvidia]
Mar 15 11:54:47 aurora kernel: pm_suspend+0x43/0x80
Mar 15 11:55:41 aurora kernel: NVRM: gpuPowerManagementEnter: GSP unload failed at suspend (bootMode 0x1, newLevel 0x3): 0x65
Mar 15 11:55:41 aurora kernel: WARNING: CPU: 0 PID: 3591 at nvidia/nv.c:4910 nv_suspend_devices+0x247/0x350 [nvidia]
Mar 15 11:55:41 aurora kernel: RIP: 0010:nv_suspend_devices+0x247/0x350 [nvidia]
Mar 15 11:55:41 aurora kernel: pm_suspend+0x43/0x80
Mar 15 11:55:53 aurora kernel: nv_suspend_devices+0x298/0x350 [nvidia]
Mar 15 11:55:53 aurora kernel: pm_suspend+0x43/0x80
Mar 15 11:55:53 aurora kernel: nv_suspend_devices+0x2a0/0x350 [nvidia]
Mar 15 11:55:53 aurora kernel: pm_suspend+0x43/0x80
Mar 15 11:55:53 aurora kernel: NVRM: PM suspend notifier failed: 0x65
Mar 15 11:55:53 aurora kernel: PM: suspend exit
Mar 15 11:55:53 aurora kernel: PM: suspend entry (s2idle)
Mar 15 11:55:53 aurora kernel: WARNING: CPU: 0 PID: 3591 at nvidia/nv.c:4599 nv_suspend_devices+0x2f3/0x350 [nvidia]
Mar 15 11:55:53 aurora kernel: RIP: 0010:nv_suspend_devices+0x2f3/0x350 [nvidia]
Mar 15 11:55:53 aurora kernel: pm_suspend+0x43/0x80
Mar 15 11:55:53 aurora kernel: WARNING: CPU: 0 PID: 3591 at nvidia/nv.c:4880 nv_suspend_devices+0x30b/0x350 [nvidia]
Mar 15 11:55:53 aurora kernel: RIP: 0010:nv_suspend_devices+0x30b/0x350 [nvidia]
Mar 15 11:55:53 aurora kernel: pm_suspend+0x43/0x80
Mar 15 11:55:53 aurora kernel: nv_suspend_devices+0x2d1/0x350 [nvidia]
Mar 15 11:55:53 aurora kernel: pm_suspend+0x43/0x80
Mar 15 11:55:53 aurora kernel: NVRM: PM suspend notifier failed: 0x62
Mar 15 11:55:53 aurora kernel: PM: suspend exit
Mar 15 11:55:54 aurora (sd-exec-strv)[3752]: /usr/lib/systemd/system-sleep/fw-fanctrl-suspend failed with exit status 1.
Mar 15 11:55:54 aurora systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
Mar 15 11:55:54 aurora systemd[1]: systemd-suspend.service: Failed with result ‘exit-code’.
Mar 15 11:55:54 aurora systemd[1]: Failed to start systemd-suspend.service - System Suspend.
Mar 15 11:55:54 aurora systemd[1]: Dependency failed for suspend.target - Suspend.
Mar 15 11:55:54 aurora systemd[1]: suspend.target: Job suspend.target/start failed with result ‘dependency’.
Mar 15 11:55:54 aurora systemd-logind[1875]: Operation ‘suspend’ finished.
Mar 15 11:55:54 aurora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=‘unit=systemd-suspend comm=“systemd” exe=“/usr/lib/systemd/systemd” hostname=? addr=? terminal=? res=failed’
Mar 15 11:55:54 aurora systemd[1]: systemd-suspend.service: Consumed 1min 13.284s CPU time, 28.3M memory peak.

I think fw-fanctrl is the problem as it is a package meant for a Framework Laptop. sleep didn’t work on my Asus laptop because of this. I had mentioned it here fw-fanctrl should not be installed in Aurora · ublue-os/aurora · Discussion #1881 · GitHub

As I am using a custom image I had removed fw–fanctrl in my custom image.

Get it

I’ll wait until the update with the fix comes; until then, I’ll still be on Bazzite.

Thank you for the reply!

It is known issue with Nvidia drivers at the moment.

FYI - I filed https://github.com/ublue-os/bluefin/issues/4308 as it seems to be a missing SELinux policy.

Keep in mind that bluefin just underwent some restructuring. So the exact root cause might be different than for Aurora or Bazzite.