this post was submitted on 30 Aug 2025
83 points (95.6% liked)

Linux Gaming

20926 readers
286 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.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

Disclaimer: Someone in the comments pointed out that this affects Nvidia only. I don't have AMD, so I can't verify if that's correct, but likely this is only for fellow sufferers of the Green Nightmare.

I had this issue for months. Randomly, the performance for games would be abysmal (I'm talking 5 FPS in 10yo indie 3D titles). Then it would randomly work again for a few days or weeks until it would become terrible again.

Turns out, the reason for that was that flatpak appears to cause trouble when the system GPU driver is updated, but flatpak update isn't run. So when I did dnf update (and it updated the Nvidia driver) without running flatpak update afterwards, the performance would suck, until something (or I) ran flatpak update again.

So if the performance in games launched through a flatpak version of a launcher like heroic sucks, run flatpak update.

And if that doesn't work, run

flatpak install flathub org.freedesktop.Platform.GL.nvidia-575-64-05 org.freedesktop.Platform.GL32.nvidia-575-64-05

(Replace the version with your Nvidia driver version, and in case of AMD, google whatever the appropriate way is to install the drivers for flatpak.)

all 38 comments
sorted by: hot top controversial new old
[–] Keegen@lemmy.zip 55 points 2 days ago (2 children)

Note: This issue only applies to Nvidia, AMD users can have a completely different versions of Mesa installed on their system and in Flatpak. Nvidia drivers are closed source and they ship both the kernel and userspace drivers as one with no backwards compatibility so Flatpak must always use the exact same version as the system.

[–] incentive@lemmy.ml 33 points 2 days ago (2 children)
[–] robolemmy@lemmy.world 11 points 2 days ago

I just built a new system and named it gloria_allred because it’s the first time in forever that I’ve used AMD cpu and gpu, so it’s all red.

[–] squaresinger@lemmy.world 9 points 2 days ago (2 children)

Sadly, there's close to no AMD dGPU laptops, at least in my area. And the 3 or so models that exist are wildly more expensive...

[–] entropicdrift@lemmy.sdf.org 7 points 2 days ago (1 children)

Part of the reason for that is because their iGPUs are actually worth gaming on, see: Steam Deck and both the PS5 and Xbox Series consoles.

[–] squaresinger@lemmy.world 4 points 2 days ago

It's so-so, tbh.

I looked up the best AMD iGPU, and that seems to be the Radeon 8060S. That one is, from what I can see, about on par with the 4070 laptop. In gaming, it's a bit worse. In other workloads, it's a bit better.

But the cheapest laptop I can find with an 8060S is some HP Zbook Ultra G1a for €2800. I got my Lenovo LOQ with a 4070 for €900.

[–] TheGrandNagus@lemmy.world 3 points 2 days ago

AMD has learned that laptop gamers don't give a shit about anything that's not Nvidia. Their dGPU laptop solutions were never desirable for the general market, so they've instead started focussing a lot more on stronger APUs.

[–] Quazatron@lemmy.world 4 points 2 days ago (1 children)

It's (almost) always Nvidia.

[–] bobby@lemmy.dbzer0.com 12 points 2 days ago

It’s (almost) always Nvidia.

A philosopher once said:

[–] rainbowbunny@slrpnk.net 2 points 1 day ago

Wow thank you so much. I randomly found this post after issues with trying to get some new Gog games to work. Only needed to run "flatpak update" and on to the specific driver update.

[–] matcha_addict@lemy.lol 18 points 2 days ago (4 children)

This is because flatpak has a layer of isolation and installs its own copy of the drivers. If your system driver gets updated, then the flatpak one isn't matching.

If you update your system, you should always update everything, including flatpak.

[–] sic_semper_tyrannis@lemmy.today 6 points 2 days ago (1 children)

Are you saying that when updating your system with the GUI system updater that the flatpak update will be in there too? Or do you still need to run flatpak update in terminal seperate?

[–] EccTM@lemmy.ml 11 points 2 days ago (1 children)

they are just saying that if you update your system packages, update your flatpak packages too. It's all distro dependent in regard to how you achieve that. I personally use topgrade in my terminal, and it runs all the update commands (pacman, aur, fwupd, flatpak, gnome shell extensions, vs code extensions) in order.

Gotcha. Thank you

[–] kkj@lemmy.dbzer0.com 5 points 2 days ago

I have an alias for 'up' that runs an apt update and full-upgrade, flatpak upgrade, and snap upgrade, plus flushes old cache.

[–] Banzai51@midwest.social 3 points 2 days ago (2 children)

How many weeks usually before the flatpak authors update?

[–] Chewy7324@discuss.tchncs.de 5 points 2 days ago

Idk whether there's delay, but this also applies to minor version changes of Nvidia drivers. They must match exactly.

In my experience, less than 3 days

[–] squaresinger@lemmy.world 2 points 2 days ago* (last edited 2 days ago) (1 children)

What really tripped me up is that apparently either flatpak, heroic or proton has some kind of software rendering mode that works but is crazy slow. I expected driver problems to cause everything to just not work at all. Instead, everything slowed to a crawl and I couldn't figure out why.

[–] matcha_addict@lemy.lol 3 points 2 days ago

Yeah I also thought the same thing. It's interesting that it still works, just really poorly.

[–] cyborganism@piefed.ca 5 points 2 days ago (1 children)

Oh man, I knew it had something to do with the Flatpack Nvidia driver packages. This happened to me several times with Heroic trying to play a game that wasn't even recent by any means.

[–] squaresinger@lemmy.world 1 points 1 day ago (1 children)

Yeah, there I am with my 4070, can't even run Bioshock 1. The peak was when I tried running a very simple indie game from 2011 and it only ran with ~5 fps.

Truns out something in the chain (probably proton) seems to have a software rendering mode that it falls back to if the GPU driver doesn't work.

Was a bit tricky to debug since all the GPU test tools by default don't run in flatpak and thus all of the worked fine.

[–] cyborganism@piefed.ca 1 points 1 day ago (1 children)

I wonder if the AppImage is any better?

[–] squaresinger@lemmy.world 1 points 1 day ago

AppImage doesn't have Flatpak's sandbox feature, so it probably shouldn't be affected.

[–] reseller_pledge609@lemmy.dbzer0.com 8 points 2 days ago (1 children)

To simplify this you might also try something like topgrade.

It does system updates, flatpak updates and other stuff all at once.

[–] squaresinger@lemmy.world 3 points 2 days ago

Nice project, didn't know that one. Thanks!

[–] Kongar@lemmy.dbzer0.com 5 points 2 days ago (1 children)

I think (could be wrong), but I’m pretty sure I’ve seen the opposite too. Steam flatpak, or steam itself (via the little steam is updating popup upon steam startup), will update on its own - and my video drivers don’t work properly until I update the entire system (which fixes it every time).

Doesn’t happen often - but often enough for me to catch it. At least I’m pretty sure that’s what’s going on…

[–] umbrella@lemmy.ml 3 points 2 days ago* (last edited 2 days ago)

usually nvidia drivers will need to be updated inside the flatpak too, which means updating and rebooting. i have the exact same quirk when i'm using my nvidia card

[–] LiveLM@lemmy.zip 5 points 2 days ago* (last edited 2 days ago) (1 children)

At this point you might as well just save the headache and install Heroic directly

[–] squaresinger@lemmy.world 4 points 2 days ago (1 children)

Would have been better, but Fedora has Heroic only as Flatpak in their repos. At least as far as I can see.

[–] LiveLM@lemmy.zip 5 points 2 days ago* (last edited 2 days ago)

My bad, I should have checked before commenting 🤦‍♂️
The official Github does list a COPR repo but it seems the last build failed 2 months ago, so it only has version 2.17.2 instead of 2.18...

[–] TingoTenga@lemmy.world 4 points 2 days ago

Thanks! This is a great tip. I've running into this myself and now I will regularly update the flatpacks.

[–] umbrella@lemmy.ml 1 points 2 days ago* (last edited 2 days ago) (2 children)

huh, these packages install automatically for me in the nvidia card. i have lutris and steam installed too, which might probably have installed them.

we should probaby talk to the maintainer of the flatpak if that's not installed as a dependency for heroic by default.

[–] squaresinger@lemmy.world 1 points 1 day ago (1 children)

For me the packages are there too, they are just not updated when I run dnf update without running flatpak update as well, and then they break.

[–] umbrella@lemmy.ml 2 points 1 day ago* (last edited 1 day ago)

yeah that's the "bug" i was describing. happens exactly like this on apt update too, i have to also flatpak update and reboot for it to work normally again. i have no such problem with amd.

[–] corsicanguppy@lemmy.ca -3 points 2 days ago (1 children)

Flatpaks: How to reinvent RPMs poorly.

[–] umbrella@lemmy.ml 3 points 2 days ago

you are thinking of DEBs, but in reverse