dxvk-nvapi: DXVK-NVAPI Broken in Dead Space Remake

So, every time I try to launch the Dead Space Remake through Lutris (EA App), the logs read DXGI: NVApi Workaround enabled, reporting AMD GPU, despite the fact that I have a dxvk.conf with the option set to false, I have DXVK_ENABLE_NVAPI=1 set, and DLSS works in all my other Lutris games (CP2077 on GoG, Control Ult Edition on GoG, Rise of the Tomb Raider on EGS, Control standard edition on EGS, etc).

Just to see what was going on, I launched CP2077 back to back with Dead Space, both with DXVK_LOG_LEVEL=info DXVK_LOG_PATH=~/tmp, and my dxvk-nvapi.log file shows that initialization is failing:

CP2077 Log:

---------- 2023-05-27 04:14:46 ----------
NvAPI_QueryInterface (0xad298d3f): Unknown function ID
DXVK-NVAPI v0.6.3-4-g2483eac (Cyberpunk2077.exe)
Successfully acquired Vulkan vkGetInstanceProcAddr @ 0x2d4add570
NvAPI Device: NVIDIA GeForce RTX 3090 (530.41.3)
NvAPI Output: \\.\DISPLAY1
NvAPI_Initialize: OK
NvAPI_QueryInterface (0x33c7358c): Unknown function ID
NvAPI_QueryInterface (0x593e8644): Unknown function ID
NvAPI_EnumPhysicalGPUs: OK
NvAPI_SYS_GetDriverAndBranchVersion: OK
NvAPI_GPU_GetArchInfo: OK
NvAPI_Initialize: OK
NvAPI_EnumPhysicalGPUs: OK
NvAPI_GPU_GetAdapterIdFromPhysicalGpu: OK
NvAPI_DRS_CreateSession: OK
NvAPI_DRS_LoadSettings: OK
NvAPI_DRS_GetBaseProfile: OK
NvAPI_DRS_GetSetting (0x10e41df2/Unknown): Setting not found
NvAPI_QueryInterface (0xf2400ab): Unknown function ID
NvAPI_EnumPhysicalGPUs: OK
NvAPI_DRS_GetSetting (0x10e41df2/Unknown): Setting not found
NvAPI_GPU_GetArchInfo: OK
NvAPI_SYS_GetDriverAndBranchVersion: OK
NvAPI_DRS_GetSetting (0x10afb764/Unknown): Setting not found
NvAPI_DRS_CreateSession: OK
NvAPI_QueryInterface (0xa782ea46): Unknown function ID
NvAPI_DRS_FindApplicationByName (C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\bin\x64\Cyberpunk2077.exe): Executable not found
NvAPI_DRS_DestroySession: OK
NvAPI_Initialize: OK
NvAPI_EnumPhysicalGPUs: OK
NvAPI_DRS_GetSetting (0x10afb764/Unknown): Setting not found
NvAPI_GPU_GetAdapterIdFromPhysicalGpu: OK
NvAPI_GPU_GetArchInfo: OK
NvAPI_DRS_GetSetting (0x10afb76b/Unknown): Setting not found
NvAPI_EnumPhysicalGPUs: OK
NvAPI_GPU_GetAdapterIdFromPhysicalGpu: OK
NvAPI_DRS_GetSetting (0x10e41df2/Unknown): Setting not found
NvAPI_EnumPhysicalGPUs: OK
NvAPI_DRS_GetSetting (0x10e41df2/Unknown): Setting not found
NvAPI_GPU_GetArchInfo: OK
NvAPI_SYS_GetDriverAndBranchVersion: OK
NvAPI_DRS_GetSetting (0x10afb764/Unknown): Setting not found
NvAPI_DRS_CreateSession: OK
NvAPI_DRS_FindApplicationByName (C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\bin\x64\Cyberpunk2077.exe): Executable not found
NvAPI_DRS_DestroySession: OK
NvAPI_DRS_GetSetting (0x10afb764/Unknown): Setting not found
NvAPI_DRS_GetSetting (0x10afb76b/Unknown): Setting not found
NvAPI_Initialize: OK
NvAPI_D3D12_GetRaytracingCaps (1): OK
NvAPI_D3D12_GetRaytracingCaps (0): OK
NvAPI_SYS_GetDriverAndBranchVersion: OK
NvAPI_SYS_GetDriverAndBranchVersion: OK
NvAPI_DRS_GetSetting (0x10afb76b/Unknown): Setting not found
NvAPI_EnumPhysicalGPUs: OK
NvAPI_GPU_GetAdapterIdFromPhysicalGpu: OK
NvAPI_DRS_GetSetting (0x10e41df2/Unknown): Setting not found
NvAPI_EnumPhysicalGPUs: OK
NvAPI_DRS_GetSetting (0x10e41df2/Unknown): Setting not found
NvAPI_GPU_GetArchInfo: OK
NvAPI_SYS_GetDriverAndBranchVersion: OK
NvAPI_DRS_GetSetting (0x10afb764/Unknown): Setting not found
NvAPI_DRS_CreateSession: OK
NvAPI_DRS_FindApplicationByName (C:\Program Files (x86)\GOG Galaxy\Games\Cyberpunk 2077\bin\x64\Cyberpunk2077.exe): Executable not found
NvAPI_DRS_DestroySession: OK
NvAPI_DRS_CreateSession: OK
NvAPI_DRS_LoadSettings: OK
NvAPI_DRS_GetBaseProfile: OK
NvAPI_DRS_GetSetting (0x10afb76b/Unknown): Setting not found
NvAPI_D3D12_IsFatbinPTXSupported: OK
NvAPI_EnumPhysicalGPUs: OK
NvAPI_GPU_GetAdapterIdFromPhysicalGpu: OK
NvAPI_GPU_GetArchInfo: OK
NvAPI_D3D12_GetGraphicsCapabilities (sm_86): OK
NvAPI_DRS_GetSetting (0x10afb76a/Unknown): Setting not found
NvAPI_DRS_GetSetting (0x10afb76c/Unknown): Setting not found
NvAPI_D3D12_CreateCubinComputeShaderWithName: OK
NvAPI_D3D_GetSleepStatus: No implementation
NvAPI_D3D_GetLatency: No implementation
NvAPI_QueryInterface NvAPI_D3D12_SetNvShaderExtnSlotSpaceLocalThread: Not implemented method
NvAPI_QueryInterface NvAPI_D3D12_SetNvShaderExtnSlotSpaceLocalThread: Not implemented method
NvAPI_QueryInterface NvAPI_D3D12_SetNvShaderExtnSlotSpaceLocalThread: Not implemented method
NvAPI_QueryInterface NvAPI_D3D12_SetNvShaderExtnSlotSpaceLocalThread: Not implemented method
NvAPI_SYS_GetDriverAndBranchVersion: OK
NvAPI_D3D12_GetRaytracingAccelerationStructurePrebuildInfoEx: OK
NvAPI_D3D12_CaptureUAVInfo: OK
NvAPI_D3D12_GetCudaTextureObject: OK
NvAPI_D3D12_LaunchCubinShader: OK
NvAPI_QueryInterface (0xd7c61344): Unknown function ID

