ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.64k stars 1.03k forks source link

Screensaver is not inhibited when using steam controller #287

Open seijikun opened 5 years ago

seijikun commented 5 years ago

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.

andyklimczak commented 5 years ago

which screensaver are you using, xscreensaver?

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

seijikun commented 5 years ago

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.

ghost commented 5 years ago

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

howdev commented 5 years ago

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.

Uradamus commented 5 years ago

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.

mlassnig commented 5 years ago

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

nstetter commented 5 years ago

Can confirm. KDE Plasma 5.13.5, Xbox360 Controller, Borderlands

TooManyErrors commented 5 years ago

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.

ziabice commented 5 years ago

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

Bleuzen commented 5 years ago

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

Ahmed-E-86 commented 5 years ago

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%

AwesamLinux commented 5 years ago

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

zebulon2 commented 5 years ago

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

howdev commented 4 years ago

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

soredake commented 3 years ago

Any progress on this?

howdev commented 3 years ago

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

rhysperry111 commented 2 years ago

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

DonKatsu commented 1 year ago

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.

walmartshopper commented 1 year ago

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.

DonKatsu commented 1 month ago

Still an issue on Plasma 6.1.2 Wayland. The Power Management applet still shows Steam as blocking, yet the lock screen still triggers. I have found that Lutris also fails to block locking/sleep with its "Disable screen saver" option despite the launched game showing in Power Management as blocking. Same implementation? mpv and Youtube via Firefox successfully block locking/sleep. Toggling manual blocking works as well, of course.