Black screen after suspend/resume (sleep/hibernate)
If your screen stays black after sleep (suspend) or hibernation (hibernate), this is one of the most common NVIDIA issues on Linux, especially on older cards.
Symptoms
Section titled “Symptoms”- Black screen after wake-up, but the system is not fully frozen
- Cursor does not move, or only backlight is visible
- Only a hard reboot helps
Step-by-step fix (Arch Linux)
Section titled “Step-by-step fix (Arch Linux)”1) Enable NVIDIA KMS parameters in GRUB
Section titled “1) Enable NVIDIA KMS parameters in GRUB”Open /etc/default/grub and add this to GRUB_CMDLINE_LINUX_DEFAULT:
nvidia_drm.modeset=1 nvidia_drm.fbdev=1Update GRUB:
sudo update-grub2) Enable NVIDIA sleep/resume services
Section titled “2) Enable NVIDIA sleep/resume services”sudo systemctl enable nvidia-suspend.servicesudo systemctl enable nvidia-hibernate.servicesudo systemctl enable nvidia-resume.service3) Enable video memory preservation
Section titled “3) Enable video memory preservation”Add this to /etc/modprobe.d/nvidia.conf:
options nvidia NVreg_PreserveVideoMemoryAllocations=1If NVIDIA modules are loaded early on your system (through initramfs), regenerate initramfs:
sudo mkinitcpio -P4) Reboot the system
Section titled “4) Reboot the system”After reboot, check:
systemctl status nvidia-suspend.service nvidia-resume.service nvidia-hibernate.service --no-pagerIf the issue remains
Section titled “If the issue remains”- Temporarily test an X11 session instead of Wayland
- Make sure the
nvidiamodule is loaded, notnouveau - Update the NVIDIA driver to a current branch
Source
Section titled “Source”- NVIDIA README: Configuring Power Management Support
- NVIDIA README: Direct Rendering Manager Kernel Modesetting