Ця тема закрита
[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....
< >
Показані коментарі 11 із 1
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.
Автор останньої редакції: _galaxy; 16 лип. 2019 о 10:51
< >
Показані коментарі 11 із 1
На сторінку: 1530 50

Опубліковано: 16 лип. 2019 о 10:36
Дописів: 1