Arch + NVidia wake from sleep issues
Hi all,
I'm struggling a bit with issues with my machine not waking properly from sleep once in a while. I'm on Arch updated as of today 4/20/26. I'm on the regular kernel branch 6.19.12-arch1-1 and have an NVidia 5080. My nvidia driver version is Driver Version: 595.58.03 using the nvidia-open package.
I was using KDE at first and had a lot of bugs I'd run into. Some were probably KDE related (mouse would not track but would register clicks when waking up, but occasionally randomly, dual monitor positions would reset with one being inside the other especially after waking up, the lock screen not unlocking properly). I switched to gnome 50 and a lot of the issues seem to have improved. However, I will still about 1 in 5 wake-ups will get a hard freeze requiring me to hit the restart button (a new terminal won't open with ctrl+alt+F2 for example) and even the magic keys don't work. I'm guessing this is an nvidia issue.
I've read through the wiki on nvidia but am honestly a bit confused. It seems a few updates ago the nvidia sleep / suspend systemd services were removed from the driver saying they aren't needed anymore.
I believe DRM mode setting is appropriately installed running cat /sys/module/nvidia_drm/parameters/modesetcat /sys/module/nvidia_drm/parameters/modeset
Produces a Y as per the wiki. There's a line afterwards that's a bit confusing though that says "Officially supported kernels enable simpledrm, while NVIDIA driver requires efifb or vesafb when its own fbdev is disabled (or unavailable, with driver versions older than 545): see BBS#307164 for a possible workaround if you experience issues."
Since I'm experiencing issues, I added the line nvidia_drm.modeset=1 to the kernel options per the forum post to disable simpledrm early.
Under the wiki https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend
it mentions that it no longer uses the prior NVreg_PreserveVideoMemoryAllocations and has switched. When running sort /proc/driver/nvidia/params i do see UseKernelSuspendNotifiers: 1 suggesting the new kernel suspend notifiers are correct.
I'm a bit confused about GDM though now that I've switched to gnome. In the wiki box it says "When using the 430-590 series drivers, the nvidia-resume.service is marked as required by NVIDIA, but it can be optional, as its functionality is also provided by a systemd-sleep(8) hook (/usr/lib/systemd/system-sleep/nvidia) and it is invoked automatically. Note that GDM with Wayland however explicitly requires nvidia-resume.service to be enabled."
Does that mean I need to somehow again download the removed nvidia-resume.service from the new driver series? Or is this just outdated on the wiki? Is there some other issue that may be present causing the occasional freeze or resume failure?