Rowling striking again with her TERF views that only integrated GPUs matter.
Linux Gaming
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:
Thanks so much! That page enabled me to try the launch command DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce RTX 4090 Laptop GPU" %command% which fixed it!
👍
Always check ProtonDB when in doubt. Add your comments as well to let other users know it worked as they may be in a similar situation.
Ewww I hope you pirated that POS game.
Even the cracker is an unapologetic transphobe and Rowling supporter. Downloading their crack felt just as dirty to me as buying it.
It's pretty fun, and I think the studio that made it is located near me.
The comments here really helpful lol
- For Steam apps, the previous method doesn't work (for some reason - maybe it uses a custom launch process?), but after trying many different ways, I was able to get most Steam apps to use the correct GPU (GPU 0) by adding the custom launch option PROTON_USE_WINED3D=0 %command%
Steam runs the commands to launch the games directly, so editing .desktop files won't affect anything launched through steam directly.
PROTON_USE_WINED3D=0 is related to the graphics back ends, so I wouldn't use it for selecting the GPU, as, while it might work for making a game use the dedicated GPU, it probably won't work reliably as you've discovered. For setting a game to run on the NVIDIA GPU I think PRIME and NVIDIA Optimus are the solution, but I can't help you much since all my systems have only a single GPU enabled. One of the following 3 launch options in steam should work:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only %command%
DRI_PRIME=1 %command%
prime-run %command%
I did actually try all those other commands, and they didn't work, that was when I discovered that I didn't have prime-run installed and didn't need it. If this command works, I'm not going to mess with it, lol.
But thanks for all your intended help!
Fair enough, but I think the DXVK_FILTER_DEVICE_NAME
command you've got now will only work for DXVK, if you launch a game that uses vulkan directly (rather than via translating DirectX calls through DXVK) you might possibly find the game running on the wrong GPU, just bare that in mind
I guess I'll have to figure that out if I want to get a new game to run, then, but all my current games are working.