I added the following to the launch options in Steam:

DRI_PRIME=0 DXVK_ASYNC=1 gamemoderun %command%

ID 0 is my dedicated GPU (displayed as AMD Radeon RX 7800 XT), ID 1 my internal GPU (just displayed as AMD Radeon Graphics; it’s in an AMD Ryzen 7 7800X3D).

However, the game (in this case Satisfactory, an Unreal Engine 5 game) still runs on GPU 1, the iGPU. Even when I edit the Steam .desktop launcher file to run the command like this:

  • Environment variables: DRI_PRIME=0
  • Executable: /usr/bin/steam-native
  • Arguments: %U

It still gets started on the wrong GPU with obviously abysmal performance. How do I fix this?

Helix 🧬
creator
link
fedilink
21Y

When I run it with the following Steam launch options:

DRI_PRIME=0 DXVK_FILTER_DEVICE_NAME=7800 DXVK_ASYNC=1 gamemoderun %command%

Satisfactory seems to somewhat reliably get the correct GPU, but not 100% of the time. The filter part I had to get from DRI_PRIME=0 vulkaninfo | grep "deviceName". You can apparently also use DXVK_FILTER_DEVICE_NAME="AMD Radeon RX".

Create a post

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

  • 0 users online
  • 1 user / day
  • 47 users / week
  • 137 users / month
  • 1.01K users / 6 months
  • 1 subscriber
  • 988 Posts
  • 10.3K Comments
  • Modlog