NVidia NSight 5.5 Performance Analysis crashes on startup if OpenGL tracing is enabled (solved: fixed in v5.6)

The crash occurs under the Nsight Graphics 2018.4 “Frame Debugger” right during app startup.

If I disable “Driver Instrumentation”, the app runs until the first frame is rendered, and the app then
crashes. I will try to reproduce with a smaller sample app and share it with you.

  • Nsight Graphics 2018.4 “Frame Debugger”
  • Geforce GTX 980 Ti
  • Windows 10 Version 1803 (Build 17134.228)
  • Driver 399.07
  • Partial backtrace (first line is call stack leaf):
    nvoglv64.dll!0000000057f802f6() Unknown
    Nvda.Graphics.Interception.dll!00007fff8907b600() Unknown
    Nvda.Graphics.Interception.dll!00007fff88a588ba() Unknown
    Nvda.Graphics.Interception.dll!00007fff88a5835a() Unknown
    Nvda.Graphics.Interception.dll!00007fff87e64b75() Unknown
    Nvda.Graphics.Interception.dll!00007fff8840ddf8() Unknown
    Nvda.Graphics.Interception.dll!00007fff8840be34() Unknown
    Nvda.Graphics.Interception.dll!00007fff8841ae6f() Unknown
    Nvda.Graphics.Interception.dll!00007fff8841dec5() Unknown

Hi m_massing,

Thanks for the information! While you are preparing a smaller reproducible sample app, could you please share me the dump file? You can use any cloud share you like and send me the link via PM.

Thanks.

hello, i have exactly the same problem when DirectX tracing is enabled. do i understand correctly, that currently only DirectX 12 api tracing is supported? so an application based on DirectX 11 does not work?

Hi tonfilm,

Are you using Nsight Graphics or Nsight Visual Studio Edition?
Nsight Visual Studio Edition’s Performance Analysis supports OpenGL/DX11/DX12.
And if you have questions about Nsight Graphics, please kindly post it in Nsight Graphics subforum.

the crash occurred with Nsight Visual Studio Edition. when launching a dx11 application with DirectX selected for trace, Nsight crashes as soon as the application creates the window.

Hi tonfilm,

Thank you for the quick reply.
Could you please provide a little bit more information?

  • GPU model

  • Driver

  • Nsight VSE version

  • Windows version, build number

  • Can you confirm you have set the correct working directory in analysis activity?

  • Could you also try it on other DX11 samples, for example, Mircosoft DX SDK samples, to whether this issue is reproducible?

  • By saying “Nsight crashes”, do you mean a crash reporter dialog pops up? if so, could you please save the dump file, upload to any cloud share you like and send me the link via PM?

  • If possible, can you share the sample application with us? that would help identify the issue more quickly.

Thanks,
codym

  • GPU model
    GTX 970M

  • Driver
    411.63

  • Nsight VSE version
    6.0

  • Windows version, build number
    Windows 10 Build 17134

What should the working directory be? it was set automatically and there is no info on it in the docu?
I currently don’t have time to download and test DX SDK samples. i have a .NET application done with the Xenko game engine, not a native c++ application.

screencast for more clarity:
http://recordit.co/8phi80kI4F

Hi tonfilm,

Thanks for your reply and screencap.

I tried a SharpDX samples “MultiCube” from https://github.com/sharpdx/SharpDX-Samples , Performance Analysis works fine on my local machine. I will take a look at Xenko engine next.

Hi tonfilm,

I have tried the sample “AnimatedModel” from Xenko engine on Nsight 6.0, it didn’t crash. But in Performance Analysis report, it shows warning “Nsight does not support D3D11 feature level below 10.0, the device will not be wrapped”. So it looks like the game engine is using old features that Nsight doesn’t support.