Lifting your Ubuntu laptop lid (or tapping a keyboard key on your desktop) and watching the power light turn solid, fans whirr, and keyboard backlight glow – yet the screen stays completely black without ever showing the lock screen – is one of the most frustrating Linux suspend glitches. When the graphics driver fails to re-initialise your display panel upon resume, you can often wake the screen safely without hard-powering off your machine and losing unsaved files, then fix the underlying Nvidia or kernel sleep bug permanently.
Emergency Recovery: Wake the Screen Without Hard-Shutting Down Your Work
Before holding down the power button and losing open documents, try flipping virtual consoles or triggering a display rescan:
- Wait 5 full seconds after opening the lid, then press Ctrl + Alt + F3 (on laptops requiring Fn keys, press Ctrl + Alt + Fn + F3).
- If a black-and-white text TTY terminal login prompt appears, your laptop is alive and running cleanly! Press Ctrl + Alt + F1 or Ctrl + Alt + F2 straight back to return to your graphical lock screen – frequently switching TTY consoles forces the display driver to light the panel back up immediately.
- If TTY3 stays dark yet your Caps Lock LED still toggles on/off when tapped, switch to TTY3 blind, log in carefully, and restart the display session gracefully or save work via Terminal rather than cutting power.
Fix 1: Enable NVIDIA PreserveVideoMemoryAllocations and Power Services (Nvidia GPUs)
Proprietary Nvidia drivers on Ubuntu 22.04 and 24.04 frequently crash out of sleep with a black screen because the GPU loses video memory allocation state during suspend unless Nvidia’s systemd resume services are enabled.
- Open Terminal (Ctrl + Alt + T) and check whether you use an Nvidia driver:
nvidia-smi - If Nvidia is active, verify all three Nvidia sleep/resume systemd services are enabled:
sudo systemctl enable nvidia-suspend.service sudo systemctl enable nvidia-hibernate.service sudo systemctl enable nvidia-resume.service - Add the video-memory preservation flag so VRAM contents survive suspend safely:
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1" | sudo tee /etc/modprobe.d/nvidia-power-management.conf sudo update-initramfs -u - Reboot Ubuntu once and test suspending from the top-right power menu.
Fix 2: Switch Between s2idle and Deep (S3) Sleep if Intel/AMD Laptops Freeze Black
On Intel and AMD ultrabooks, a mismatch between Linux’s default s2idle Modern Standby and hardware firmware frequently prevents panels from lighting up on resume. Test checking cat /sys/power/mem_sleep and switching to mem_sleep_default=deep in GRUB (see our complete step-by-step walkthrough on configuring s2idle vs deep sleep cleanly in Ubuntu) – or if your laptop lacks deep S3 mode altogether, check whether a BIOS firmware update exists via fwupdmgr update.
Fix 3: Test Xorg vs Wayland Session if Only Lock Screen Rendering Fails
If your screen wakes up briefly, shows a black screen with a movable mouse cursor, or hangs specifically on dual-monitor setups upon resume:
- Log out, click your username on the Ubuntu login screen, click the gear icon in the bottom-right corner, and test switching between Ubuntu on Xorg and Ubuntu (Wayland).
- If an external HDMI monitor stayed plugged in during sleep, unplugging the HDMI cable for three seconds after waking often restores your laptop screen immediately while display compositors reset.