Is it really possible to use swap and for what purposes?

For the Steam Deck, there is a PauseGame plugin for stopping the game and continuing from the same place, similar to what is implemented in the Xbox, but this does not work correctly when the system exits sleep mode. Having dug a little into the question, I think that the cause of the problem lies in the use of zram. I found instructions for Fedor and I could not configure btrfs. It describes how to configure the creation of a swap file for hibernation mode with zram sharing without negative consequences for the OS. Is it possible to do this in Bazzit?
Can the creators add the ability to work out of the box with both zram and swap technologies?

bro im pretty sure you put this question on bazzite-buzz instead of another topic, could you try changing it? maybe youll get some help!

This should be completely possible in bazzite as well as any other fedora atomic system, the thing is that changing these defaults make for some instability, maybe they (bazzite team) didnt implement anything like that until now because of that. But its not like you cant write a little justfile snippet and make a PR if you think that is a good change for the OS!

1 Like

Thanks for the tips.

Also, run chattr -i / to create the /swap folder on boot! (make sure to chattr +i / it back)