protonscr

DXVK_CUSTOM_VENDOR_ID and DXVK_CUSTOM_DEVICE_ID not working

dxvkclosed
doitsujin/dxvk#243 · opened 2018-04-05 by MordragT · updated 2018-04-14 · 5 comments · github
MMordragT 2018-04-05 github

I am starting dxvk with DXVK_CUSTOM_VENDOR_ID=1002 DXVK_CUSTOM_DEVICE_ID=6810
nevertheless the DXVK_HUD shows that my integrated GPU is used.
I tried to start the game with env DRI_PRIME=1 ,wich i am using for steam games but that isnt working too.

Software information

I try to play Gothic 2 ,with the integrated gpu everything works fine its just extremly laggy.

System information

  • GPU: Radeon R9 270x ,intel hd 4000
  • Driver: Mesa 18.0
  • Wine version: Wine Staging Nine 3.5
  • DXVK version: e06300d with 2 line fix (see Gothic 2 Thread

Log files

?ghost 2018-04-05 github

DXVK_CUSTOM_VENDOR_ID and DXVK_CUSTOM_DEVICE_ID are ONLY used to fake GPU model for a game, not to change between integrated and discrete GPU

MMordragT 2018-04-05 github

Oh ok than this can be closed
Will have to find a way that DRI_PRIME=1 works but thats wine related

TTiZ-HugLife 2018-04-05 github

In addition to DRI_PRIME=1, you also need VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json. Adjust the paths according to where they are on your system.

LLeJimster 2018-04-05 github

Is there a list of vendor id and device id's for reference? The last time I tried to launch Alan Wake with DXVK, the game was detecting my card as a Radeon 9300 or something ancient and failed to launch. I wanted to try DXVK_CUSTOM_VENDOR_ID and DXVK_CUSTOM_DEVICE_ID to see if it helped, but I couldn't find any details.

GGuy1524 2018-04-14 github

@LeJimster You just need to look it up. Searching RX 480 PCI ID gives me this on google:

https://www.techpowerup.com/vgabios/184327/amd-rx480-8192-160603

Device Id: | 1002 67DF

So the Vendor ID is 1002 and the Device ID is 67DF

Launch options

Upstream links