jp7677 / dxvk-nvapi

Alternative NVAPI implementation on top of DXVK.
MIT License
373 stars 32 forks source link

DXVK-nvapi causes COD Plutonium launcher to crash #108

Closed Leopard1907 closed 1 year ago

Leopard1907 commented 1 year ago

Hi, according to many users it is a longstanding problem since many dxvk-nvapi versions ago and still reproduces on latest release as well.

Here is the log:

dxvk-nvapi.log

Setup info:

jp7677 commented 1 year ago

Thanks for the report. I've made a (completely untested) PR for the missing function, may be that is sufficient. Please let me know how far you get with those changes.

Leopard1907 commented 1 year ago

I tried that PR , from CI builds. Still crashes but log has a few more entries.

---------- 2023-02-13 21:46:38 ----------
DXVK-NVAPI v0.6.1-15-g4246ec9 (plutonium-bootstrapper-win32.exe)
Successfully acquired Vulkan vkGetInstanceProcAddr @ 0x40c83930
NvAPI Device: NVIDIA GeForce GTX 1050 (525.89.2)
NvAPI Output: \\.\DISPLAY1
NvAPI_Initialize: OK
NvAPI_QueryInterface (0x33c7358c): Unknown function ID
NvAPI_QueryInterface (0x593e8644): Unknown function ID
NvAPI_D3D11_CreateDevice: OK
NvAPI_QueryInterface NvAPI_D3D11_CreateDeviceAndSwapChain: Not implemented method

Update: Latest version of that PR makes it work.

DXVK-NVAPI v0.6.1-15-g88ff401 (plutonium-bootstrapper-win32.exe)
Successfully acquired Vulkan vkGetInstanceProcAddr @ 0x42643930
NvAPI Device: NVIDIA GeForce GTX 1050 (525.89.2)
NvAPI Output: \\.\DISPLAY1
NvAPI_Initialize: OK
NvAPI_QueryInterface (0x33c7358c): Unknown function ID
NvAPI_QueryInterface (0x593e8644): Unknown function ID
NvAPI_D3D11_CreateDevice: OK
NvAPI_D3D11_CreateDeviceAndSwapChain: OK
NvAPI_QueryInterface NvAPI_Stereo_CreateHandleFromIUnknown: Not implemented method