Problem Description:
After exiting Steam, the desktop will no longer blank, or the display screen never goes into “sleep” mode. If I’m using X11 SOMETIMES restarting the Gnome shell fixes it (but not always). With Wayland I’m forced to reboot.
Relevant System Information:
AMD Radeon Graphics, Open source Mesa drivers. AMD Ryven CPU
This is a known and recurring issue with Steam on GNOME, especially when using Wayland.
What’s happening
Steam uses inhibit requests (via systemd / GNOME session) to prevent the screen from blanking or sleeping while games are running.
In some cases, Steam does not properly release this inhibition when it exits, so GNOME continues to think an application is still blocking the screen saver.
This explains why:
The screen never blanks or sleeps after closing Steam
Restarting GNOME Shell on X11 sometimes helps
On Wayland, a full reboot is often required
Things you can try
1. Check if Steam is still inhibiting sleep
After closing Steam, run:
systemd-inhibit --list
If you still see Steam listed, that confirms the issue.
2. Fully kill Steam (workaround)
Instead of just closing the window:
pkill -f steam
This usually releases the inhibition correctly.
3. Disable Steam’s background mode
In Steam settings:
Settings → Interface
Disable “Run Steam when my computer starts”
Make sure Steam is not minimized when you “close” it
Then log out and back in.
4. X11-only workaround (temporary)
On X11, restarting GNOME Shell may help:
Alt + F2 → r → Enter
(as you already noticed, this is unreliable)
5. Wayland note
On Wayland, GNOME cannot restart the shell, so once the inhibition is stuck, logout or reboot is the only fix.
Long-term notes
This appears to be a Steam client bug, not a GNOME or driver issue
AMD + Mesa is not the cause here
The problem has existed intermittently across multiple Ubuntu and GNOME releases
If you want to report it upstream, it’s best filed against Steam for Linux, mentioning:
GNOME + Wayland
Screen sleep inhibition not released after exit
For now, killing Steam completely or logging out is the most reliable workaround.
If Steam does not appear in systemd-inhibit, but GNOME Shell and gsd-* still do, the issue is likely a stale media or input session rather than a direct Steam inhibition.
This ONLY happens after running Steam, though. The monitor will always power down after inactivity UNTIL I run Steam. After that, the image will clear and darken, but the monitor never powers down until I logout and back in. BTW, this was never an issue with 22.04LTS. This only started happening with 24.04LTS.