protonscr

Question: dxgi.nvapiHack = False ,not working still get in logs this > info: DXGI: NvAPI workaround enabled, reporting AMD GPU

dxvkclosed
doitsujin/dxvk#2563 · opened 2022-03-26 by washingleavesandthensome23-434 · updated 2025-05-18 · 12 comments · github
1 matching comments, n / p to jump
Wwashingleavesandthensome23-434 2022-03-26 github

Please describe your issue as accurately as possible. If you run into a problem with a binary release, make sure to test with latest master as well.

Important: When reporting an issue with a specific game or application, such as crashes or rendering issues, please include log files and, if possible, a D3D11/D3D9 Apitrace (see https://github.com/apitrace/apitrace) so that the issue can be reproduced.
In order to create a trace for D3D11/D3D10: Run wine apitrace.exe trace -a dxgi YOURGAME.exe.
In order to create a trace for D3D9: Follow https://github.com/Joshua-Ashton/d9vk/wiki/Making-a-Trace.
Preferably record the trace on Windows, or wined3d if possible.

Reports with no log files will be ignored.

Software information

Name of the game, settings used etc.

System information

GPU: RTX 2080 ti
Driver: 473.04
Wine version: W7
DXVK version: 1.10.1

Apitrace file(s)

  • Put a link here

Log files

Wwashingleavesandthensome23-434 2022-03-26 github

dxvk.enableAsync = True
dxgi.nvapiHack = False
DXVK_ENABLE_NVAPI 1

this is what i set in dxvk.conf

yet still get api override to amd oddly , help would be appreciated

KK0bin maintainer 2022-03-26 github

Please upload the log files you left out in the issue.

Wwashingleavesandthensome23-434 2022-03-26 github

k..one sec

Wwashingleavesandthensome23-434 2022-03-26 github

done

KK0bin maintainer 2022-03-26 github

It's not picking up your config file. Try setting the environment variable DXVK_CONFIG_FILE to the path to your config file.

Wwashingleavesandthensome23-434 2022-03-26 github

uhhh if you look in the logs...itll show >

Game: MK11.exe
info: DXVK: v1.10.1-async
info: Found config file: dxvk.conf
info: Effective configuration:
info: dxgi.nvapiHack = False
info: dxvk.enableAsync = True

soooo yeah , it is found ....but as said just dont respect the set rules for some reason as you can see, im confused asf, help please

KK0bin maintainer 2022-03-26 github

What exactly do you hope to achieve by disabling the nvapi hack btw?

Wwashingleavesandthensome23-434 2022-03-26 github

well ....for my gpu not being reported to game as amd card ....messes with some games that check for nvidia api when it comes to rtx stuff etc

KK0bin maintainer 2022-03-26 github

The parts of the log that you added shows that the option is getting applied correctly.

Wwashingleavesandthensome23-434 2022-03-26 github

so why do i get this at the very bottom of the log then? confuses the hell out of me
this:
DXGI: NvAPI workaround enabled, reporting AMD GPU

JJJones780 2022-10-24 github

I used the dxvk.conf file mentioned above but one can also try specifying the GPU to use via an environment variable. In my case my AMD CPU's GPU was getting in the way of my dedicated Nvidia gpu. So to use the Nvidia gpu I ran steam with
export DXVK_FILTER_DEVICE_NAME="NVIDIA"; steam

Where "NVIDIA" is unique to a single card as found running command: vulkaninfo

Ccrazycorndog 2022-10-28 github

you can try
PROTON_HIDE_NVIDIA_GPU=0
maybe it helps