this post was submitted on 20 Nov 2023
12 points (100.0% liked)

Linux Gaming

15789 readers
5 users here now

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.

founded 4 years ago
MODERATORS
 

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?

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 11 months ago

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".