Since recently my desktop pc turns off the screens as set per power savings plan despite the pc being in use by games when using a gamepad or obs screen record. I could of course disable the powerplan alltogether but I feel like this problem isnt the intended behavior. Has anyone else encountered this issue?
Most DEs generally measure “activity” based on Keyboard/Mouse input. Gamepads don’t count, so the computer will run power actions even if you have been running the gamepad for awhile.
EDIT: Doing a bit more research, keeping the screen awake is generally something the application itself does. If I understand things right, applications such as Steam, Firefox, and Retroarch should do this as needed. However, not all games are set up for this (especially if you are not running off of Steam).
it worked until a month ago or so so I kinda doubt suddenly every game as well as obs broke this at the same time…
edit: im running them using steam
Are the inhibitors registering?
dbus-send --print-reply --dest=org.freedesktop.PowerManagement /org/freedesktop/PowerManagement/Inhibit org.freedesktop.PowerManagement.Inhibit.GetInhibitors
returns an empty array
method return time=1737578301.427869 sender=:1.33 -> destination=:1.457 serial=225 reply_serial=2
array [
]
now that you mentioned it, I tested it and it seems that firefox on youtube still stops the screen from turning off, maybe something broke in steam and obs at the same time after all
I know that Steam has limited support for non-Ubuntu setups, but you may want to register a bug report in OBS.
It seems to be a regression with XFCE 4.20 series.
sorry for the long delay, I suppose I can enable presentation mode and disable it when I want my screen to fall asleep, but in that case I might as well just disable it alltogether and then turn off my screen/turn on the setting again whenever I leave
thanks for the reply, it would definitely work, but doesnt feel like it really solves the problem, more just circumvent it.
anyways I just disabled my power plan as well as installed xfce-screensaver and disabled that as well (since somehow it turned off again despite the power setting being disabled with the latest update)
my pc doesnt go to sleep anymore but thats better than the screen going black in the middle of a game/ sometimes even youtube video