Fixing Black Screen on Resume After Lid Close: Ubuntu GNOME, Ryzen 5, RTX 3050
In the Ubuntu of Linux troubleshooting, one of the most persistent issues in 2026 is the "Black Screen of Death" upon waking a laptop. This specifically affects hybrid graphics setups featuring an AMD Ryzen 5 (Integrated Graphics) and an NVIDIA RTX 3050 (Dedicated Graphics). If your GNOME session fails to resume after closing the lid, follow this guide to restore stability.
1. The Root Cause: NVIDIA Power Management
The primary culprit is often the interaction between the Linux kernel's suspend states and the NVIDIA proprietary driver. When the lid closes, the RTX 3050 may fail to preserve its video memory state, leading to a hang during the wake-up transition.
2. Solution 1: Enable NVIDIA Systemd Services
Modern NVIDIA drivers (525+ and 2026 versions) require specific systemd services to be active to handle the suspend/resume cycle correctly. Run these commands in your terminal:
sudo systemctl enable nvidia-suspend.servicesudo systemctl enable nvidia-hibernate.servicesudo systemctl enable nvidia-resume.service
Restart your machine after enabling these to ensure the driver handles VRAM preservation during the lid-close event.
3. Solution 2: Modify Grub Kernel Parameters
Sometimes the ACPI (Advanced Configuration and Power Interface) needs a nudge to recognize the hardware's wake signal. This is a common fix discussed in the Ubuntu Categories community.
- Open your grub configuration:
sudo nano /etc/default/grub - Find the line starting with
GRUB_CMDLINE_LINUX_DEFAULT. - Add the following parameters:
nvidia.NVreg_PreserveVideoMemoryAllocations=1 mem_sleep_default=deep - Save and exit (Ctrl+O, Enter, Ctrl+X).
- Update grub:
sudo update-grub
4. Solution 3: Handle Hybrid Graphics (Switcheroo)
Since the Ryzen 5 has integrated Radeon graphics, GNOME might struggle with which GPU should "own" the resume process. Ensure you are using the latest "Production Branch" driver through the Additional Drivers utility.
| Component | Recommended Setting | Purpose |
|---|---|---|
| NVIDIA Driver | Proprietary (Latest) | Better VRAM management than Nouveau. |
| GNOME Version | 45+ (Wayland or X11) | Wayland has improved GPU hotplugging in 2026. |
| Prime Select | On-Demand | Reduces heat and improves resume reliability. |
5. The "Lid Close" Detection Fix
If the hardware remains black but the keyboard lights up, the issue might be logind. Edit /etc/systemd/logind.conf and ensure the following line is set:
HandleLidSwitch=suspend
Then, restart the service: sudo systemctl restart systemd-logind
Conclusion
A black screen on resume for a Ryzen 5 / RTX 3050 laptop is rarely a hardware failure; it is usually a driver hand-off issue. By enabling NVIDIA's suspend services and adjusting Grub parameters, most users can resolve this without switching to a different desktop environment. In 2026, the Ubuntu Categories help threads suggest that these three steps resolve 90% of suspend-related bugs on GNOME. Keep your kernel updated to ensure the best compatibility with your Ryzen APU.
Keywords
Ubuntu GNOME black screen resume 2026, Ryzen 5 NVIDIA RTX 3050 suspend fix, laptop won't wake up Ubuntu lid close, NVIDIA PreserveVideoMemoryAllocations=1, Linux kernel suspend resume RTX 3050, Ubuntu 24.04 black screen after lid close, GNOME suspend issues 2026, RTX 3050 Ubuntu driver power management.
