Unable to suspend

Unable to put the computer to sleep. I have attached journalctl logs for 1 min prior. I think it’s either nvidia or cloudflare-warp causing the issue. Any help appreciated.

journalctl --since “1 minute ago” : journalctl --since "1 minute ago" :

/etc/modprobe.d/nvidia.conf :

options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp
#options nvidia NVreg_EnableGpuFirmware=0
options nvidia_drm modeset=1
options nvidia_drm fbdev=1

#cloudflare-warp

Sep 27 01:32:41 host systemd[1]: suspend.target: Job suspend.target/start failed with result ‘dependency’.

Looks relevant. What does systemctl status suspend.target say?

○ suspend.target - Suspend
     Loaded: loaded (/usr/lib/systemd/system/suspend.target; static)
     Active: inactive (dead)
       Docs: man:systemd.special(7)

Sep 27 13:16:15 host systemd[1]: Reached target suspend.target - Suspend.
Sep 27 13:16:15 host systemd[1]: Stopped target suspend.target - Suspend.
Sep 27 16:15:34 host systemd[1]: Reached target suspend.target - Suspend.
Sep 27 16:15:34 host systemd[1]: Stopped target suspend.target - Suspend.
Sep 27 22:00:23 host systemd[1]: Reached target suspend.target - Suspend.
Sep 27 22:00:23 host systemd[1]: Stopped target suspend.target - Suspend.
Sep 28 00:17:16 host systemd[1]: Dependency failed for suspend.target - Suspend.
Sep 28 00:17:16 host systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.
Sep 28 00:28:53 host systemd[1]: Dependency failed for suspend.target - Suspend.
Sep 28 00:28:53 host systemd[1]: suspend.target: Job suspend.target/start failed with result 'dependency'.

Thanks. Can you ensure that all the recommendations on Distributions/Packaging Recommendations - KDE Community Wiki have been followed?

1 Like

Thank you so much for your help.

Yes. I’m hoping the below qualifies for that.

When I do sort /proc/driver/nvidia/params, I do get PreserveVideoMemoryAllocations: 1, and also TemporaryFilePath: "/var/tmp", so I’m guessing these are set. I’m guessing there’s still some unresolved bugs in the driver relating to suspend.

Also I’ve noticed that issue appears when I utilize the gpu (even the web browser games), but I’ve not been able to reliably recreate the issue. It sometimes appears and other times doesn’t.