Hey,
Recently I’ve been having the problem that all my Steam games only use the iGPU greatly affecting performance. I’ve tried basically every different launch option I could find, but it keeps using the AMD Radeon Graphics instead of my NVIDIA RTX3050Ti.
Right-click “Open with discrete graphics” doesn’t change anything either. I’ve tried several different games, and the only games where the dGPU does work is with native games. So the issue only exists with Proton games. Thus it’s likely not that the drivers are fundamentally broken in Flatpak, but rather the part that communicates with Wine/Proton I guess.
I am using the Steam Flatpak. And I run Universal Blue on my computer. Which is basically Fedora Silverblue with some extra’s included such as the Nvidia drivers. I’m also confident this used to work nicely, but it’s been a while (months at least) since I’ve tried. So if it’s a new regression, it may as well be from last summer.
Does anyone know if this is a known issue and if there’s a known workaround? The only thing that works so far is rebooting into discrete graphics mode. But that’s a bit of a hassle.
Edit: Just to add. I’ve been using Linux since Ubuntu 6.06. I’m pretty sure I’ve set everything up as I should, and again this used to work in the past. It could be possible however that I may be thinking of the non-flatpak version of Steam when this used to work. So I think it’s a bug, either with Steam Flatpak, Proton or with Nvidia. So it would be nice if someone could help me pinpoint what factor is at fault, so I can also report this bug if it’s a Flatpak issue.
I’ve tried the following launch options among others:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%
__NV_PRIME_RENDER_OFFLOAD=0 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%
WINEDLLOVERRIDES="dxgi=n" %command%
gamemode %command%
prime-run %command%
(does not even launch, this may be an Arch script?)
DRI_PRIME=1 %command%
Again, it works fine in native games, the problem only persists with Proton. I’ve tried different proton versions, mainly the experimental branch, the latest stable as well as the Proton-GE version. But that didn’t really make any difference.