protonscr

Add PrefersNonDefaultGPU=true to .desktop file of Steam

steamclosed
ValveSoftware/steam-for-linux#7089 · opened 2020-05-06 by Eonfge · updated 2021-08-26 · 5 comments · github
EEonfge 2020-05-06 github

Please describe your issue in as much detail as possible:

There is a new standard for aiding in multi-GPU setups. You can now set a flag called PrefersNonDefaultGPU which will tell the computer to use the alternative (generally speaking, dedicated) GPU.

By setting this flag, Steam and it's applications will run with the more powerful GPU by default, preventing many annoyed customers as they are rushing B with 20 fps.

Docs

Kkisak-valve maintainer 2020-05-06 github

Hello @Eonfge, this issue is already being discussed at #634. I've gone ahead and transferred this issue report to https://github.com/ValveSoftware/steam-for-linux/issues/634#issuecomment-624698453.

Ssmcv 2021-04-07 github

steam-launcher beta 1.0.0.70 adds PrefersNonDefaultGPU=true, as well as the older X-KDE-RunOnDiscreteGpu=true.

(If you get your Steam client through an unofficial distro-specific package, they will need to update to 1.0.0.70 before you see this change.)

Ddoraskayo 2021-08-21 github

So apparently this results in my integrated GPU being selected instead of my dedicated GPU. My dedicated GPU is the default in my system as configured in BIOS. I'm honestly not sure how this is helpful in my case.

Ssmcv 2021-08-23 github

I'm honestly not sure how this is helpful in my case.

It's not. We're trying to make Steam work as well as possible for as many people as possible, using the imperfect tools available to us.

Ddoraskayo 2021-08-26 github

GNOME uses the switcheroo-control daemon to enumerate the available GPUs, and to choose the one which wasn't used for boot. Disabling this daemon effectively makes GNOME ignore the PrefersNonDefaultGPU option.

In systemd-based systems (Fedora in my case), the following command should accomplish this:

systemctl disable --now switcheroo-control.service