Jump to content
  • Advertisement
Sign in to follow this  
Naruto-kun

DX11 VS2015 Graphics Diagnostics crash

Recommended Posts

Hi guys

So last night I was working on a rather stubborn piece of code, trying to figure out why a bunch of 1D textures were returning 0s all the time. I finally had to quit and go to bed, but my VS2015 Graphics diagnostics was working fine. Could click on a drawcall in the Timeline window, click on the green play button for the geometry shader, and it would take me into the shader code and allow me to step through it.

Today though, the Graphics diagnostics window insists on freezing, then crashing, whenever I click on the draw call. Looking at the windows event viewer error report, it seems to be occurring in the System.Windows.Media.Imaging.CachedBitmap.InitFromMemory call.

I should point out this is not a reference to something in my code, but rather Visual Studio's own .NET code used to display the render pipeline. The app involved is the VsGa.exe. Anyone else ever run into something like this?

Share this post


Link to post
Share on other sites
Advertisement

Solved in a funny way. I just switch to the debug output tab instead of pipeline stages before I select the draw call and then I can switch back to pipeline stages no problem.

Share this post


Link to post
Share on other sites

Aaand now it is back again....And nothing seems to resolve it. Funny though, it only crashes on draw calls that have some element that doesn't make it to the pixel shader. If everything output from the geometry shader appears in the pixel shader it works fine.

Share this post


Link to post
Share on other sites

As a Microsoft employee I have to say that there are better DX11 Graphics Debuggers out there these days than VS 2015's VSGD. VS2017's is an improvement but you might also want to look at RenderDoc or one of the IHV's own tools depending on which cards you have available (e.g. NSight, Intel GPA).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!