Any tricks/tweaks I can apply to make sleep/resume more reliable on PC?

I use Bazzite like a games console, so being able to put the system to sleep with the game running and then resuming that game when I wake the PC up is a nice thing to have. For the most part it works fine but sometimes either I have to wake the system up multiple times before it stays awake or my controller doesn’t work, resulting in me having to plug the USB dongle back in to fix it (sometimes even this doesn’t work, and I have to reboot the PC to fix that). I know sleep/resume with Bazzite can be hit or miss on PC but considering I’m mostly there, I’m just wondering if there’s anything I can try to make it more reliable?

Specs: 7900 XTX, 9800X3D, ROG Strix B650E-F Mobo

The issue here is with the Wine/Proton compatibility layer in linux more generally, not bazzite specifically. When you put your computer to sleep with the same ‘session’ all that information needs to suspend to RAM and GPU. Currently Wine/Proton do not fully support sleep/resume when running games. Perhaps in the future they might but this is a bit complicated to say the least.

You can have the screen turn off and dim more quickly from KDE power settings, these work fine during games. You may want to try setting KDE power profile to power savings as well for long periods at idle.

I personally set sleep for 1-2 hours to avoid occurrence during gameplay with amd system because I had bad experiences with this problem too. You may also choose to manually block screen locking and sleep with a toggle from the power management section.

The issue here is with the Wine/Proton compatibility layer in linux more generally, not bazzite specifically. When you put your computer to sleep with the same ‘session’ all that information needs to suspend to RAM and GPU. Currently Wine/Proton do not fully support sleep/resume when running games. Perhaps in the future they might but this is a bit complicated to say the least.

But how does the Steam Deck’s sleep mode work so well? Did Valve do something unique with the Deck that Bazzite can’t take advantage of?

“You can have the screen turn off and dim more quickly from KDE power settings, these work fine during games. You may want to try setting KDE power profile to power savings as well for long periods at idle.”

Does this also affect game mode? As I use Bazzite like a console, I primarily use game mode.

Are you using the Home Theater PC image? You’ll have to forgive me, I use bazzite with the desktop image, so the settings available may differ, I do not use game mode.

I see your point about steam deck, that by default runs Steam OS which is a customized Arch-based image on proprietary hardware. I have also not tried the bazzite image for steamdeck, so I can’t comment on that.

You may wish to discuss this topic further on discord, as you will likely find better answers and faster too.

Here is my 2 cents:

Steam software has some proprietary components so there may be some optimizations/updates that land over that are not available on fedora at this time or perhaps ever.

Let’s also keep in mind that Steam OS is still under development: only four months ago some additional sleep functionality was added as a beta feature.

Sorry to say I guess that we all just have to be patient as things develop further in the linux world. Lots of work is ongoing. In the mean time we can donate to various open source projects to keep folks motivated.