Skip to content

Instantly share code, notes, and snippets.

@jonathannerat
Last active October 24, 2020 15:59
Show Gist options
  • Save jonathannerat/439f14d29b923f89c78b84e2b0e1cd46 to your computer and use it in GitHub Desktop.
Save jonathannerat/439f14d29b923f89c78b84e2b0e1cd46 to your computer and use it in GitHub Desktop.
Fix for corrupted screen and icons after suspend on systems with nvidia propietary drivers

This is done with an option when you load the module: modprobe nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1

To automatically use this option, create a file named /etc/modprobe.d/50-nvidia.conf with the following content:

options nvidia NVreg_RegisterForACPIEvents=1 NVreg_EnableMSI=1

Restart your machine and now you can safely suspend and resume without screen corruption. In my case in 9 out of 10 suspend operations this fixes the screen corruption issue. Very rarely it still happens, but much less often than without this options.

@jonathannerat
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment