this post was submitted on 20 Apr 2025
22 points (100.0% liked)

Linux Gaming

22782 readers
431 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
 

Your games on Linux might unknowingly run slower than they need to. My games had inconsistent FPS between different sessions—smooth 144 FPS between stuttering ± 120 FPS—and I couldn't figure out why because all the logs indicated it was running on my dedicated GPU.

First I assumed it was a caching problem due to running distributed computing projects 24/7 [finding primes, not crypto"currencies", don't worry], but it turns out it was in fact arbitrarily using the CPU's integrated graphics instead of the GPU.

Via the Steam game launch options command below, one can force the use of one's dedicated GPU—0 or 1 depending on one's PC.

__NV_PRIME_RENDER_OFFLOAD=0 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

you are viewing a single comment's thread
view the rest of the comments
[–] pogodem0n@lemmy.world 2 points 8 months ago

I disable the integrated GPU of my processor through the BIOS to avoid such issues. But it gets enabled by itself at each BIOS update.