steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Steam client inhibits the screensaver and sleep

Open nmiell opened this issue 8 years ago • 16 comments

Your system information

  • Steam client version (build number or date): Jun 14 2018, at 19:23:37
  • Steam package versions: 1529009056
  • Distribution (e.g. Ubuntu): Fedora 28
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

The screensaver does not start while the Steam client is running.

When the Steam client is started, a GNOME session idle inhibitor is created with an app ID of "My SDL application". This inhibitor vanishes immediately when I quit the Steam client.

Looking at the SDL source, any use of SDL Video automatically blocks the screensaver and you have to explicitly allow the screensaver by calling SDL_EnableScreensaver().

Steps for reproducing this issue:

  1. Run the Steam client
  2. Wait for the screensaver timeout

nmiell avatar Jun 16 '18 17:06 nmiell

I have the same problem running KDE (Plasma Desktop 5) on Gentoo Linux. Power management is suppressed and plasma shows: "My SDL application is currently suppressing power management: Playing a game". This keeps the desktop from locking and my displays do not go into power saving mode. Power management resumes when I quit Steam.

HyperEye avatar Jun 17 '18 03:06 HyperEye

Can confirm here with Deepin. Even more problematic is that, atleast for me, even after closing Steam monitor turning off still doesnt work. Very nasty problem.

random2324 avatar Jun 22 '18 13:06 random2324

Running Xubuntu 18.04 with XFCE. Since the new beta I can confirm that my desktop has not been sleeping as it did prior. I thought something was strange.

nightsky30 avatar Jun 24 '18 03:06 nightsky30

Running Linux Mint 19 and can confirm the same issue. Reverting back to the stable version of steam makes the desktop sleep again.

ghost avatar Jun 27 '18 17:06 ghost

same issue on opensuse tumbleweed with gnome 3.28.2 and steam beta, just tested it with the non beta client and its working

Culted avatar Jul 06 '18 00:07 Culted

This issue is not observed anymore with steam client version 1531272277 and Fedora 29 (Rawhide).

NTMan avatar Jul 11 '18 04:07 NTMan

Can confirm, thanks for the fix.

nmiell avatar Jul 11 '18 04:07 nmiell

I am observing this behaviour with the latest steam client version.

safield avatar Nov 30 '19 19:11 safield

I am also observing the same behavior in the latest Steam client beta version as of Dec 20, 2019

cypher0n3 avatar Dec 28 '19 15:12 cypher0n3

I'm seeing this on Manjaro. The Steam client claims to be up to date. The problem disappears when I close the client window, but Steam is still running. Following the suggestion from https://unix.stackexchange.com/questions/309696/how-do-i-find-out-which-application-is-disabling-sleep, while the window is open I get:

$ dbus-send --print-reply --dest=org.freedesktop.PowerManagement /org/freedesktop/PowerManagement/Inhibit org.freedesktop.PowerManagement.Inhibit.GetInhibitors
method return time=1592967428.638786 sender=:1.32 -> destination=:1.151 serial=88 reply_serial=2
   array [
      string "./steamwebhelper"
      string "./steamwebhelper"
   ]

dabercro avatar Jun 24 '20 03:06 dabercro

@nmiell please reopen. xset dpms force off turns the screen off, then flashes back on when steam is open, even if only running in the notification area. The only mitigation I found is to exit steam.

winny- avatar Jun 25 '20 01:06 winny-

Hello @winny-, this issue is currently being tracked at #5607. Prodding the closed issue report isn't beneficial.

kisak-valve avatar Jun 25 '20 01:06 kisak-valve

@kisak-valve thank you for the explicit "Closed as duplicate notification". It's clear multiple posters did not realize this is a duplicate.

winny- avatar Jun 25 '20 13:06 winny-

In this case it's not a duplicate. There was a month between this issue being resolved and that similar issue showing up.

kisak-valve avatar Jun 25 '20 14:06 kisak-valve

I just noticed the same issue. Very annoying.

Also the window title is incorrect, it's not really "My SDL application".

Avamander avatar Jul 01 '20 13:07 Avamander

Same Issue here, it looks like that's still not fixed. I'm using Manjaro 20.0.3 "Lysia" with the KDE-Desktop. I'm not using the Steam-Beta and my build date is 31th July 2020 at 09:12:33 image

nikurasutan avatar Aug 04 '20 14:08 nikurasutan