Dette emnet er blitt låst
_galaxy 16. juli 2019 kl. 10.36
[LINUX] Allow a launch option that lets me choose which GPU my game uses.
I have a laptop with 2 GPU's, both AMD. So nvidia control panel is a no go.

I have found that I can easily set which program runs with this command on the terminal:

DRI_PRIME=0 <program> // most of the times is the integrated GPU (of the CPU)
DRI_PRIME=1 <program> // most of the times is the dedicated GPU (discrete graphics card)

So what I do mostly is use this command on the steam launcher. But why can't steam have this option on the properties of the game, something like "launch options"? Another cool feature is to have steam launch options set for linux commands.


This is especially useful on proton games since I can't exactly use this command on a windows .exe....
< >
Viser 11 av 1 kommentarer
_galaxy 16. juli 2019 kl. 10.49 
i just noticed that my commands only applies to amd gpu's. For reference, I used this guide:

https://starbeamrainbowlabs.com/blog/article.php?article=posts%2F254-run-program-on-amd-dedicated-graphics-card.html

That same source (from the arch linux wiki) also has some tools for nvidia gpu's, which valve might wanna look into if they're also implementing this feature for nvidia gpu's (I mean it can't be that hard, I'm not even a linux afficionado and figured this out).

edit: maybe this? https://www.linuxbabe.com/desktop-linux/switch-intel-nvidia-graphics-card-ubuntu it's all terminal commands that I presume you can make steam run.
Sist redigert av _galaxy; 16. juli 2019 kl. 10.51
< >
Viser 11 av 1 kommentarer
Per side: 1530 50

Dato lagt ut: 16. juli 2019 kl. 10.36
Innlegg: 1