this post was submitted on 06 Nov 2024
69 points (100.0% liked)

Linux Gaming

15243 readers
109 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.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

Navi 10: RX 5700, 5600
Navi 14: RX 5500, 5300

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 day ago (1 children)

I would definitely try it. If it doesn't help any game, or if it causes glitches/crashes, an environment variable is easy to revert.

[–] [email protected] 1 points 1 day ago (1 children)

how does one add it as a variable?

[–] [email protected] 4 points 1 day ago* (last edited 1 day ago) (1 children)
YOUR_VARIABLE=1 %command%

In Steam launch options for a specific game.

So, in this case:

RADV_PERFTEST=nggc %command%
[–] [email protected] 2 points 1 day ago (1 children)

ah, my bad.. I didnt realize it meant just putting it in the games launch options. I thought it had to be set in some file or something. Thank you for the clarification.

[–] [email protected] 2 points 19 hours ago

It doesn't necessarily mean putting it in a game's launch options. Environment variables can be set in a startup script, or a flatpak config, or a command line, for example. But the Steam launch options approach is convenient when you're just testing something for one specific game.