this post was submitted on 16 Oct 2023
177 points (97.8% liked)

Games

32418 readers
1001 users here now

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here.

founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/6862577

This doesn't do anything particularly revolutionary, but it does give you a nice GUI with the ability to assign hotkeys to suspend/resume.

Useful if you want console-like game suspend to quick-switch between games, or if you're just trying to save on the electricity bill.

EDIT to add: suspended apps stay in RAM/VRAM, so be aware of your specs/game requirements if you're trying to achieve console-like "game switching". Also, could be incredibly useful for mobile gamers to save on battery/cool down the device a bit while not playing for a minute or two.

top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 year ago (3 children)

I recently found out that a game I played froze when my pc went into auto suspend. Does this help with it too? Thanks for making this.

[–] [email protected] 9 points 1 year ago (1 children)

I maybe wasn't clear, I didn't make this, I just found it and figured folks here could benefit from knowing about it!

But no clue if it'll help with that, worth a shot tho.

[–] [email protected] 4 points 1 year ago

Thanks for clearing that up. Thanks for sharing then. Maybe someone else knows this.

[–] [email protected] 9 points 1 year ago (1 children)

According to the FAQ it doesn't help for your case. But they suggest another too. Maybe give that a look.

[–] [email protected] 2 points 1 year ago

Thanks! Will do!

[–] [email protected] 3 points 1 year ago (1 children)

No, it won't help. It just suspends a task and going into sleep then won't help. Maybe disable suspend and change to hibernation. This would work. You most likely would need to enable it first:

Powercfg /h on

On a commandline.

You can try out easily with e. G. Procexp from sysinternals (a great Taskmanager-replacement too!). You can just suspend your game and try it.

[–] [email protected] 3 points 1 year ago

Thanks for the tipp! Currently, I have a bit of a problem with hibernation. My proprietary gpu driver sends me to blackscreen and forces me to hard reboot. So that I might need to fix first. :)

[–] [email protected] 6 points 1 year ago (1 children)

I'd love that integrated into Steam Deck.

[–] [email protected] 11 points 1 year ago (1 children)

Not the same as native integration, but there is a decky plugin that does this:
https://github.com/popsUlfr/SDH-PauseGames

[–] [email protected] 3 points 1 year ago

Thanks, will check it out!

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Thank you for edit OP. I was wondering if this would be a good solution to trying to play 3 mins of Dark Souls while waiting for my rocket league teammates to join up. If I run two games at once my PC usually freaks the fuck out.

(still a cool app, thanks for the link)

Also I just noticed this is a crosspost, oops.

[–] [email protected] 2 points 1 year ago

Is this any different from Windows suspend/resume? The feature built into task manager seems to free up RAM on the system.

[–] [email protected] 2 points 1 year ago (1 children)

I made a similar thing a couple of years ago, but there is no UI or configurability: https://github.com/wvdschel/pause_process

[–] [email protected] 2 points 1 year ago (1 children)

Nice! If I wasn't using the custom hotkey I'd jump to this for sake of keeping things lightweight. Thanks for sharing.

[–] [email protected] 2 points 1 year ago (1 children)

It has a global hotkey, but it's hardcoded to the pause button (Fn+P on most keyboards that lack a pause button).

[–] [email protected] 1 points 1 year ago (1 children)

Yeah, I just use pause for music, and I have a macropad with f13-18 so I just set one to trigger suspend.

[–] [email protected] 1 points 1 year ago

Makes sense.

[–] [email protected] 2 points 1 year ago

At some point I thought about CRIU