Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Screensaver is not inhibited when using steam controller

Open seijikun opened this issue 7 years ago • 17 comments
trafficstars

I've been playing the game Remember Me (228300) using Proton the last two days, and I have had the problem, that the screensaver is not inhibited as long as I am only using the steam controller.

Linux: openSUSE Tumbleweed - 4.18.0-1-default. DE: KDE with two monitors (2560x1440) CPU: i7-4770S GPU: R9 290 using amdgpu with Mesa userspace

When using the steam-controller in steam's big picture mode, the displays stay on. Using the steam-controller in native games also does seem to correctly inhibit the screensaver.

seijikun avatar Aug 23 '18 14:08 seijikun

which screensaver are you using, xscreensaver?

I've noticed this with xscreensaver, there might be something on that side you can do too

andyklimczak avatar Aug 23 '18 14:08 andyklimczak

Screensaver was probably not the exactly correct description. I meant KDE turning the screens off after 5 minutes of idle. ("Screen Energy Saving") As far as I know, that and screensaver are inhibited by the same window hint

I meant that idle is not inhibited, similar to this, just proton-only.

seijikun avatar Aug 23 '18 14:08 seijikun

I've disabled sleep mode during proton testing as a temporary workaround.

ghost avatar Sep 05 '18 23:09 ghost

yes I do have the same problem. Proton does not stop screensaver/monitor DPMS. The screensaver is on but is in the background but screensaver should not run. And monitor still turns off while game running, have to move the mouse.

howdev avatar Sep 24 '18 12:09 howdev

I'm getting this as well with a generic 360 controller. I'm on Solus Mate; on the plus side Mate at least has an applet for inhibiting power saver features (Inhibit Applet). I just added that to my panel for now and use it to toggle the power saver off before I start playing a game with a controller.

Uradamus avatar Oct 03 '18 05:10 Uradamus

Also happens to me (i.e., KDE Plasma, xbox360 gamepad, DarkSouls3). Had to resort to this as a workaround: https://github.com/foresto/joystickwake#readme

mlassnig avatar Oct 03 '18 07:10 mlassnig

Can confirm. KDE Plasma 5.13.5, Xbox360 Controller, Borderlands

nstetter avatar Oct 04 '18 12:10 nstetter

Confirming this as well. My computer attempted (and failed) to suspend after playing an hour of Monster Hunter World on my Steam Controller. To me, a non-programmer, it looks like having Proton utilize the D-Bus service org.freedesktop.ScreenSaver would solve the issue.

Running Ubuntu 18.10 with KDE Plasma 5.14.4.

TooManyErrors avatar Dec 28 '18 22:12 TooManyErrors

I'm having the same problem with a Logitech F310 gamepad and KDE 5.15.2 on Manjaro Linux, Proton 4.2-2. The issue happens also under wine-staging 4.5

ziabice avatar Apr 18 '19 19:04 ziabice

Best solution for now seems to be: Use joystickwake. Just install the joystickwake-git AUR package.

Bleuzen avatar Apr 18 '19 19:04 Bleuzen

I use Caffeine extension with Gnome, and Feral GameMode with all desktops to keep screen awake during playing games (Native or Wine games).

To install GameMode: git clone https://github.com/FeralInteractive/gamemode.git cd gamemode ./bootstrap.sh

To use it with native games: gamemoderun ./game

To use it with wine games: gamemoderun wine ./game

To use it with Steam:

Add this to the Steam launch options: gamemoderun %command%

Ahmed-E-86 avatar May 10 '19 03:05 Ahmed-E-86

I can confirm this is a problem as well with a Nintendo Switch Pro controller used over Bluetooth on Linux Mint

Distro: Linux Mint 19.1 Tessa (64 bit) GPU: Vega 56 Driver/LLVM version: Mesa 19.1.0-devel/9.0.0 Kernel version: 5.1.0-050100-lowlatency Proton version: 4.2-3

AwesamLinux avatar May 10 '19 18:05 AwesamLinux

I confirm the issue with Shadow of War and the Steam Controller. Using gamemode from Feral however fixes the issue and nicely tunes performance.

zebulon2 avatar May 22 '19 11:05 zebulon2

Still not fixed for Proton 4.11-6? screensaver or dpms still comes on when the game is running.

howdev avatar Oct 01 '19 01:10 howdev

Any progress on this?

soredake avatar Feb 06 '21 07:02 soredake

the issue is long time ago. I don't have this issue anymore after Proton and steam updates

howdev avatar Feb 07 '21 02:02 howdev

I'm still experiencing this issue when playing NFS: Payback with my DS4 in Steam Input mode.

rhysperry111 avatar Aug 15 '22 09:08 rhysperry111

I've been using gamemode since I started gaming on Linux, which explicitly inhibits monitor sleep. Recently I haven't been using it and have since experienced Screen Energy Saving putting my monitors to sleep while playing with a controller. Happens native or with Proton.

While a game is running the Power Management applet shows "Steam is currently blocking sleep and screen locking (Client Interface)" but it doesn't seem to actually inhibit monitor sleep? Running with gamemode again inhibits monitor sleep, with an entry of its own to the Power Management applet after Steam's.

On Fedora 38 using KDE with Wayland.

DonKatsu avatar Jun 15 '23 01:06 DonKatsu

I have the same issue on Arch / KDE / Wayland. When I'm playing Rocket League with a Wii U Pro controller and Steam Input, the screen keeps turning off in the middle of games and it takes a few seconds for them to turn back on, which is enough to lose the game sometimes.

walmartshopper avatar Jul 15 '23 23:07 walmartshopper