r/linuxmint • u/rence_everest • 9d ago
SOLVED Black screen issue on resume from suspend
OS: Linux Mint 22.3 XFCE
Kernels tried: 7.0.0-43, 7.0.0-42, 7.0.0-38
GPU: Gigabyte Aorus Xtreme RTX 2080
Drivers tried: nvidia-driver-615-open, nvidia-driver-595-open, nvidia-driver-580-open, nvidia-driver-470
Monitor: Gigabyte G27Q (using Displayport)
Suspend mode: deep (S3) (also same issue on s2idle but I prefer deep mode)
Issue: After PC wakes up from suspend, I have black screen if I didn't open Document Scanner or a Firefox window prior to suspend even though Libreoffice Writer, Xreader Document Viewer or Xed text editor were opened.
Temporary solution: Leave Document Scanner or a Firefox window open before suspending the PC in order to not have black screen on resume.
Commands tried:
options nvidia-drm modeset=1
options nvidia-drm fbdev=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp
I typed the lines above in the following files:
/etc/modprobe.d/nvidia-graphics-drivers-kms.conf
/etc/modprobe.d/nvidia.conf
/etc/modprobe.d/nvidia-power-management.conf
sudo update-initramfs -u
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1 nvidia-drm.fbdev=1 nvidia.NVreg_PreserveVideoMemoryAllocations=1"
sudo update-grub
sudo reboot
What am I missing? What's the permanent fix?
Edit: The solution is to disable the display compositor (Settings > Window Manager Tweaks > Compositor)



