How to reduce the amount of times Sober crashes

I put this in community tutorials since this is where the guide on how to play roblox on linux is put.

I’m pretty sure nobody has made a post about this on the rblx devforum before (not with my solution anyway)

*anyway*


After messing about with sober and testing on high graphics games with max graphics I got annoyed at how many times it would crash. I did some digging with chatGPT and this solution worked for me:

1. How to lower the crashing rate significantly

I found that for me, what worked was increasing the amount of memory I gave to the sober sandbox. Don’t worry, sober will still be sandboxed after running the command I will give to you to increase the memory - Sober kept crashing because the default env variables did not give it enough memory to run smoothly.

flatpak override --env=FLATPAK_MAX_MEMORY=2G org.vinegarhq.Sober

or if running a user installation

flatpak override --user --env=FLATPAK_MAX_MEMORY=2G org.vinegarhq.Sober

this gives sober 2 gigabytes of memory which should be more than enough to run relatively high demanding roblox games on full graphics.

afterwards, I modified some FFlags aswell to increase performance.

2. how to modify FFlags in newer versions of Sober:

[https://soberdocs.github.io/docs/Tips.html#4-want-to-edit-fastflags-fflags](https://soberdocs.github.io/docs/Tips.html#4-want-to-edit-fastflags-fflags)

this link is to a github page full of super useful FFlags to increase performance and quality of play (if that's a thing)

[https://github.com/stoofis/Roblox-Fast-Flags/blob/main/README.md](https://github.com/stoofis/Roblox-Fast-Flags/blob/main/README.md)
that's weird why are the hyperlinks broken for me
1 Like

Did you put newlines after the []? They work fine for me:

FFlag Resource

1 Like

@RobloxPlayer_9384
Unfortunately, you are experiencing placebo effect. FLATPAK_MAX_MEMORY does not affect the memory limits; by default, Sober will use all of your memory. In addition, Sober comes with several FFlag tweaks already enabled.

There are many reasons why Sober may crash. It is, after all, experimental software with no Roblox technical support…

If you still need help, let us know on our Discord or GitHub.

P.S. Ironically, there is a way to get Sober to use too much memory, so I can guarantee you that we do not have an arbitrary limit.

3 Likes