Debugging GPU hang/crash. Is this possible with NSight?


If the GPU hangs/crashes, it causes the CPU to sit there waiting for it to finish (possibly triggering TDR). Is it possible to capture the bad frame using NSight and analyse it? Is there a way to trigger a capture in our code?


Hi CodiesBP,

That really depends on what kind of bad frame you are tying to make Nsight debug on.

You should be able to send some shortcut key to your software by some code, for example, you can send ‘ctrl-z’ and ‘space’ to your app to make it enter pause&capture when launch through Nsight. Please note, this is only a tricky method.