protonscr

Steam no longer inhibits screensaver when using gamepad

steamclosed General controller / Steam Input
ValveSoftware/steam-for-linux#11694 · opened 2025-01-24 by LiquidLemming · updated 2025-03-08 · 26 comments · github
LLiquidLemming 2025-01-24 github

Your system information

  • Steam client version (build number or date): 1737514353
  • Distribution (e.g. Ubuntu): Fedora Silverblue 41
  • Opted into Steam client beta?: Tried both stable and beta
  • Have you checked for system updates?: Yes
  • GPU: AMD RX 6600 XT

Please describe your issue in as much detail as possible:

Posted this in the Flatpak forum as well, since I'm not sure if this is a native issue or a flatpak one.

Steam Flatpak is no longer inhibiting the screensaver when using a gamepad. I'm using an Xbox Wireless Controller connected through Bluetooth. Previously, this was no issue, but the current version of Steam is not inhibiting the screensaver.

I also tested connecting my controller via the 8BitDo Wireless USB Adapter and had the same issue.

As a final test, I shut down Steam and played Super Tux Kart via flatpak. Screensaver was inhibited the entire 30 minute session. So the issue must be Steam related.

One last test, I tried playing Steam flatpak games with different Xbox Wireless Controllers via Bluetooth on three different systems (still Fedora Silverblue 41). Same issue.

Qq-tan0x 2025-01-24 github

Please remove the tag "general controller"; it's a red herring. Notice e.g. when you're seeing a cutscene, the input device is irrelevat.

Thanks beforehand.

33ronco 2025-01-24 github

Yes same for me with XBox controller via Bluetooth connection.
Steam V1737514353 on Debian 12

Nnicolas-yangli 2025-01-24 github

Same in archlinux with Nintendo Switch Pro controller connected with USB.

Steam client version: 1737514353

AAnnonith 2025-01-24 github

Can confirm, same issue
Archlinux, using DualSense connected via USB
Steam version: 1737514353

Qq-tan0x 2025-01-25 github

I suspect this is the cause. In the Steam Client Update notice on Jan 20, the section Linux has the following line:

Fixed a case where Steam could permanently inhibit the screensaver if it crashed while holding the screensaver lock.

Sscott-dft 2025-01-25 github

Same, with their very own Steam Controller ...
Mint 22, steam_client_ubuntu12 version 1737514353

Also noticed when running through CLI now get a spamming of:
CAbsoluteMouseMode::UpdateHaptics

EEricwanAR 2025-01-26 github

Same here on Debian trixie (testing), with xbox one s controller via usb, client ver 1737514353

LLaancute 2025-01-26 github

Same here with a DualSense controller (USB connected) on OpenSUSE, real Steam no flatpak.
I tried changing to the beta version of the client : didn't changed anything.

I'm pretty sure I have this issue since the last update 21 january 2025.

Qq-tan0x 2025-01-29 github

@TTimo: I wonder if you could relpace the tag "General cotroller / Steam input" with something appropriate? Thanks beforehand.

TTTimo 2025-01-29 github

Based on all the user comments, the tag does seem appropriate? Controller input in steam flatpak used to prevent the screensaver from activating, and now it doesn't. It seems like sitting idle at a game (menu, cutscene) also no longer prevents the screensaver from activating.

The comments also suggest this is not specific to steam flatpak.

Llostgoat 2025-01-29 github

Can someone experiencing the issue please post your steam logs (this is normally part of the issue template):

tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs

Also, can you try running the following command in a terminal on your system and paste the output:

gdbus call --session --dest org.freedesktop.ScreenSaver --object-path /ScreenSaver --method org.freedesktop.ScreenSaver.SimulateUserActivity

Note, you might need to install gdbus and also make sure that you run it from a terminal session that has dbus access. E.g. an ssh session might not work without some extra setup.

Llostgoat 2025-01-29 github

I'm currently unable to repro either in regular steam or in flatpak steam. I also verified that org.freedesktop.ScreenSaver is available from the sandbox environment manually:

[andres@andres-dev ~]$ flatpak run --command=sh --devel com.valvesoftware.Steam
[📦 com.valvesoftware.Steam ~]$ gdbus call --session --dest org.freedesktop.ScreenSaver --object-path /ScreenSaver --method org.freedesktop.ScreenSaver.SimulateUserActivity
()

