Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam client inhibits the screensaver and sleep #5532

Closed
nmiell opened this issue Jun 16, 2018 · 16 comments
Closed

Steam client inhibits the screensaver and sleep #5532

nmiell opened this issue Jun 16, 2018 · 16 comments
Assignees

Comments

@nmiell
Copy link

nmiell commented Jun 16, 2018

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
@HyperEye
Copy link

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.

@random2324
Copy link

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.

@nightsky30
Copy link

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.

@ghost
Copy link

ghost commented Jun 27, 2018

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

@Culted
Copy link

Culted commented Jul 6, 2018

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

@kisak-valve kisak-valve changed the title Steam client inhibits the screensaver Steam client inhibits the screensaver and sleep Jul 10, 2018
@NTMan
Copy link

NTMan commented Jul 11, 2018

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

@nmiell
Copy link
Author

nmiell commented Jul 11, 2018

Can confirm, thanks for the fix.

@safield
Copy link

safield commented Nov 30, 2019

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

@cypher0n3
Copy link

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

@dabercro
Copy link

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"
   ]

@winny-
Copy link

winny- commented Jun 25, 2020

@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.

@kisak-valve
Copy link
Member

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

@winny-
Copy link

winny- commented Jun 25, 2020

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

@kisak-valve
Copy link
Member

kisak-valve commented Jun 25, 2020

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

@Avamander
Copy link

I just noticed the same issue. Very annoying.

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

@nikurasutan
Copy link

nikurasutan commented Aug 4, 2020

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

@ValveSoftware ValveSoftware locked as resolved and limited conversation to collaborators Aug 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests