Nsight crashes on ID3D11DeviceContext->ClearState()

I’m debugging an Ogre 2.0 powered application with nsight under DX11. The engine always correctly renders one frame and then crashes. Surprisingly, the application does run normally without running under nsight. As the crash is inside the nsight code, I really need help figuring out what has been done wrong.

Here is the stack frame:

Nvda.Graphics.Interception.dll!00007ff9b36a1a0f() //It’s trying to call a weird non-exist address
Nvda.Graphics.Interception.dll!00007ff9b36b0700()
Nvda.Graphics.Interception.dll!00007ff9b370ab54()
Nvda.Graphics.Interception.dll!00007ff9b41c119d()
RenderSystem_Direct3D11_d.dll!Ogre::D3D11RenderSystem::_setRenderTarget(Ogre::RenderTarget * target) Line 2161 C++ //This calls ClearState()
OgreMain_d.dll!Ogre::CompositorWorkspace::_validateFinalTarget() Line 547 C++
OgreMain_d.dll!Ogre::CompositorManager2::_update() Line 510 C++

Thanks

Hi layered_pancakes,

We need more information:

  • OS, GPU, driver information
  • nsight version
  • do you have dmp file?
  • better to have a runnable sample for local repro and investigation

Thanks
An

Hi An,
I have PMed you with those files.

Thanks a lot
Toby

Hi Toby,

I got it and have the local repro, we are working on this and will let you know ASAP.

Thanks
An

Hi Toby,

Sorry for the delay, I just confirmed your issue has been fixed in the coming release of Nsight 5.0.

Thanks
An