Ubuntu 24.04 Black Screen After Wake From Sleep [Solved]

Issue Ubuntu 24.04 Black Screen after Wake from Sleep
Common Causes NVIDIA driver conflicts, Wayland bugs, GNOME extensions, or Kernel power management.
Quick Fixes Update drivers, disable Wayland, or modify GRUB boot parameters.

Troubleshooting Ubuntu 24.04 black screen after wake from sleep on a laptop.

What is the Ubuntu 24.04 Black Screen After Wake Issue?

The Ubuntu 24.04 “Black Screen After Wake” issue occurs when a system fails to re-initialize the display output after entering a suspended or sleep state. Instead of seeing the login screen, users are met with a backlit or completely dark screen that ignores keyboard and mouse input.

This problem is frequently observed in the “Noble Numbat” release due to transitions in the graphics stack. It typically stems from a breakdown in communication between the Linux kernel and the GPU drivers during the power-state transition.

Hardware configurations using NVIDIA proprietary drivers or hybrid Intel/NVIDIA graphics are the most susceptible. In some cases, the system is actually running in the background, but the display server fails to “wake up” the monitor.

Step-by-Step Solutions

1. Update Graphics Drivers

Outdated or open-source (Nouveau) drivers often struggle with power management. Switching to the latest proprietary NVIDIA drivers can resolve the issue.

sudo ubuntu-drivers devices
sudo ubuntu-drivers autoinstall

After installation, reboot your system to apply the changes.

2. Disable Wayland and Use Xorg

While Ubuntu 24.04 defaults to Wayland, it still has compatibility issues with certain hardware wake-up calls. Switching to X11 often fixes the black screen.

Open the GDM configuration file:

sudo nano /etc/gdm3/custom.conf

Find the line #WaylandEnable=false and uncomment it by removing the #:

WaylandEnable=false

Save (Ctrl+O) and Exit (Ctrl+X), then restart your computer.

3. Modify GRUB Boot Parameters

Certain kernel flags can force the GPU to remain initialized or handle power states differently. This is a common fix for laptop users.

sudo nano /etc/default/grub

Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT. Add nvidia-drm.modeset=1 or nomodeset (as a last resort) inside the quotes:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1"

Update GRUB and restart:

sudo update-grub
sudo reboot

4. Restart the Display Manager (Temporary Fix)

If you are currently stuck at a black screen, you can often regain control without a hard reboot by switching to a TTY terminal.

Press Ctrl + Alt + F3, log in with your username and password, and run:

sudo systemctl restart gdm3

This will restart your graphical session. Note that this will close any unsaved applications.

5. Disable GNOME Extensions

Third-party extensions can interfere with the lock screen shell. Try disabling all extensions to see if the wake behavior improves.

gnome-extensions disable-all

If the black screen stops occurring, re-enable your extensions one by one to identify the culprit.