Hi,
We implemented newest DLSS 3.7.3 plugin in Official UE5.4 Edition. Everything is fine except that crashes happened on some machines occasionally when UE5 editor is launched. One of them is using Win10, 4080Super card, and newest Nvidia driver 565.90.
Crash occurs when the editor has been running for several minutes. then UE crash Window shows that:
Unhandled Exception:EXCEPTION_ACCESS_VIOLATION reading address Oxffffffffffffffff
UnrealEditor_NGXVulkanRHI.
that all, no more code stack, even in log file.
This is odd, because we choose dx12 as TargetRHI in Project setting. Some log messages could prove it. Don’ t know why it has something to do with vulkanRHI:
LogDLSSNGXVulkanRHIPreInit: GetSelectedDynamicRHIModuleName = D3D12RHI
LogDLSSNGXVulkanRHIPreInit: VulkanRHI is not the active DynamicRHI; skipping of pregistering the required NGX DLSS Vulkan device and instance extensions via the VulkanRHIBridge
LogDLSSNGXVulkanRHIPreInit: FNGXVulkanRHIPreInitModule::StartupModule Leave
We reviewed editor log , and find out that every time crash occurs, there will be this log:
LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXCubinD3D12::CreateKernel:375] error: NvAPI_D3D12_CreateCubinComputeShader failed - nvapi status -1
And then Log show that DLSS-SR is not supported,.
LogDLSS: NVIDIA NGX DLSS supported SR=0 RR=0
And sometimes everything works fine on this machine, no crash, DLSS works perfectly, just like it does on other colleagues’ computers. the output log will be:
LogDLSS: NVIDIA NGX DLSS supported SR=1 RR=0
We don’t know what happend in NvAPI_D3D12_CreateCubinComputeShader because it’s inside dll. how should we avoid this crash?
Look forward to your reply, thanks!
Here is the log context, i delete some project path info.
LogDLSSBlueprint: Loaded DLSS-SR plugin version 3.7.3
LogDLSSNGXVulkanRHIPreInit: FNGXVulkanRHIPreInitModule::StartupModule Enter
LogDLSSNGXVulkanRHIPreInit: GetSelectedDynamicRHIModuleName = D3D12RHI
LogDLSSNGXVulkanRHIPreInit: VulkanRHI is not the active DynamicRHI; skipping of pregistering the required NGX DLSS Vulkan device and instance extensions via the VulkanRHIBridge
LogDLSSNGXVulkanRHIPreInit: FNGXVulkanRHIPreInitModule::StartupModule Leave
[2024.10.21-11.36.06:332][ 0]LogDLSS: FDLSSModule::StartupModule Enter
[2024.10.21-11.36.06:332][ 0]LogDLSS: PluginBaseDir …/…/…/…/…/Client/Plugins/Runtime/Nvidia/DLSS
[2024.10.21-11.36.06:332][ 0]LogDLSS: NGXBinariesDir …/…/…/…/…/Client/Plugins/Runtime/Nvidia/DLSS/Binaries/ThirdParty/Win64/
[2024.10.21-11.36.06:332][ 0]LogDLSS: GDynamicRHIName NVIDIA D3D12
[2024.10.21-11.36.06:332][ 0]LogDLSS: Plugin settings: NGXAppId = 0
[2024.10.21-11.36.06:333][ 0]LogDLSS: NGX Application ID not specified, using the Project ID by default.
[2024.10.21-11.36.06:343][ 0]LogDLSSNGXRHI: FNGXRHIModule::StartupModule Enter
[2024.10.21-11.36.06:344][ 0]LogDLSSNGXRHI: FNGXRHIModule::StartupModule Leave
[2024.10.21-11.36.06:344][ 0]LogDLSSNGXRHI: Searching for custom and generic DLSS binaries
[2024.10.21-11.36.06:344][ 0]LogDLSSNGXRHI: NVIDIA NGX DLSS binary nvngx_dlss.dll not found in search path F:\Client\Binaries\ThirdParty\NVIDIA\NGX\Win64
[2024.10.21-11.36.06:344][ 0]LogDLSSNGXRHI: NVIDIA NGX DLSS binary nvngx_dlss.dll not found in search path F:\Client\Intermediate\ProjectFiles\Binaries\ThirdParty\NVIDIA\NGX\Win64
[2024.10.21-11.36.06:344][ 0]LogDLSSNGXRHI: NVIDIA NGX DLSS binary nvngx_dlss.dll found in search path F:\Client\Plugins\Runtime\Nvidia\DLSS\Binaries\ThirdParty\Win64
[2024.10.21-11.36.06:344][ 0]LogDLSSNGXRHI: DLSS model OTA update disabled
[2024.10.21-11.36.06:344][ 0]LogDLSSNGX: [SDK]: [2024-10-21 19:36:06] [NGXSafeInitializeLog:141] App logging hooks successfully initialized
[2024.10.21-11.36.06:344][ 0]LogDLSSNGX: [SDK]: [2024-10-21 19:36:06] [NGXLoadLibrary:269] error: failed to load NGXCore: 126 (\Engine\Binaries\Win64_nvngx.dll)
[2024.10.21-11.36.06:344][ 0]LogDLSSNGX: [SDK]: [2024-10-21 19:36:06] [NGXLoadLibrary:269] error: failed to load NGXCore: 126 (\Engine\Binaries\Win64\nvngx.dll)
[2024.10.21-11.36.06:344][ 0]LogDLSSNGX: [SDK]: [2024-10-21 19:36:06] [NGXGetPathUsingQAI:138] Path to driverStore found using QAI: C:\Windows\System32\DriverStore\FileRepository\nvddi.inf_amd64_3bd13cb14bdda309
[2024.10.21-11.36.06:483][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXSafeInitializeLog:133] App logging hooks successfully initialized
[2024.10.21-11.36.06:538][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXGetPathUsingQAI:509] Path to driverStore found using QAI: C:\Windows\System32\DriverStore\FileRepository\nvddi.inf_amd64_3bd13cb14bdda309
[2024.10.21-11.36.06:538][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXGetPath:913] using path for models: C:\ProgramData/NVIDIA/NGX/models/
[2024.10.21-11.36.06:538][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXGetPath:913] using path for models: C:\ProgramData/NVIDIA/NGX/models/
[2024.10.21-11.36.06:545][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [ModifyExistingFolderDACL:210] updated access control list for NGX cache (NGX cache should now be usable by all authenticated users)
[2024.10.21-11.36.06:545][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXCreateModelsFolder:1014] model folder created: C:\ProgramData/NVIDIA/NGX/models/
[2024.10.21-11.36.06:545][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1086] [dlss]
[2024.10.21-11.36.06:545][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_E658702=0.0.0
[2024.10.21-11.36.06:545][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_E658701=0.0.0
[2024.10.21-11.36.06:545][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9FEB50=1.0.108
[2024.10.21-11.36.06:545][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9FF4BC=1.0.108
[2024.10.21-11.36.06:545][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9FD524=1.0.108
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9DF510=1.3.106
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9CB0B8=1.0.108
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9E26B0=2.1.28
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9D48D0=1.0.108
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_E99B5EC=1.2.109
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9DFA64=1.0.108
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9FD6C0=1.0.108
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9CF688=2.2.15
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9D6F08=1.0.108
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9BF564=2.1.28
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9DB4F4=1.0.108
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9D2F5C=1.2.110
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9D7388=1.0.108
[2024.10.21-11.36.06:546][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9F5618=2.1.29
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9DAE68=1.2.109
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9D8C54=1.2.109
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9D3EF0=2.1.28
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9FACDC=2.1.28
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_F7361DC=2.1.28
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9C3560=2.1.19
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9B0430=2.1.28
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_E658703=0.0.0
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_86AA7B4=3.7.10
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1086] [dlisp]
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9CF688=2.1.15
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_E99B5EC=1.2.102
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_E658703=1.0.101
[2024.10.21-11.36.06:547][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9D8C54=1.2.106
[2024.10.21-11.36.06:548][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9D2F5C=1.2.106
[2024.10.21-11.36.06:548][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9DF510=1.3.101
[2024.10.21-11.36.06:548][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXLoadConfig:1092] app_B9DAE68=1.2.106
[2024.10.21-11.36.06:549][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [anonymous-namespace'::LoadMappingFileData:267] listItem.engineVersion .* listItem.genericCMSId 86aa7b4 [2024.10.21-11.36.06:549][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [
anonymous-namespace’::LoadMappingFileData:281] project id 3F9D696D4363312194B0ECB2671E899F cms id B9FBD50
[2024.10.21-11.36.06:549][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [anonymous-namespace'::LoadMappingFileData:267] listItem.engineVersion .* listItem.genericCMSId 8618954 [2024.10.21-11.36.06:549][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [
anonymous-namespace’::LoadMappingFileData:267] listItem.engineVersion .* listItem.genericCMSId b9b05cc
[2024.10.21-11.36.06:549][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [`anonymous-namespace’::LoadMappingFileData:267] listItem.engineVersion .* listItem.genericCMSId 876232c
[2024.10.21-11.36.06:549][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [MapProjectId:1802] Found cms id 86aa7b4 for engine: ue4 engineVersion 5.4 projectID 958C2F584BC26514F046DCB15C7CFDEE
[2024.10.21-11.36.06:601][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXDRSInit:347] NvAPI_DRS_FindApplicationByName -166
[2024.10.21-11.36.06:606][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXInitValidateSnippets:191] called from module UnrealEditor-NGXD3D12RHI-Win64-DebugGame.dll at F:\Client\Plugins\Runtime\Nvidia\DLSS\Binaries\Win64
[2024.10.21-11.36.06:678][ 0]LogDLSSNGX: [Core]: [2024-10-21 19:36:06] [NGXSecureLoadFeature:972] app 86AA7B4 feature dlss snippet: F:\Client\Plugins\Runtime\Nvidia\DLSS\Binaries\ThirdParty\Win64/nvngx_dlss.dll version: 3.7.20
[2024.10.21-11.36.06:815][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXInitLog:219] App logging hooks successfully initialized
[2024.10.21-11.36.06:815][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXInitLog:226] Built with APP_NAME = custom_engine_generic
[2024.10.21-11.36.06:815][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXCubinD3D12::Init:183] Driver supports Fatbins + PTX
[2024.10.21-11.36.06:815][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXCubinKernelMap::InitCubins:60] Setting NGX Generic Cubins for arch fatbin
[2024.10.21-11.36.06:816][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXCubinGeneric::SetGPUArch:387] SetGPUArch:: Gpu count = 1, luid: 0x2858b
[2024.10.21-11.36.06:819][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXCubinGeneric::SetGPUArch:442] m_gpuArch = 0x190
[2024.10.21-11.36.06:819][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXCubinGeneric::SetGPUArch:453] m_smArch = 0x3
[2024.10.21-11.36.06:819][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXCubinGeneric::genericPostInit:142] Fast UAV clear: supported
[2024.10.21-11.36.06:820][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][DLSSCubinKernelMap::InitCubins:232] Setting DLAA Cubins for arch fatbin
[2024.10.21-11.36.06:820][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][DLSSCubinKernelMap::InitCubins:232] Setting DLSS Debug Cubins for arch fatbin
[2024.10.21-11.36.06:820][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][DLSSCubinKernelMap::InitCubins:232] Setting DLTSS Engine Cubins for arch fatbin
[2024.10.21-11.36.06:820][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][DLSSCubinKernelMap::InitCubins:232] Setting DLTSS NW Cubins for arch fatbin
[2024.10.21-11.36.06:820][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][DLSSCubinKernelMap::InitCubins:232] Setting DLTSS NW E5M3_SKIP Cubins for arch fatbin
[2024.10.21-11.36.06:921][ 0]LogDLSSNGX: [DLSS]: [2024-10-21 19:36:06] [tid:31028][NGXCubinD3D12::CreateKernel:375] error: NvAPI_D3D12_CreateCubinComputeShader failed - nvapi status -1
[2024.10.21-11.36.06:929][ 0]LogDLSSNGXD3D12RHI: NVSDK_NGX_D3D12_Init_with_ProjectID(ProjectID = 958C2F584BC26514F046DCB15C7CFDEE, EngineVersion=5.4, APIVersion = 0x15, Device=0000025FAC5C0280) → (1 NVSDK_NGX_Result_Success)
[2024.10.21-11.36.06:929][ 0]LogDLSSNGXD3D12RHI: NVSDK_NGX_D3D12_Init (Log F:/Client/Saved/Logs/NGX/NGX_2024.10.21-19.36.06_1755522D41FE23482EB31BB36B6D3A3B) → (1 NVSDK_NGX_Result_Success)
[2024.10.21-11.36.06:929][ 0]LogDLSSNGXD3D12RHI: NVSDK_NGX_D3D12_GetCapabilityParameters → (1 NVSDK_NGX_Result_Success)
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_Parameter_SuperSampling_NeedsUpdatedDriver → (1 NVSDK_NGX_Result_Success), bNeedsUpdatedDriver = 0
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_Parameter_SuperSampling_MinDriverVersionMajor → (1 NVSDK_NGX_Result_Success), MinDriverVersionMajor = 445
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_Parameter_SuperSampling_MinDriverVersionMinor → (1 NVSDK_NGX_Result_Success), MinDriverVersionMinor = 0
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_Parameter_SuperSamplingDenoising_NeedsUpdatedDriver → (1 NVSDK_NGX_Result_Success), bNeedsUpdatedDriver = 0
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_Parameter_SuperSamplingDenoising_MinDriverVersionMajor → (1 NVSDK_NGX_Result_Success), MinDriverVersionMajor = 0
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_Parameter_SuperSamplingDenoising_MinDriverVersionMinor → (1 NVSDK_NGX_Result_Success), MinDriverVersionMinor = 0
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: NVIDIA NGX DLSS is supported by the currently installed driver. Minimum driver version was reported as: 445.0
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: NVIDIA NGX DLSS-RR is supported by the currently installed driver. Minimum driver version was reported as: 0.0
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_EParameter_SuperSampling_Available → (1 NVSDK_NGX_Result_Success), DlssAvailable = 0
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_Parameter_SuperSamplingDenoising_Available → (3134193680 NVSDK_NGX_Result_FAIL_UnsupportedParameter), DlssRRAvailable = 0
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_Parameter_SuperSampling_FeatureInitResult → (1 NVSDK_NGX_Result_Success), NVSDK_NGX_Parameter_SuperSampling_FeatureInitResult = (1 NVSDK_NGX_Result_Success)
[2024.10.21-11.36.06:930][ 0]LogDLSSNGXRHI: Get NVSDK_NGX_Parameter_SuperSamplingDenoising_FeatureInitResult → (3134193680 NVSDK_NGX_Result_FAIL_UnsupportedParameter), NVSDK_NGX_Parameter_SuperSamplingDenoising_FeatureInitResult = (3134193664 NVSDK_NGX_Result_Fail)
[2024.10.21-11.36.06:930][ 0]LogDLSS: NVIDIA NGX DLSS supported SR=0 RR=0
[2024.10.21-11.36.06:930][ 0]LogDLSS: FDLSSModule::StartupModule Leave
[2024.10.21-11.36.06:960][ 0]LogDLSSEditor: FDLSSEditorModule::StartupModule Enter
[2024.10.21-11.36.06:960][ 0]LogDLSSEditor: DLSS module 0000052317230930, QueryDLSSSupport = 1 DLSSUpscaler = 0000000000000000
[2024.10.21-11.36.06:960][ 0]LogDLSSEditor: FDLSSEditorModule::StartupModule Leave