hello i am using endeavouros since last year and have been able to troubleshoot most of the issues by searching the forums or going through arch-wiki, however this issue is persistent and i am unable to solve.
I am using Nvidia 980 Ti GPU and ASUS X99 Delux motherboard
Linux Kernel is 6.6.57 LTS
nvidia-dkms 560.35.3 drivers
grub with dracut
The issue is - whenever i try to suspend the system, the screen goes blank and hdd LED show activity, but the keyboard, mouse does not respond (wake/resume) the system doesn’t sleep at all and I’m able to SSH into it.
journalctl shows the nvidia-suspend fails to execute
-- Boot cc22333996fe476b979073885b644220 --
Oct 20 19:07:53 max-desk systemd[1]: Starting NVIDIA system suspend actions...
Oct 20 19:07:53 max-desk suspend[2841]: nvidia-suspend.service
Oct 20 19:07:53 max-desk logger[2841]: <13>Oct 20 19:07:53 suspend: nvidia-suspend.service
Oct 20 19:07:54 max-desk systemd[1]: nvidia-suspend.service: Main process exited, code=killed, status=9/KILL
Oct 20 19:07:54 max-desk systemd[1]: nvidia-suspend.service: Failed with result 'signal'.
Oct 20 19:07:54 max-desk systemd[1]: Failed to start NVIDIA system suspend actions.
lines 522-572/572 (END)
what i had tried so far
- Added kernel command lines by adding drop ins to /etc/modprobe.d/nvidia.conf
options nvidia-drm modeset=1 fbdev=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp
options nvidia NVreg_UsePageAttributeTable=1
- Blacklisted the following /etc/modprobe.d/blacklist.conf
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
blacklist nv
-
added kernel cmdline “mem_sleep_default=deep”
-
dmesg | grep nvidia gives following result
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=f9643ccf-307a-4f5a-bf21-032adc507330 rw nowatchdog nvme_load=YES resume=UUID=39d362ab-035e-45fa-ba45-23f3992c6b3f nvidia_drm.modeset=1 loglevel=3
[ 0.081397] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=f9643ccf-307a-4f5a-bf21-032adc507330 rw nowatchdog nvme_load=YES resume=UUID=39d362ab-035e-45fa-ba45-23f3992c6b3f nvidia_drm.modeset=1 loglevel=3
[ 8.014385] nvidia: loading out-of-tree module taints kernel.
[ 8.014392] nvidia: module license 'NVIDIA' taints kernel.
[ 8.014395] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 8.014396] nvidia: module license taints kernel.
[ 8.351587] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[ 8.353173] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
[ 8.499854] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 8.507710] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 560.35.03 Fri Aug 16 21:21:48 UTC 2024
[ 8.613648] nvidia-uvm: Loaded the UVM driver, major device number 235.
[ 8.618536] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 9.539921] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
[ 9.540005] nvidia 0000:01:00.0: vgaarb: deactivate vga console
[ 9.613167] fbcon: nvidia-drmdrmfb (fb0) is primary device
[ 9.676217] nvidia 0000:01:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
[ 5651.060669] warp-gui[33195]: segfault at 0 ip 0000790fd6610857 sp 00007ffebbb67290 error 4 in libnvidia-glcore.so.560.35.03[790fd6000000+c00000] likely on CPU 8 (core 2, socket 0)
- disable systemd freeze user session /etc/systemd/system/systemd-suspend.service.d/disable_freeze_user_session.conf
[Service]
Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false"
- disable home lock freeze session /etc/systemd/system/systemd-homed.service.d/override.conf
[Service]
Environment="SYSTEMD_HOME_LOCK_FREEZE_SESSION=false"
- cat /sys/power/mem_sleep
s2idle [deep]
still the system fails to suspend