π ~1 min read
Table of contents
Symptom & Impact
System boots to a black screen after login or right after GRUB.
Environment & Reproduction
Common after switching between Nouveau and proprietary NVIDIA drivers.
ubuntu-drivers devices
lsmod | grep -E 'nouveau|nvidia'
journalctl -b -p err --no-pager
Root Cause Analysis
Driver mismatch, stale initramfs, or display manager startup failure causes GPU stack failure.
Quick Triage
Boot to recovery or TTY and inspect active driver packages.
dpkg -l | grep -E 'nvidia|nouveau'
systemctl status gdm3 --no-pager
Step-by-Step Diagnosis
Validate module loading and DKMS build status for the current kernel.
uname -r
dkms status
modinfo nvidia 2>/dev/null | head

Solution – Primary Fix
Purge broken stack, install recommended NVIDIA driver, and regenerate initramfs.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo apt purge 'nvidia*' -y
sudo ubuntu-drivers autoinstall
sudo update-initramfs -u
sudo reboot

Solution – Alternative Approaches
Use Nouveau temporarily if proprietary stack remains unstable.
sudo apt install xserver-xorg-video-nouveau -y
sudo apt purge 'nvidia*' -y
sudo reboot
Verification & Acceptance Criteria
Desktop loads normally and GPU driver reports healthy state.
nvidia-smi
lsmod | grep nvidia
loginctl show-session $(loginctl | awk '/tty|seat/{print $1;exit}') -p Type
Rollback Plan
Return to previous driver version if regression persists.
apt-cache madison nvidia-driver-550
sudo apt install nvidia-driver-550=VERSION -y
Prevention & Hardening
Pin tested driver branches and coordinate kernel/driver update windows.
sudo apt-mark hold nvidia-driver-550
Related Errors & Cross-Refs
Related messages include Failed to load NVIDIA kernel module and GDM start failures.
Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.
View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu NVIDIA driver documentation and DKMS troubleshooting guides.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.