this post was submitted on 23 Nov 2026
57 points (100.0% liked)

Linux Gaming

28569 readers
205 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

No memes/shitposts/low-effort posts, please.

That includes posts generated by LLMs. It doesn’t matter if you “don’t have the time” or “would’ve written the same anyway”, or if “everyone’s doing it geez get with the times”.

For now it’ll also include “AI”-assisted projects that haven't had at least two months of (public, verifiable) dev time behind them.

Resources

Help:

Launchers/Game Library Managers:

General:

Discord:

IRC:

Matrix:

Telegram:

founded 3 years ago
MODERATORS
 

Hi there! So, after many years of putting it off, I finally switched from Windows to Linux. I’m writing this post so everyone can flood me, and anyone else who decides they don't wanna be a Microsoft or Mac slave anymore but still wants to play games, with their advice. Anyone who has a question can just post it under this and hopefully they'll have an answer.

Personally I'd like to ask the more experienced Linux gamers for some general advice, what to do and what not to do when trying to get a game working or searching for a wine prefix for example.

you are viewing a single comment's thread
view the rest of the comments
[–] Infernal_pizza@lemmy.dbzer0.com 2 points 12 hours ago (1 children)

What regular maintenance does btrfs need?

[–] riskable@programming.dev 3 points 10 hours ago (2 children)

Once a month, you need to run a scrub:

sudo btrfs scrub start /mountpoint

It's very IO intensive, but it runs in the background with a very low priority. You can check the status of it:

sudo btrfs scrub status /mountpoint

Also, because of how it works (chunking copy-on-write FS), every time data gets deleted, you end up with a little bit of empty space inside each chunk. This can result in a filesystem with 200gb of free space only showing >1gb (or worse: no free space!). To fix this, you need to run a balancing command across chunks of varying sizes:

# Reclaim data chunks that are less than 50% full
sudo btrfs balance start -dusage=50 /mountpoint

# Reclaim metadata chunks that are less than 30% full (use cautiously)
sudo btrfs balance start -musage=30 /mountpoint

Basically, you want a number of commands running regularly via cron or systemd timers as root to keep things running smoothly or you're going to be in for a world of hurt.

I have a single script that runs via cron once a week that takes care of everything in the middle of the night on Monday morning (2AM I think) on all my hosts using btrfs. I'd share it but I'm not at home right now. Just ask AI to find or generate one for you and I'm sure it'll be fine since that's a very, very common thing.

[–] ewoksarebased@lemmy.ml 1 points 9 minutes ago

What do you mean 50% or 30% full? Also is there like a risk with scrub or balancing, like it may delete something or is it safe as hell.

[–] Infernal_pizza@lemmy.dbzer0.com 1 points 9 hours ago (1 children)

Thanks, I knew about scrub but not balance! Should that be run regularly or just when you're short on space?

[–] riskable@programming.dev 1 points 9 hours ago

Run it regularly. Like once a week