If you use Ubuntu 22.04 and experience a black screen after your computer wakes from suspend, you’re not alone. This frustrating issue can stem from graphics drivers, power management settings, or system bugs. This list covers 10 practical fixes to help you restore proper resume functionality and get your display back after suspend. Whether you’re a casual user, developer, or system administrator, these solutions are tailored to common causes and proven workarounds for Ubuntu 22.04.
1. Update Your Graphics Drivers
Outdated or incompatible graphics drivers are a leading cause of black screens after suspend. For Ubuntu 22.04, ensure you have the latest proprietary drivers installed, especially for NVIDIA GPUs. Use the “Additional Drivers” tool in Settings to switch from the open-source Nouveau driver to the recommended proprietary NVIDIA driver, or update AMD/Intel drivers via regular system updates. Keeping drivers current addresses compatibility issues with the kernel and display manager.
2. Disable Wayland and Use Xorg
Ubuntu 22.04 uses Wayland by default on many setups, but Wayland can cause resume issues on certain hardware. Switching to the Xorg display server often resolves black screen problems after suspend. To switch, log out, click the gear icon on the login screen, and select “Ubuntu on Xorg” before logging back in. This change can improve compatibility with legacy drivers and power management.
3. Modify GRUB Kernel Parameters
Kernel boot parameters control low-level hardware behavior. Adding or adjusting parameters like nomodeset, acpi_sleep=nonvs, or pci=noaer can fix suspend/resume issues. Edit /etc/default/grub and add parameters to the GRUB_CMDLINE_LINUX_DEFAULT line, then run sudo update-grub. For example, acpi_sleep=nonvs disables certain ACPI features that cause black screens on resume.
4. Disable Automatic Suspend for the Graphics Card
Some GPUs, especially NVIDIA, have aggressive power management that can lead to a black screen on resume. Disabling runtime power management for your GPU can help. For NVIDIA, create or edit /etc/modprobe.d/nvidia-power-management.conf and add options nvidia NVreg_PreserveVideoMemoryAllocations=1. Then update initramfs with sudo update-initramfs -u. This prevents the driver from unloading video memory during suspend.
5. Restart the Display Manager on Resume
Sometimes the display manager (GDM3 by default) fails to restart properly after suspend. Creating a systemd service that restarts GDM3 on resume can restore the display. Create a file at /lib/systemd/system-sleep/restart-gdm.sh with executable permissions containing commands to restart GDM3. This forces the login screen and graphical session to reload, clearing the black screen.
6. Use a Different Kernel Version
Ubuntu 22.04 comes with the 5.15 kernel, but newer or older kernels may handle suspend differently. Installing the latest mainline kernel (such as 6.x series) can fix hardware compatibility issues causing black screen problems. Use Ubuntu Mainline Kernel Installer tools or manually download kernel packages from kernel.ubuntu.com. Test different kernel versions to see which restores proper resume behavior.
7. Adjust Power Management Settings in TLP or Laptop Mode Tools
If you use power management utilities like TLP or Laptop Mode Tools, their aggressive settings might interfere with suspend/resume. Temporarily disable these tools or adjust their configuration files to be less aggressive with USB autosuspend and PCIe ASPM settings. Sometimes disabling USB autosuspend fixes black screens caused by USB device conflicts on resume.
8. Check and Update BIOS/UEFI Firmware
An outdated BIOS or UEFI firmware can cause ACPI and suspend issues. Check your motherboard or laptop manufacturer’s website for firmware updates that address Linux compatibility or power management bugs. Updating firmware often resolves low-level hardware resume problems, including black screens after suspend.
9. Disable Secure Boot
Secure Boot can interfere with proprietary drivers and kernel modules loading correctly on resume. If you have Secure Boot enabled, try disabling it in your BIOS/UEFI settings. This allows unsigned kernel modules like NVIDIA drivers to load properly, which can fix black screen issues after suspend.
10. Clear the Swap Partition or File
Ubuntu uses swap during suspend to store session memory. A corrupted or misconfigured swap partition or file can cause resume failures resulting in a black screen. Verify your swap is correctly enabled with swapon --show, and consider recreating the swap partition or file if issues persist. Proper swap configuration is essential for hibernation and suspend to work flawlessly.
How to Choose
When selecting which fix to try first, prioritize based on your hardware and setup. Start with updating graphics drivers and switching between Wayland and Xorg, as these are the most common causes. If you use proprietary NVIDIA drivers, focus on power management tweaks and kernel parameters. Firmware updates and kernel changes are more advanced but often necessary for newer hardware. Avoid disabling Secure Boot unless you understand the security implications. Testing fixes one at a time helps isolate the cause and avoid unnecessary changes.
Frequently Asked Questions
Q: Why does Ubuntu 22.04 show a black screen after suspend?
It’s usually due to graphics driver incompatibilities, power management conflicts, or kernel/firmware bugs affecting resume.
Q: How can I tell if it’s a driver problem?
Check if switching from Wayland to Xorg or updating your GPU drivers fixes the issue. Nouveau drivers often struggle with suspend on NVIDIA cards.
Q: Will upgrading the kernel fix my black screen?
Sometimes. Newer kernels include updated drivers and improved hardware support that can resolve suspend/resume bugs.
Q: Is disabling Secure Boot safe?
Disabling Secure Boot reduces system security by allowing unsigned kernel modules, but it’s necessary for some proprietary drivers to work properly.
Q: Can this issue happen on all Ubuntu flavors?
Yes, but it’s most common on Ubuntu with GNOME and NVIDIA hardware. Other flavors may have different display managers or kernels that affect suspend behavior.
Q: Does this black screen mean my system is bricked?
No, the system is usually responsive via SSH or keyboard shortcuts; the display just fails to wake properly.
Final Thoughts
Black screen after suspend on Ubuntu 22.04 is a common but solvable problem. By methodically updating drivers, adjusting display servers, tweaking kernel parameters, and managing power settings, most users can restore a fully functional resume process. Hardware and firmware updates also play a crucial role in long-term stability. Start with the simplest fixes and work your way through the list to find the best solution for your system.
Following these steps will help you regain confidence in Ubuntu’s suspend feature and avoid the frustration of a black screen on wake.
Related
- Lap Grinders for Small Stones and Jewelry Making You’ll Want
- Fix Common Problems with Flat Lap Grinders: 10 Essential Tips
- Flat Lap Grinders for Kids Starting Lapidary: Top 7 Picks & Tips