dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

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

Open washingleavesandthensome23-434 opened this issue 2 years ago • 12 comments

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

  • d3d9.log:
  • d3d11.log: https://www.mediafire.com/file/7hbbguj0bi8xrf5/MK11_d3d11.log/file
  • dxgi.log: https://www.mediafire.com/file/9h9z7tl3kek2a7j/MK11_dxgi.log/file

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

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

K0bin avatar Mar 26 '22 17:03 K0bin

k..one sec

done

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

K0bin avatar Mar 26 '22 17:03 K0bin

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

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

K0bin avatar Mar 26 '22 21:03 K0bin

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

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

K0bin avatar Mar 26 '22 21:03 K0bin

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

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

JJones780 avatar Oct 24 '22 22:10 JJones780

you can try PROTON_HIDE_NVIDIA_GPU=0 maybe it helps

crazycorndog avatar Oct 28 '22 19:10 crazycorndog