Skip to content

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.

  • 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

Open /etc/default/grub and add this to GRUB_CMDLINE_LINUX_DEFAULT:

Terminal window
nvidia_drm.modeset=1 nvidia_drm.fbdev=1

Update GRUB:

Terminal window
sudo update-grub
Terminal window
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service

Add this to /etc/modprobe.d/nvidia.conf:

Terminal window
options nvidia NVreg_PreserveVideoMemoryAllocations=1

If NVIDIA modules are loaded early on your system (through initramfs), regenerate initramfs:

Terminal window
sudo mkinitcpio -P

After reboot, check:

Terminal window
systemctl status nvidia-suspend.service nvidia-resume.service nvidia-hibernate.service --no-pager
  • Temporarily test an X11 session instead of Wayland
  • Make sure the nvidia module is loaded, not nouveau
  • Update the NVIDIA driver to a current branch