NVIDIA: Difference between revisions

imported>Zahrun
m Replace with hardware.nvidia.forceFullCompositionPipeline which does the same thing
imported>NewAM
Changed "Fixing black screen" to general for AMD/Intel, I just experienced the same issue on an AMD system after updating to 23.05.
Line 297: Line 297:
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]


=== Fix black screen on system with Intel integrated GPU ===
=== Fix black screen on system with an integrated GPU ===
If you are using non-Optimus mode on a system with an Intel CPU with integrated GPU, the kernel module <code>i915</code> may interfere with the NVIDIA driver. This may result in a black screen when switching to the virtual terminal, or when exiting the X session. A possible workaround is to disable the integrated GPU by blacklisting <code>i915</code>, using the following configuration option (see also [https://discourse.nixos.org/t/nvidia-gpu-and-i915-kernel-module/21307/3]):
If you are using non-Optimus mode on a system with an integrated GPU, the kernel module <code>i915</code> for intel or <code>amdgpu</code> for AMD may interfere with the NVIDIA driver. This may result in a black screen when switching to the virtual terminal, or when exiting the X session. A possible workaround is to disable the integrated GPU by blacklisting the module, using the following configuration option (see also [https://discourse.nixos.org/t/nvidia-gpu-and-i915-kernel-module/21307/3]):


<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
# intel
boot.kernelParams = [ "module_blacklist=i915" ];
boot.kernelParams = [ "module_blacklist=i915" ];
# AMD
boot.kernelParams = [ "module_blacklist=amdgpu" ];
</syntaxHighlight>
</syntaxHighlight>


[[Category:Video]]
[[Category:Video]]