protonscr

Despite using the command to set the GPU, DXVK uses the wrong GPU until I physically disable it in Device manager.

dxvkclosed
doitsujin/dxvk#3052 · opened 2022-11-11 by cpufreak · updated 2022-11-12 · 8 comments · github
1 matching comments, n / p to jump
Ccpufreak 2022-11-11 github

Hello! so I'm not sure what all I should include here as I was having a low FPS issue, which I traced back to the game (Euro Truck sim 2) using the wrong GPU (a display adapter for a secondary screen) despite using DXVK_FILTER_DEVICE_NAME="Device" which in this case is an Intel Arc A770. it will use the 770 if I disable the display adapter card (GT1010) in Device manager, but with it enabled it won't use the arc card at all. am I doing something wrong?

BBlisto91 2022-11-11 github

Where are you using the env var and what platform and service are you playing through.
Post a dxvk log if you can.

Ccpufreak 2022-11-11 github

Where are you using the env var and what platform and service are you playing through. Post a dxvk log if you can.

platform is Windows, and I'm using it through the steam launch options.

which log would you like? the one with the display adapter enabled or disabled?

BBlisto91 2022-11-11 github

I don't think you can set environment variables through steam launch options on Windows. It's a Linux only feature afaik. So you'll have to set it through the Windows environment variables window

KK0bin maintainer 2022-11-11 github

DXVK_FILTER_DEVICE_NAME="Device"

Just to rule that out, you did replace "Device" with the name of your GPU, right?

Ccpufreak 2022-11-11 github

DXVK_FILTER_DEVICE_NAME="Device"

Just to rule that out, you did replace "Device" with the name of your GPU, right?

yes

Ccpufreak 2022-11-11 github

I don't think you can set environment variables through steam launch options on Windows. It's a Linux only feature afaik. So you'll have to set it through the Windows environment variables window

and this may explain it, lemme give it a try

EDIT: I have no idea what I am doing lmao

BBlisto91 2022-11-11 github

https://www.makeuseof.com/how-to-use-environment-variables-in-windows-10/

Also note to not add quotation marks when setting the value through the GUI on Windows

Mmisyltoad 2022-11-12 github

Steam doesn't support env vars on Windows.

Launch options