π ~1 min read
Table of contents
Symptom & Impact
Desktop fails to render and system boots to black screen or login loop.
Environment & Reproduction
Often after kernel updates with out-of-sync proprietary modules.
ubuntu-drivers devices
nvidia-smi
lsmod | grep -E 'nvidia|nouveau'
Root Cause Analysis
Driver package and running kernel modules do not match, or nouveau conflict exists.
Quick Triage
Inspect GPU and display-manager logs.
journalctl -b -p err --no-pager | grep -Ei 'nvidia|nouveau|gdm|sddm'
systemctl status gdm3
modinfo nvidia 2>/dev/null | head
Step-by-Step Diagnosis
Confirm recommended package and DKMS build status.
ubuntu-drivers list
dpkg -l | grep -E 'nvidia|dkms'
sudo dkms status

Solution – Primary Fix
Purge conflicting drivers and install recommended package.
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 -y 'nvidia*'
sudo ubuntu-drivers autoinstall
sudo update-initramfs -u
sudo reboot

Solution – Alternative Approaches
Temporarily boot with nomodeset and install a specific tested branch.
sudo apt install -y nvidia-driver-550
sudo update-initramfs -u
sudo reboot
Verification & Acceptance Criteria
Graphical login appears and nvidia-smi reports devices.
nvidia-smi
glxinfo -B 2>/dev/null | head
systemctl status gdm3
Rollback Plan
Switch to nouveau temporarily if proprietary driver remains unstable.
sudo apt purge -y 'nvidia*'
sudo apt install -y xserver-xorg-video-nouveau
sudo reboot
Prevention & Hardening
Pin validated driver series for production graphics hosts.
apt-cache policy nvidia-driver-550
ubuntu-drivers devices
uname -r
Related Errors & Cross-Refs
May overlap with Secure Boot module-signing issues.
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 and DKMS driver compatibility documentation.
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.