doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.41k stars 795 forks source link

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

Open washingleavesandthensome23-434 opened 2 years ago

washingleavesandthensome23-434 commented 2 years ago

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)

Log files

washingleavesandthensome23-434 commented 2 years ago

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

K0bin commented 2 years ago

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

washingleavesandthensome23-434 commented 2 years ago

k..one sec

washingleavesandthensome23-434 commented 2 years ago

done

K0bin commented 2 years ago

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

washingleavesandthensome23-434 commented 2 years ago

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

K0bin commented 2 years ago

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

washingleavesandthensome23-434 commented 2 years ago

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

K0bin commented 2 years ago

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

washingleavesandthensome23-434 commented 2 years ago

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

JJones780 commented 1 year ago

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

crazycorndog commented 1 year ago

you can try PROTON_HIDE_NVIDIA_GPU=0 maybe it helps