This leads me to believe that the issue might be that org.freedesktop.ScreenSaver might not be available in the systems where it repros. The logs and the command from the previous comment would be useful to determine if that is actually the case.

LLiquidLemming 2025-01-29 github
  1. My logs: logs.zip

  2. Terminal output:

[📦 com.valvesoftware.Steam ~]$ gdbus call --session --dest org.freedesktop.ScreenSaver --object-path /ScreenSaver --method org.freedesktop.ScreenSaver.SimulateUserActivity
Error: GDBus.Error:org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/

Perhaps a freedesktop issue?

FWIW, I haven't touched Flatseal beyond adding permission to read from my Documents directory. My Session Bus section for Steam looks like this:

Image

Jjomarocas 2025-01-29 github

for me happen with palworld, no in other games, i use series x elite

LLiquidLemming 2025-01-30 github

Off work, and had a chance to read some of the documentation at https://specifications.freedesktop.org/idle-inhibit-spec/latest/.

I thought I'd naively try the Inhibit() method. So I called org.freedesktop.ScreenSaver.Inhibit with the strings "com.valvesoftware.Steam" and "just testing"as inputs and got this:

[📦 com.valvesoftware.Steam ~]$ gdbus call --session --dest org.freedesktop.ScreenSaver --object-path /ScreenSaver --method org.freedesktop.ScreenSaver.Inhibit "com.valvesoftware.Steam" "just testing"
(uint32 1560349379,)

I understand from the docs that it returns a uint32 "cookie" that is supposed to be passed to the UnInhibit() method later.

In any case, it doesn't appear to do anything, since Steam is still not inhibiting the screensaver while playing with a gamepad.

Llostgoat 2025-01-30 github

@benkei-kuruma can you also run the gdbus command outside of a flatpak container

LLiquidLemming 2025-01-30 github

@benkei-kuruma can you also run the gdbus command outside of a flatpak container

aaron@aaron-fedora-desktop:~$ gdbus
Usage:
  gdbus COMMAND

Commands:
  help         Shows this information
  introspect   Introspect a remote object
  monitor      Monitor a remote object
  call         Invoke a method on a remote object
  emit         Emit a signal
  wait         Wait for a bus name to appear

Use “gdbus COMMAND --help” to get help on each command.
Llostgoat 2025-01-30 github

@benkei-kuruma Sorry, I meant the full thing:

gdbus call --session --dest org.freedesktop.ScreenSaver --object-path /ScreenSaver --method org.freedesktop.ScreenSaver.SimulateUserActivity
LLiquidLemming 2025-01-30 github
aaron@aaron-fedora-desktop:~$ gdbus call --session --dest org.freedesktop.ScreenSaver --object-path /ScreenSaver --method org.freedesktop.ScreenSaver.SimulateUserActivity
Error: GDBus.Error:org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/

Llostgoat 2025-01-30 github

Thanks, it looks like gnome doesn't support this feature. So we'll need to use the old method in that case.

33ronco 2025-01-30 github

The error message @benkei-kuruma got at least gives a descriptive reason. Under Debain 12+Gnome 43.9 i just get a Error: GDBus.Error:org.freedesktop.DBus.Error.NotSupported: This method is not implemented

Sscott-dft 2025-02-06 github

Yep, same as @3ronco, Mint 22 with Cinnamon 6.2.9 returns the

gdbus call --session --dest org.freedesktop.ScreenSaver --object-path /ScreenSaver --method org.freedesktop.ScreenSaver.SimulateUserActivity
Error: GDBus.Error:org.freedesktop.DBus.Error.NotSupported: This method is not implemented
Llostgoat 2025-02-06 github

The newest beta client has a fix for this. If you still run into the issue, please attach your logs with your reply:

tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs
LLiquidLemming 2025-02-07 github

Here to report that that I no longer experience this issue in the current beta client. I just tested several games in my library for about a half hour to be sure, and the screensaver was inhibited throughout.

Thank you @lostgoat for addressing this issue so quickly!

Kkisak-valve maintainer 2025-03-08 github

Closing per the last couple comments.