This is very common question what I usually get, when everything goes south. OMG, my Linux installation is ruined, I see only black screen. Here’s a some theory, what it could be and how it could be fixed.
This is basically same for Fedora, Ubuntu, Debian, Linux Mint etc. users.
Most common reasons to see black screen after NVIDIA drivers install on Linux:
1. NVIDIA Optimus technology (https://download.nvidia.com/XFree86/Linux-x86_64/470.86/README/optimus.html) (drivers installed normally and works normally, external monitor works, CUDA apps works, but your laptop panel is not working)
- Solution 1. Disable NVIDIA Optimus from BIOS / UEFI
- Solution 2. Configure your desktop to run using Integrated graphics card, Intel or AMD
- Solution 3. Offloading Graphics Display with RandR 1.4 (https://download.nvidia.com/XFree86/Linux-x86_64/470.86/README/randr14.html)
- Solution 4. PRIME Render Offload (https://download.nvidia.com/XFree86/Linux-x86_64/470.86/README/primerenderoffload.html)
2. Error(s) on NVIDIA drivers installation, kernel modules are not build / updated correctly. DKMS fails to build kernel modules. etc.
3. Xorg, Display manager, graphical environment bug or error.
This video will show you a real life example of one case.
⭐️ Table of contents ⭐️
00:00 Reasons why you might see black screen after NVIDIA drivers install
01:05 From working NVIDIA installation to broken NVIDIA installation
02:08 Black Screen
02:21 Change Virtual Console
03:00 Check last boot log
03:30 NVRM: API mismatch error
03:44 Generate new initramfs
04:12 Back to working system
45 Comments