NVIDIA: Difference between revisions

imported>PhilippW
Add troubleshooting section on black screen due to i915
imported>PhilippW
No edit summary
Line 297: Line 297:


=== Fix black screen on system with Intel integrated GPU ===
=== Fix black screen on system with Intel 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. To solve this, you can try blacklisting <code>i915</code> by adding the following to your Nix configuration (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 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]):


<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">