DX12 commandlist Reset

Hi,

My application crashes on call m_pCommandList->Reset(m_pCurrentAllocator, nullptr) when GFSDK_Aftermath_FeatureFlags_EnableMarkers is enable.

Is there a known workaround ?

Thanks

Regards,

Laurent

Hello,
Thank you for reporting your issue. I’m checking with the engineering team to help provide you with a recommendation on resolving this issue.

Hello,
Please confirm which Aftermath version and driver version you are using. The other question is are you calling GFSDK_Aftermath_DX12_CreateContextHandle() on the command list before you call reset on it? Please note you can get the latest Nsight Aftermath SDK from here https://developer.nvidia.com/nsight-aftermath.

Hello,

Yes, I’m calling GFSDK_Aftermath_DX12_CreateContextHandle. Note the application crashes before any GFSDK_Aftermath_SetEventMarker call.

Here is the callstack:
nvwgf2umx.dll!00007ffe81ffd4ac() Unknown
nvwgf2umx.dll!00007ffe81e55a54() Unknown
nvwgf2umx.dll!00007ffe81e549b4() Unknown
nvwgf2umx.dll!00007ffe81faf70e() Unknown
nvwgf2umx.dll!00007ffe82b9d71e() Unknown
nvwgf2umx.dll!00007ffe81fa8168() Unknown
D3D12.dll!00007fff205345ce() Unknown
D3D12.dll!00007fff205983b3() Unknown
GraphicsEngineD3D12_64r.dll!Diligent::CommandContext::Reset(Diligent::CommandListManager & CmdListManager) Line 71 C++
GraphicsEngineD3D12_64r.dll!Diligent::RenderDeviceD3D12Impl::AllocateCommandContext(const char * ID) Line 341 C++
GraphicsEngineD3D12_64r.dll!Diligent::DeviceContextD3D12Impl::RequestCommandContext(Diligent::RenderDeviceD3D12Impl * pDeviceD3D12Impl) Line 660 C++
GraphicsEngineD3D12_64r.dll!Diligent::DeviceContextD3D12Impl::Flush(bool RequestNewCmdCtx) Line 695 C++
GraphicsEngineD3D12_64r.dll!Diligent::DeviceContextD3D12Impl::Flush() Line 711 C++

error is: Exception thrown at 0x00007FFE81FFD4AC (nvwgf2umx.dll) inXXXX.exe: 0xC0000005: Access violation reading location 0x0000000000000010.
As you can see, I’m using open source Diligent Engine you can find there:


My configuration is attached.
I’m using Aftermath dll version is 2.8.0.0.

Regards,
Laurent
NVIDIA System Information 09-07-2020 09-33-37.txt (3.5 KB)

Hello,
I understand you are working with our DevRel and DevTech engineers within Nvidia. Let me know if that is the case now. They should be taking the discussion from here.