protonscr

Dxvk can't detect the dxvk.conf file in certain games

dxvkclosed
doitsujin/dxvk#3406 · opened 2023-05-07 by g-k-m · updated 2023-05-08 · 2 comments · github
Gg-k-m 2023-05-07 github

System information

  • GPU: Amd Vega 56
  • Driver: 23.4.2
  • DXVK version: 2.1
  • OS: Windows 10 21H2 v19044.2846

So yeah this one is really simple. For most of the games i've tried dxvk detects the dxvk.conf file correctly (i put it next to the exe) and then in the log xxx_dxgi.log i get like:

info: Found config file: dxvk.conf
info: Effective configuration:
info: dxvk.hud = 1

however in certain games like diablo 3 these lines are simply missing, yet the same copied .conf file is right next to the exe and nothing changed, dxvk just cannot detect that the .conf file is right there

image

How the log looks like:
image

How it should look like:
image

like it's literally right there but dxvk just doesn't see it, and obviously i wouldn't care about a few lines in the log missing but i get no HUD at all in-game which is an issue

KK0bin maintainer 2023-05-07 github

It's possible that the game switches the working directory before loading d3d11.dll. In that case it would look somewhere else for the config file.

As a workaround you can set the environment variable DXVK_CONFIG_FILE to the path of your config file.

Gg-k-m 2023-05-08 github

That worked after a restart, thanks a lot!

Launch options

DLLs