Dead Space:

---------- 2023-05-27 04:17:17 ----------
NvAPI_QueryInterface (0xad298d3f): Unknown function ID
DXVK-NVAPI v0.6.3-4-g2483eac (Dead Space.exe)
Successfully acquired Vulkan vkGetInstanceProcAddr @ 0x2d4ad3fa0
NvAPI_Initialize: NVIDIA or other suitable device not found or initialization failed

I’ve tried everything I can think of. It also doesn’t work in ANY Proton 8.X games (regardless of 8.X version, whether official, experimental, TKG, or GE), but if I switch to ANY 7.X version, it works fine. But I believe that’s a separate bug, because the Reporting AMD GPU doesn’t show up, I’ll get some logs tomorrow and either add them here or open a separate issue if the logs aren’t the same.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 42 (18 by maintainers)

Most upvoted comments

You’re totally right, I’ve just had it for years and so now I have about 70 games pointing to that file, because before there wasn’t a DXVK_ENABLE_NVAPI option.

I’ve also finally got DLSS working in Dying Light 2 (Steam), it along with Dead Space was the only game I couldn’t get DLSS in on Proton 7 OR 8. Thanks again man

Yeah, I was already downloading the stable version right after I commented that, cause I figured you’d want me to confirm it. No difference, still broken. I’m copying the DXVK dlls into another 8.x build that I’ve confirmed to be broken to see what happens, if it’s a DXVK issue this should fix it. After that I’ll try DXVK-NVAPI.