NSight Systems not able to start capture

Hi,

I have installed the latest Nsight Systems and try to run it at Windows 11 as admin.

After connecting to the localhost machine and specifying the target app I get the following error:

An error occurred.

If this error persists, please restart the app and/or reboot the target.

Version information: NVIDIA Nsight Systems, 2023.3.1.92-233133147223v0 Windows-x64

Full error information:
RuntimeError (120) {
RuntimeError (120) {
OriginalExceptionClass: struct boost::wrapexcept
OriginalFile: C:\dvs\p4\build\sw\devtools\Agora\Rel\QuadD_Main\QuadD\Host\Analysis\Clients\AnalysisHelper\AnalysisStatus.cpp
OriginalLine: 79
OriginalFunction: class Nvidia::QuadD::Analysis::Data::AnalysisStatusInfo __cdecl QuadDAnalysis::AnalysisHelper::AnalysisStatus::MakeFromErrorString(enum Nvidia::QuadD::Analysis::Data::AnalysisStatus,enum Nvidia::QuadD::Analysis::Data::AnalysisErrorType::Type,const class std::basic_string<char,struct std::char_traits,class std::allocator > &,const class boost::intrusive_ptr &)
ErrorText: Failed to open thread 21332 from process 23228
}
}

Profiling options:
DeviceId: “Local”
EventTypes {
Items: CpuCycles
Items: Graphics
}
RateHz: 1000
HowToStart: Manual
HowToStop: Delayed
DeviceType: Windows
DeviceDisplayName: “”
WindowsPerfOptions {
CollectThreadActivity: true
CollectThreadBacktrace: false
retainEtwFiles: true
SymbolSearchVerboseLog: false
AutomaticallyGenerateReportFileNames: false
}
Processes {
HowToAttach: LaunchAnother
Command: “D:\repos\gfx\build\gfx\Debug\gfx.exe”
WorkingDirectory: “D:\repos\gfx\build\gfx\Debug”
UserName: “Administrator”
CollectCpuTrace: true
}
ShowBacktrace: true
DurationMilliseconds: 10000
GraphicsTraceOptions {
opengl_functions: “glCallCommandListNV”
opengl_functions: “glClientWaitSync”
opengl_functions: “glFenceSync”
opengl_functions: “glFenceSyncStreamNV”
opengl_functions: “glFinish”
opengl_functions: “glFinishFenceNV”
opengl_functions: “glFlush”
opengl_functions: “glGenerateMipmap”
opengl_functions: “glGenerateMipmapEXT”
opengl_functions: “glGenerateMipmapOES”
opengl_functions: “glMulticastWaitSyncNV”
opengl_functions: “glReadnPixels”
opengl_functions: “glReadnPixelsARB”
opengl_functions: “glReadnPixelsEXT”
opengl_functions: “glReadnPixelsKHR”
opengl_functions: “glReadPixels”
opengl_functions: “glSignalSemaphoreEXT”
opengl_functions: “glWaitSemaphoreEXT”
opengl_functions: “glWaitSync”
opengl_functions: “glWaitSyncStreamNV”
opengl_functions: “glClear”
opengl_functions: “glClearAccum”
opengl_functions: “glClearBufferData”
opengl_functions: “glClearBufferfi”
opengl_functions: “glClearBufferfv”
opengl_functions: “glClearBufferiv”
opengl_functions: “glClearBufferSubData”
opengl_functions: “glClearBufferuiv”
opengl_functions: “glClearColor”
opengl_functions: “glClearColorIiEXT”
opengl_functions: “glClearColorIuiEXT”
opengl_functions: “glClearColorx”
opengl_functions: “glClearDepth”
opengl_functions: “glClearDepthdNV”
opengl_functions: “glClearDepthf”
opengl_functions: “glClearDepthx”
opengl_functions: “glClearIndex”
opengl_functions: “glClearNamedBufferData”
opengl_functions: “glClearNamedBufferDataEXT”
opengl_functions: “glClearNamedBufferSubData”
opengl_functions: “glClearNamedBufferSubDataEXT”
opengl_functions: “glClearNamedFramebufferfi”
opengl_functions: “glClearNamedFramebufferfv”
opengl_functions: “glClearNamedFramebufferiv”
opengl_functions: “glClearNamedFramebufferuiv”
opengl_functions: “glClearStencil”
opengl_functions: “glClearTexImage”
opengl_functions: “glClearTexImageEXT”
opengl_functions: “glClearTexSubImage”
opengl_functions: “glClearTexSubImageEXT”
opengl_functions: “glComputeStreamNV”
opengl_functions: “glDispatchCompute”
opengl_functions: “glDispatchComputeGroupSizeARB”
opengl_functions: “glDispatchComputeIndirect”
opengl_functions: “glDrawArrays”
opengl_functions: “glDrawArraysEXT”
opengl_functions: “glDrawArraysIndirect”
opengl_functions: “glDrawArraysInstanced”
opengl_functions: “glDrawArraysInstancedARB”
opengl_functions: “glDrawArraysInstancedBaseInstance”
opengl_functions: “glDrawArraysInstancedBaseInstanceEXT”
opengl_functions: “glDrawArraysInstancedEXT”
opengl_functions: “glDrawArraysInstancedNV”
opengl_functions: “glDrawBuffer”
opengl_functions: “glDrawBuffers”
opengl_functions: “glDrawBuffersARB”
opengl_functions: “glDrawBuffersATI”
opengl_functions: “glDrawBuffersNV”
opengl_functions: “glDrawCommandsAddressNV”
opengl_functions: “glDrawCommandsNV”
opengl_functions: “glDrawCommandsStatesAddressNV”
opengl_functions: “glDrawCommandsStatesNV”
opengl_functions: “glDrawElements”
opengl_functions: “glDrawElementsBaseVertex”
opengl_functions: “glDrawElementsBaseVertexEXT”
opengl_functions: “glDrawElementsBaseVertexOES”
opengl_functions: “glDrawElementsIndirect”
opengl_functions: “glDrawElementsInstanced”
opengl_functions: “glDrawElementsInstancedARB”
opengl_functions: “glDrawElementsInstancedBaseInstance”
opengl_functions: “glDrawElementsInstancedBaseInstanceEXT”
opengl_functions: “glDrawElementsInstancedBaseVertex”
opengl_functions: “glDrawElementsInstancedBaseVertexBaseInstance”
opengl_functions: “glDrawElementsInstancedBaseVertexBaseInstanceEXT”
opengl_functions: “glDrawElementsInstancedBaseVertexEXT”
opengl_functions: “glDrawElementsInstancedBaseVertexOES”
opengl_functions: “glDrawElementsInstancedEXT”
opengl_functions: “glDrawElementsInstancedNV”
opengl_functions: “glDrawMeshTasksIndirectNV”
opengl_functions: “glDrawMeshTasksNV”
opengl_functions: “glDrawPixels”
opengl_functions: “glDrawRangeElements”
opengl_functions: “glDrawRangeElementsBaseVertex”
opengl_functions: “glDrawRangeElementsBaseVertexEXT”
opengl_functions: “glDrawRangeElementsBaseVertexOES”
opengl_functions: “glDrawRangeElementsEXT”
opengl_functions: “glDrawTexfOES”
opengl_functions: “glDrawTexfvOES”
opengl_functions: “glDrawTexiOES”
opengl_functions: “glDrawTexivOES”
opengl_functions: “glDrawTexsOES”
opengl_functions: “glDrawTexsvOES”
opengl_functions: “glDrawTextureNV”
opengl_functions: “glDrawTexxOES”
opengl_functions: “glDrawTexxvOES”
opengl_functions: “glDrawTransformFeedback”
opengl_functions: “glDrawTransformFeedbackEXT”
opengl_functions: “glDrawTransformFeedbackInstanced”
opengl_functions: “glDrawTransformFeedbackInstancedEXT”
opengl_functions: “glDrawTransformFeedbackNV”
opengl_functions: “glDrawTransformFeedbackStream”
opengl_functions: “glDrawTransformFeedbackStreamInstanced”
opengl_functions: “glFramebufferDrawBufferEXT”
opengl_functions: “glFramebufferDrawBuffersEXT”
opengl_functions: “glListDrawCommandsStatesClientNV”
opengl_functions: “glMultiDrawArrays”
opengl_functions: “glMultiDrawArraysEXT”
opengl_functions: “glMultiDrawArraysIndirect”
opengl_functions: “glMultiDrawArraysIndirectAMD”
opengl_functions: “glMultiDrawArraysIndirectBindlessCountNV”
opengl_functions: “glMultiDrawArraysIndirectBindlessNV”
opengl_functions: “glMultiDrawArraysIndirectCount”
opengl_functions: “glMultiDrawArraysIndirectCountARB”
opengl_functions: “glMultiDrawArraysIndirectEXT”
opengl_functions: “glMultiDrawElements”
opengl_functions: “glMultiDrawElementsBaseVertex”
opengl_functions: “glMultiDrawElementsEXT”
opengl_functions: “glMultiDrawElementsIndirect”
opengl_functions: “glMultiDrawElementsIndirectAMD”
opengl_functions: “glMultiDrawElementsIndirectBindlessCountNV”
opengl_functions: “glMultiDrawElementsIndirectBindlessNV”
opengl_functions: “glMultiDrawElementsIndirectCount”
opengl_functions: “glMultiDrawElementsIndirectCountARB”
opengl_functions: “glMultiDrawElementsIndirectEXT”
opengl_functions: “glMultiDrawMeshTasksIndirectCountNV”
opengl_functions: “glMultiDrawMeshTasksIndirectNV”
opengl_functions: “glNamedFramebufferDrawBuffer”
opengl_functions: “glNamedFramebufferDrawBuffers”
opengl_functions: “eglClientWaitSync”
opengl_functions: “eglClientWaitSyncKHR”
opengl_functions: “eglClientWaitSyncNV”
opengl_functions: “eglSignalSyncKHR”
opengl_functions: “eglSignalSyncNV”
opengl_functions: “eglSwapBuffers”
opengl_functions: “eglSwapBuffersWithDamageKHR”
opengl_functions: “eglWaitClient”
opengl_functions: “eglWaitGL”
opengl_functions: “eglWaitNative”
opengl_functions: “eglWaitSync”
opengl_functions: “eglWaitSyncKHR”
opengl_functions: “glBlitFramebuffer”
opengl_functions: “glBlitFramebufferEXT”
opengl_functions: “glBlitFramebufferNV”
opengl_functions: “glBlitNamedFramebuffer”
opengl_functions: “glMulticastBlitFramebufferNV”
opengl_functions: “glXGetCurrentDrawable”
opengl_functions: “glXGetCurrentReadDrawable”
opengl_functions: “glXQueryDrawable”
opengl_functions: “glXSwapBuffers”
opengl_functions: “glXWaitGL”
opengl_functions: “glXWaitVideoSyncSGI”
opengl_functions: “glXWaitX”
opengl_functions: “glCopyPathNV”
opengl_functions: “glCoverFillPathInstancedNV”
opengl_functions: “glCoverFillPathNV”
opengl_functions: “glCoverStrokePathInstancedNV”
opengl_functions: “glCoverStrokePathNV”
opengl_functions: “glIsPathNV”
opengl_functions: “glIsPointInFillPathNV”
opengl_functions: “glIsPointInStrokePathNV”
opengl_functions: “glPointAlongPathNV”
opengl_functions: “glStencilFillPathInstancedNV”
opengl_functions: “glStencilFillPathNV”
opengl_functions: “glStencilStrokePathInstancedNV”
opengl_functions: “glStencilStrokePathNV”
opengl_functions: “glStencilThenCoverFillPathInstancedNV”
opengl_functions: “glStencilThenCoverFillPathNV”
opengl_functions: “glStencilThenCoverStrokePathInstancedNV”
opengl_functions: “glStencilThenCoverStrokePathNV”
opengl_functions: “glTransformPathNV”
opengl_functions: “glGetQueryObjecti64v”
opengl_functions: “glGetQueryObjecti64vEXT”
opengl_functions: “glGetQueryObjectiv”
opengl_functions: “glGetQueryObjectivARB”
opengl_functions: “glGetQueryObjectui64v”
opengl_functions: “glGetQueryObjectui64vEXT”
opengl_functions: “glGetQueryObjectui64vNV”
opengl_functions: “glGetQueryObjectuiv”
opengl_functions: “glGetQueryObjectuivARB”
opengl_functions: “glGetQueryObjectuivEXT”
opengl_functions: “glQueryCounter”
opengl_functions: “glQueryCounterEXT”
opengl_functions: “glQueryCounterNV”
opengl_functions: “glGenerateMultiTexMipmapEXT”
opengl_functions: “glGenerateTextureMipmap”
opengl_functions: “glGenerateTextureMipmapEXT”
opengl_functions: “SwapBuffers”
opengl_functions: “wglDrawBufferRegion”
opengl_functions: “wglSwapBuffers”
opengl_functions: “glBindFramebuffer”
opengl_functions: “glBindFramebufferEXT”
opengl_functions: “glBindFramebufferOES”
opengl_functions: “glCopyBufferSubData”
opengl_functions: “glCopyBufferSubDataNV”
opengl_functions: “glCopyColorSubTable”
opengl_functions: “glCopyColorTable”
opengl_functions: “glCopyConvolutionFilter1D”
opengl_functions: “glCopyConvolutionFilter2D”
opengl_functions: “glCopyImageSubData”
opengl_functions: “glCopyImageSubDataEXT”
opengl_functions: “glCopyImageSubDataNV”
opengl_functions: “glCopyImageSubDataOES”
opengl_functions: “glCopyMultiTexImage2DEXT”
opengl_functions: “glCopyMultiTexSubImage1DEXT”
opengl_functions: “glCopyMultiTexSubImage2DEXT”
opengl_functions: “glCopyMultiTexSubImage3DEXT”
opengl_functions: “glCopyNamedBufferSubData”
opengl_functions: “glCopyPixels”
opengl_functions: “glCopyTexImage1D”
opengl_functions: “glCopyTexImage2D”
opengl_functions: “glCopyTexSubImage1D”
opengl_functions: “glCopyTexSubImage2D”
opengl_functions: “glCopyTexSubImage3D”
opengl_functions: “glCopyTexSubImage3DEXT”
opengl_functions: “glCopyTexSubImage3DNV”
opengl_functions: “glCopyTextureImage1DEXT”
opengl_functions: “glCopyTextureImage2DEXT”
opengl_functions: “glCopyTextureSubImage1D”
opengl_functions: “glCopyTextureSubImage1DEXT”
opengl_functions: “glCopyTextureSubImage2D”
opengl_functions: “glCopyTextureSubImage2DEXT”
opengl_functions: “glCopyTextureSubImage3D”
opengl_functions: “glCopyTextureSubImage3DEXT”
opengl_functions: “glDebugMessageInsert”
opengl_functions: “glDebugMessageInsertARB”
opengl_functions: “glDebugMessageInsertKHR”
opengl_functions: “glDebugMessageInsertOES”
opengl_functions: “glFramebufferRenderbuffer”
opengl_functions: “glFramebufferRenderbufferEXT”
opengl_functions: “glFramebufferRenderbufferOES”
opengl_functions: “glFramebufferTexture”
opengl_functions: “glFramebufferTexture1D”
opengl_functions: “glFramebufferTexture1DEXT”
opengl_functions: “glFramebufferTexture2D”
opengl_functions: “glFramebufferTexture2DEXT”
opengl_functions: “glFramebufferTexture2DOES”
opengl_functions: “glFramebufferTexture3D”
opengl_functions: “glFramebufferTexture3DEXT”
opengl_functions: “glFramebufferTextureARB”
opengl_functions: “glFramebufferTextureEXT”
opengl_functions: “glFramebufferTextureFaceARB”
opengl_functions: “glFramebufferTextureFaceEXT”
opengl_functions: “glFramebufferTextureLayer”
opengl_functions: “glFramebufferTextureLayerARB”
opengl_functions: “glFramebufferTextureLayerEXT”
opengl_functions: “glFramebufferTextureLayerNV”
opengl_functions: “glFramebufferTextureOES”
opengl_functions: “glGetBufferSubData”
opengl_functions: “glGetBufferSubDataARB”
opengl_functions: “glGetQueryBufferObjecti64v”
opengl_functions: “glGetQueryBufferObjectiv”
opengl_functions: “glGetQueryBufferObjectui64v”
opengl_functions: “glGetQueryBufferObjectuiv”
opengl_functions: “glGetQueryIndexediv”
opengl_functions: “glGetQueryiv”
opengl_functions: “glGetQueryivARB”
opengl_functions: “glGetQueryivEXT”
opengl_functions: “glMapBuffer”
opengl_functions: “glMapBufferARB”
opengl_functions: “glMapBufferOES”
opengl_functions: “glMapBufferRange”
opengl_functions: “glMapBufferRangeEXT”
opengl_functions: “glMapNamedBuffer”
opengl_functions: “glMapNamedBufferEXT”
opengl_functions: “glMapNamedBufferRange”
opengl_functions: “glMapNamedBufferRangeEXT”
opengl_functions: “glMemoryBarrier”
opengl_functions: “glMemoryBarrierByRegion”
opengl_functions: “glMemoryBarrierEXT”
opengl_functions: “glMemoryBarrierStreamNV”
opengl_functions: “glMulticastCopyBufferSubDataNV”
opengl_functions: “glMulticastCopyImageSubDataNV”
opengl_functions: “glPopDebugGroup”
opengl_functions: “glPopDebugGroupKHR”
opengl_functions: “glPopDebugGroupOES”
opengl_functions: “glPushDebugGroup”
opengl_functions: “glPushDebugGroupKHR”
opengl_functions: “glPushDebugGroupOES”
opengl_functions: “glXCreateContext”
opengl_functions: “glXCreateContextAttribsARB”
opengl_functions: “glXCreateContextWithConfigSGIX”
opengl_functions: “glXCreateNewContext”
opengl_functions: “glXDestroyContext”
opengl_functions: “glXFreeContextEXT”
opengl_functions: “glXImportContextEXT”
opengl_functions: “glXMakeContextCurrent”
opengl_functions: “glXMakeCurrent”
opengl_functions: “wglCreateContext”
opengl_functions: “wglCreateContextAttribsARB”
opengl_functions: “wglCreateLayerContext”
opengl_functions: “wglDeleteContext”
opengl_functions: “wglMakeContextCurrentARB”
opengl_functions: “wglMakeContextCurrentEXT”
opengl_functions: “wglMakeCurrent”
opengl_functions: “eglCreateContext”
opengl_functions: “eglDestroyContext”
opengl_functions: “eglMakeCurrent”
collect_opengl_workload: true
}
IncludeChildren: true
SymbolResolutionOptions {
ResolveSymbols: false
}

Any help/idea anyone?

Thanks,
d

Also just for reference, I installed 2020.4.1 and it worked perfectly!

Glad you found a workaround, but it would be good to see what is happening with the recent release as well.

@dofek, can you assign someone to take a look at this?

Hi dimitris64bit,
This exception may occur when a thread inside the target application exits during the initialization of the trace session.
Are there any additional trace or monitoring tools installed that may cause additional threads to run during process initialization?

The following are installed:

Nsight Graphics 2023.3.0\Nsight Graphics 2023.3.0
Nsight Graphics 2023.3.0\Nsight Aftermath Monitor 2023.3.0.
Nsight Graphics 2023.3.0\Nsight Graphics 2023.3.0 Remote Monitor

and of course:
Nsight Systems 2020.4.1 (working)
Nsight Systems 2023.3.1 (not working)

for the SSD I have also this, but I don’t think this could affect capturing of CPU/GPU:

in any case I ended this task, but still getting the same error.

Are there any debug flags that I can use to get a more verbose output of the error?

Thanks.

I added handling of this case to Nsight Systems. The fix will be available in the next public release.

Thank you. Looking forward to the new version and give it a try.