Affected versions: Ubuntu 24.04 LTS

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

GUI login fails with black screen, interrupting workstation access.

Environment & Reproduction

Occurs after incompatible NVIDIA driver updates.

sudo apt install nvidia-driver-550

Root Cause Analysis

Kernel module and userspace driver mismatch prevents graphics stack initialization.

Quick Triage

Switch to a text console and inspect GPU and display manager logs.

Ctrl+Alt+F3
journalctl -b -p err | grep -Ei 'nvidia|gdm|xorg'

Step-by-Step Diagnosis

Check loaded modules, driver package state, and secure boot status.

lsmod | grep nvidia
ubuntu-drivers devices
mokutil --sb-state
Illustrative mockup for ubuntu-24-04-lts β€” nvidia_black_screen_diag
Black screen after graphical target start β€” Illustrative mockup β€” Progressive Robot

Solution – Primary Fix

Purge broken NVIDIA packages, reinstall recommended driver, and reboot.

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-.*'
sudo ubuntu-drivers autoinstall
sudo reboot
Illustrative mockup for ubuntu-24-04-lts β€” nvidia_black_screen_fix
Driver rollback and reinstall process β€” Illustrative mockup β€” Progressive Robot

Solution – Alternative Approaches

Temporarily force nouveau for access while scheduling proper driver remediation.

sudo apt install xserver-xorg-video-nouveau

Verification & Acceptance Criteria

Graphical login works and nvidia-smi returns expected GPU status.

nvidia-smi
systemctl status gdm3

Rollback Plan

Revert to previously validated driver version using apt package history.

grep ' install ' /var/log/apt/history.log | grep nvidia | tail -n 5

Prevention & Hardening

Pin tested driver versions and coordinate updates with kernel change windows.

Can coincide with Wayland disablement and secure boot module-signing 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 management and desktop troubleshooting references.

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.