Is it possible to suspend games on PC like the Steam Deck?

2 years ago by cron to c/linux_gaming

Hello fellow Linux gamers,

Is there a way to pause or suspend games and turn off the PC similar to how the Steam Deck handles it? Or is this functionality exclusive to the Steam Deck?

I'm using Arch btw, but feel free to share solutions for other distros as well.

I came across Nyrna, but it seems to only support X11 and not Wayland, according to the description.

Max_P 52 points 2 years ago

The Steam Deck doesn't fully shut down, it's just regular sleep mode.

path: 0 12542964, hotness: undefined, score: 52, children: 0
ziviz 21 points 2 years ago

I just tried it on Nobara. Just... application launcher (The start menu icon)->sleep. Waited, and then woke the machine back up and when the machine came back up, the game was still running. No idea if all games will play nice with that, but Satisfactory did.

path: 0 12549607, hotness: undefined, score: 21, children: 1
SacralPlexus 5 points 2 years ago

I’m confused - doesn’t everyone just leave Satisfactory running to increase production??

/joke

path: 0 12549607 12577673, hotness: undefined, score: 5, children: 0
PeachMan 10 points 2 years ago path: 0 12542949, hotness: undefined, score: 10, children: 2
flashgnash 6 points 2 years ago

Shame it doesn't support wayland

path: 0 12542949 12543899, hotness: undefined, score: 6, children: 0
ouch 1 point 2 years ago

How does it work?

path: 0 12542949 12544212, hotness: undefined, score: 1, children: 0
flashgnash 6 points 2 years ago

Systemctl hibernate/suspend not work?

path: 0 12543702, hotness: undefined, score: 6, children: 0
scrubbles 4 points 2 years ago

I don't know exactly how they do it - but I believe it's related to gamescope. I'm pretty sure it just dumps the ram and enters sleep mode.

path: 0 12543878, hotness: undefined, score: 4, children: 0
MonkderVierte 4 points 2 years ago

Weren't there a kill command to pause any app and another to wake it up?

path: 0 12554922, hotness: undefined, score: 4, children: 0
vinzenz 3 points 2 years ago

I guess the solution is configuring your power button to enter sleep? That works for Wayland as well. Just don't long-press it to open the power menu...

path: 0 12544772, hotness: undefined, score: 3, children: 0
bjoern_tantau 3 points 2 years ago

Never had problems with that on laptops, except when I enabled nVidia graphics. So stay away from that.

It's been a long while since I've tried it on a desktop, never felt the need. I don't even remember if I was on Linux or Windows last time I tried it on a desktop.

So, I guess in general it should work. It's just a simple suspend to RAM. Should be supported by every distribution out of the box.

path: 0 12545061, hotness: undefined, score: 3, children: 1
cron 3 points 2 years ago

Thanks for the hint on nVidia. That might explain my issue

path: 0 12545061 12550944, hotness: undefined, score: 3, children: 0
Strayce 1 point 2 years ago

I'm running Bazzite on LeGo and it does this. No idea what until or settings it uses to achieve it tho.

path: 0 12545566, hotness: undefined, score: 1, children: 0
linux_gaming
linux_gaming

@lemmy.ml

login for more options
23884
1214
199

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

go to feed...