I’ve had this problem for a while now on my PC, I’m unsure as to the cause and I could really do with it working.
I can run NSIGHT against my game on other PCs here and my PC at work just fine, but my primary dev machine at home fails every time.
My machine is pretty standard:
Windows 10 (fully updated)
Visual Studio 2015 (fully updated)
NSight 5.6 (I was having this problem in previous 5.5 versions too).
NVIDIA GTX 980
I get the same exact problem just trying to debug the default DX11 sample app template from Visual Studio. Both apps tested are D3D11. Pretty small simple game and the sample app.
When I click to initiate Graphics Debugging I get a strange partially rendered window pop up (it has nothing to do with my game/sample, it’s NSIGHT), I see the process for my game launch but it never executes any code. Then Visual Studio crashes, restarts itself, but I can’t build because some NV background processes have exclusive handles locked on to my .exe:
I’ve set the log settings to trace, and grabbed this log from:
The following details come from the Application Error that gets logged in Event Viewer:
Faulting application name: devenv.exe, version: 14.0.25420.1, time stamp: 0x57685d85 Faulting module name: Nvda.Graphics.FrameDebuggerUi.Common.Native.dll, version: 0.0.0.0, time stamp: 0x5b0a24ef Exception code: 0xc0000005 Fault offset: 0x001630b8 Faulting process ID: 0x2e28 Faulting application start time: 0x01d402ea3b796e2b Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe Faulting module path: C:\Program Files (x86)\NVIDIA Corporation\Nsight Visual Studio Edition 5.6\Host\Common\Nvda.Graphics.FrameDebuggerUi.Common.Native.dll Report ID: abf46650-56bc-4b62-94e1-9463bb39f52c Faulting package full name: Faulting package-relative application ID:
This Windows Error Report is also created, but I don’t see any .dmp or anything else in there:
I assume this has something to do with something I have installed, perhaps on my system or within Visual Studio itself. I just can’t figure out why it’s crashing and hope someone else might spot something or have experienced something similar.