Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvapi-gpu: Simplify work around #118

Merged
merged 1 commit into from
Mar 31, 2023
Merged

nvapi-gpu: Simplify work around #118

merged 1 commit into from
Mar 31, 2023

Conversation

jp7677
Copy link
Owner

@jp7677 jp7677 commented Mar 30, 2023

No need to initialize everything for the-last-of-us.

Much less code and also addresses a justified review comment from the initial work around. Waiting for confirmation ...

(Follow up from #117)

No need to initialize everything for the-last-of-us.
@jp7677
Copy link
Owner Author

jp7677 commented Mar 31, 2023

Confirmed on LDG that this variation is also fine for The Last of Us.

dxvk-nvapi.log
---------- 2023-03-30 13:37:26 ----------
NvAPI_QueryInterface (0xad298d3f): Unknown function ID
DXVK-NVAPI v0.6.2-16-gc8a27e0 (tlou-i.exe)
Successfully acquired Vulkan vkGetInstanceProcAddr @ 0x3b6dc40a0
NvAPI Device: NVIDIA GeForce RTX 2080 (525.47.15)
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_SYS_GetDriverAndBranchVersion: OK
NvAPI_EnumPhysicalGPUs: OK
NvAPI_GPU_GetPCIIdentifiers: OK
NvAPI_GPU_GetArchInfo: OK
Faking GPU query success due to detecting tlou-i.exe/tlou-i-l.exe
NvAPI_GPU_GetGpuCoreCount: OK
Faking GPU query success due to detecting tlou-i.exe/tlou-i-l.exe
NvAPI_GPU_GetPstates20: OK
Faking GPU query success due to detecting tlou-i.exe/tlou-i-l.exe
NvAPI_GPU_GetAllClockFrequencies: OK
NvAPI_QueryInterface NvAPI_GPU_GetMemoryInfoEx: Not implemented method
NvAPI_Initialize: OK
NvAPI_DRS_CreateSession: OK
NvAPI_DRS_LoadSettings: OK
NvAPI_DRS_GetBaseProfile: 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_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 (Z:\mnt\cdrive0\Games\The Last of Us Part I\tlou-i.exe): Executable not found
NvAPI_DRS_DestroySession: OK
NvAPI_Initialize: 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_75): OK
NvAPI_DRS_GetSetting (0x10afb76a/Unknown): Setting not found
NvAPI_DRS_GetSetting (0x10afb76c/Unknown): Setting not found
NvAPI_D3D12_CreateCubinComputeShaderWithName: OK
NvAPI_D3D12_CaptureUAVInfo: OK
NvAPI_D3D12_GetCudaTextureObject: OK
NvAPI_D3D12_LaunchCubinShader: OK
NvAPI_DRS_DestroySession: OK
NvAPI_D3D12_DestroyCubinComputeShader: OK

@jp7677 jp7677 merged commit 7411202 into master Mar 31, 2023
@jp7677 jp7677 deleted the last-of-us-simplify branch March 31, 2023 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant