https://bugs.kde.org/show_bug.cgi?id=498245
Bug ID: 498245
Summary: Plasma will suspend as "idle" even if a game is
running
Classification: Plasma
Product: plasmashell
Version: 6.2.4
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Power management & brightness
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
SUMMARY
>From my understanding locking from suspend happens by an app sending a signal
to do so. Steam and YouTube Music (modded) do that, but let's be realistic,
there isn't a world where all apps will do that. Currently even games running
through Proton is Steam will be just ignored and the system will be suspended,
same for Minecraft. That is not a big deal for single player games, but if
you're hosting a server or joined to one, suspend will cause the connection to
go down and all clients or you will be disconnected from the server.
I know it won't happen if I am actively playing the game, but I prefer my
system to suspend after 30 minutes of idle time. Sometimes I have to AFK for
some time, if I host a server in Vintage Story or Minecraft, I have to leave my
game running for friends, but it’s not impossible I'm going to be AFK for 30
minutes, and in case I will, the system will just suspend taking down the game
with the server, and that is pretty inconvenient. Manually locking the system
from suspending is a way to work around this, but I think a regular user would
expect their system to not suspend with a game running.
Possible solutions:
- Don't suspend if GPU is heavily used
- Don't suspend if on a laptop dGPU is used (since on desktop only iGPU is
used)
- Don't suspend if any sound is playing on system as suggested by other bug
report
- Don't suspend if OpenGL or Vulkan rendering is used
STEPS TO REPRODUCE
1. Send "Idle" behavior to suspend after 1 minute
2. Launch Minecraft or any Steam game (I tested with Balatro)
3. Wait until it suspends
OBSERVED RESULT
It suspends after 1 minute
EXPECTED RESULT
System should keep running
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.