You are not logged in.

#1 2024-10-06 18:14:41

unnilquadium
Member
Registered: 2017-08-27
Posts: 86

[SOLVED] Force steam to use integrated graphics

I have a laptop with integrated AMD graphics and a dedicated AMD Radeon GPU.

Forcing steam to use the dedicated GPU is fairly straightforward with the prefix DRI_PRIME=1 as detailed here

However there are certain low demading games that could perfectly run on the integrated GPU, but steam doesn't appear to honour DRI_PRIME=0, it just launches with the dGPU regardless of the launch options.

I tested using the following 3:

DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
glxinfo | grep "OpenGL renderer"
DRI_PRIME=pci-0000_69_00_0 glxinfo | grep "OpenGL renderer"

and get

OpenGL renderer string: AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 18.1.8, DRM 3.58, 6.11.1-arch1-1)

which is the iGPU.

To be sure, using

DRI_PRIME=1 glxinfo | grep "OpenGL renderer"

I get

OpenGL renderer string: AMD Radeon RX 7600M XT (radeonsi, navi33, LLVM 18.1.8, DRM 3.58, 6.11.1-arch1-1)

Is there any other way to force steam to use the iGPU?

Thank you!

Last edited by unnilquadium (2024-10-09 08:07:32)

Offline

#2 2024-10-08 09:50:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,037

Re: [SOLVED] Force steam to use integrated graphics

What games? Proton and hence stuff running under DXVK VKD3D have code to explicitly prefer dedicated cards, the most "cross-compatible" way for those is to use mesa-vulkan-layers and only expose the device you want: https://wiki.archlinux.org/title/Vulkan … en_devices

Offline

#3 2024-10-09 08:06:58

unnilquadium
Member
Registered: 2017-08-27
Posts: 86

Re: [SOLVED] Force steam to use integrated graphics

V1del wrote:

What games?

dotAGE for example. A graphically low demanding game that runs perfectly fine on an iGPU, saving battery life.


V1del wrote:

Proton and hence stuff running under DXVK VKD3D have code to explicitly prefer dedicated cards

I suspected that, since Steam was running most games with the dGPU without any specific input on my part. But still, that's good to know.


For info, your suggestion to use vulkan mesa layers works beautifully.
Setting

MESA_VK_DEVICE_SELECT=vid:did! %command%

in the launch options forces the use of a specific GPU.


Thank you!

Offline

Board footer

Powered by FluxBB