DXHRDC-GFX icon indicating copy to clipboard operation
DXHRDC-GFX copied to clipboard

Compatibility with DXVK

Open Meuch38 opened this issue 1 year ago • 20 comments

Hello, Can you tell me how to make this mod work with DXVK?

Meuch38 avatar Mar 26 '25 12:03 Meuch38

It should just work if you install it as normal.

CookiePLMonster avatar Mar 26 '25 12:03 CookiePLMonster

I placed the files in the same directory as the executable, and when I launch the game, I have sound but no display. When I try to force fullscreen with the keyboard shortcut, the game crashes. If I delete the mod files, everything works again with DXVK.

Meuch38 avatar Mar 26 '25 15:03 Meuch38

Works fine here with DXVK 2.6 at default settings.

Image

CookiePLMonster avatar Mar 26 '25 18:03 CookiePLMonster

For me the game load DXVK d3d11.dll with system dxgi.dll when using both mod and DXVK ?

Meuch38 avatar Mar 27 '25 00:03 Meuch38

The mod is careful not to do that and it only relies on the default library loading functions for d3d11 and dxgi. That said, what OS are you on?

CookiePLMonster avatar Mar 27 '25 09:03 CookiePLMonster

WIN11 24H2 game running on steam.

Image

Meuch38 avatar Mar 27 '25 11:03 Meuch38

Does it happen as soon as the ASI is moved out, or do you also need to move winmm out?

CookiePLMonster avatar Mar 27 '25 15:03 CookiePLMonster

It doesn't matter whether it's the ASI or winmm that I move from the game's root folder, the game launches correctly with Vulkan

Image

Meuch38 avatar Mar 27 '25 17:03 Meuch38

I think I found the source of my problem. It’s Ansel from Nvidia that I had disabled in NVCP. By re-enabling it, everything works fine.

Meuch38 avatar Apr 02 '25 21:04 Meuch38

It's very weird that disabling Ansel would force dxgi.dll to load from the system directory, but good to know you managed to solve this! I'll keep it open in case I can reproduce the issue - just to clarify, how do you disable Ansel from NVCP, is it there in per-game settings?

CookiePLMonster avatar Apr 02 '25 21:04 CookiePLMonster

Yes, it's strange.. but I can finally enjoy your excellent MOD! I did the test on both Global and the DXHR profile.

Meuch38 avatar Apr 02 '25 21:04 Meuch38

I will keep this issue open until I can verify this issue myself. If I can reproduce it, maybe I can do something about it too.

CookiePLMonster avatar Apr 03 '25 10:04 CookiePLMonster

I am having this same issue when trying to use DXVK and the mod together, audio but no visual. They both work independently.

I'm on an AMD system though. WIN11 24H2, RX 580.

SigismundDijkstra avatar Apr 06 '25 05:04 SigismundDijkstra

I found out that if I install d3d9.dll from DXVK with the game, and not just d3d11.dll and dxgi.dll then I can reproduce the issue even without this mod. Do you see the same?

CookiePLMonster avatar Apr 06 '25 13:04 CookiePLMonster

Yes, same here with d3d9.dll added.

SigismundDijkstra avatar Apr 06 '25 14:04 SigismundDijkstra

If you only use d3d11 and dxgi, does the mod work or does the issue persist?

CookiePLMonster avatar Apr 06 '25 14:04 CookiePLMonster

Yes the issue persists, that's what I was using initially. Given that it happens with the d3d9.dll added I'm guessing a DXVK issue.

SigismundDijkstra avatar Apr 06 '25 15:04 SigismundDijkstra

Hi,

I just wanted to let you know that the issue is still happening on my end too, whether Ansel is activated or not after the OS reinstall.

Same here with d3d9.dll added without the mod.

Meuch38 avatar Apr 06 '25 17:04 Meuch38

I investigated further without either DXHRDC-GFX or ASI Loader, and with DXVK's d3d9.dll present, dxgi.dll loads from system32 indeed, so this seems unrelated to the mod.

CookiePLMonster avatar Apr 06 '25 18:04 CookiePLMonster