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

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
Illustrative mockup for ubuntu-24-04-lts β€” terminal_or_shell
Diagnostic output for graphics/nvidia-black-screen β€” Illustrative mockup β€” Progressive Robot

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
Illustrative mockup for ubuntu-24-04-lts β€” log_or_console
Resolution output for graphics/nvidia-black-screen β€” Illustrative mockup β€” Progressive Robot

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 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.