NVIDIA: Difference between revisions

imported>Nadimkobeissi
No edit summary
imported>Nadimkobeissi
No edit summary
Line 49: Line 49:
     modesetting.enable = true;
     modesetting.enable = true;


     # Enable power management (do not disable this unless you have a reason to).
     # Nvidia power management. Experimental, and can cause sleep/suspend to fail.
    # Likely to cause problems on laptops and with screen tearing if disabled.
     powerManagement.enable = false;
     powerManagement.enable = true;


     # Use the NVidia open source kernel module (not to be confused with the
     # Use the NVidia open source kernel module (not to be confused with the
Line 283: Line 282:


=== Graphical Corruption and System Crashes on Suspend/Resume ===
=== Graphical Corruption and System Crashes on Suspend/Resume ===
First, ensure that <code>powerManagement.enable = true</code>, as initially suggested in the starting configuration above.
<code>powerManagement.enable = true</code> can sometimes fix this, but is itself unstable and is known to cause suspend issues.


If you have a modern Nvidia GPU (Turing [https://en.wikipedia.org/wiki/Turing_(microarchitecture)#Products_using_Turing] or later), you may also want to investigate the <code>hardware.nvidia.powerManagement.finegrained</code> option: [https://download.nvidia.com/XFree86/Linux-x86_64/460.73.01/README/dynamicpowermanagement.html]
If you have a modern Nvidia GPU (Turing [https://en.wikipedia.org/wiki/Turing_(microarchitecture)#Products_using_Turing] or later), you may also want to investigate the <code>hardware.nvidia.powerManagement.finegrained</code> option: [https://download.nvidia.com/XFree86/Linux-x86_64/460.73.01/README/dynamicpowermanagement.html]