Jump to content
  • Advertisement
Sign in to follow this  
vlj

DX12 d3d12: which debug tools to use?

This topic is 915 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,


I'm having some trouble with the debugging tools for d3d12 available at the moment.
I mostly use visual studio graphic diagnostic which is really great. However the capture process is very slow, it takes almost a minutes to render a frame on the app I'm working on, which makes hard to get to the instant I like to debug. Plus I need to use warp otherwise the debug is even slower.

I tried Nvidia nsight 5 rc1, it's a lot faster however when I capture a frame, the app crashes and there is no way to analyse it then. Basically nsight doesn't work for me, I can't tell if it's good or not for the purpose.
I tried with gpu perfect studio 2,it's fast and it works, but the capabilities are quite scarce. There is no way to view the resource contents, or render target evolution as with visual studio. It just records the various api call now. I guess gps2 need more time to be useful for dx12 debug, it's really very powerful for gl and dx.

Is there another tool for dx12 debugging or a way to make visual studio graphic diagnostic fast enough not to be frustrating to use, or to make nsight stable?
Regards, Vincent.

Share this post


Link to post
Share on other sites
Advertisement

There is also Intel GPA available.

If you are a DX12 EAP member have a look in the private portal.

Edited by Alessio1989

Share this post


Link to post
Share on other sites

Nvidia Nsight seems to crash if I draw something to the backbuffer ; if I omit the last (a basic framebuffer scaling in my app) I can explore all others commands without any issue. It's quite strange and I don't think I'm doing something wrong in the final pass (I get no complain from debug layer).

Share this post


Link to post
Share on other sites

I have tried final version of nvidia nsight yes. It crashes as did RC1.

Is DXCap the same tool as the one used in Debug>Graphics>Start debugging in VS 2015 ? Then yes and I like it but it's way too slow (one minute to draw a frame here, plus it can takes up to several dozen of minutes to capture one frame in my app.

Share this post


Link to post
Share on other sites

I believe it is the same back end capture tooling, but you have options to run the capture outside of VS.  That may make the capture process faster, and then you can do the analysis afterwards.  I don't know if that fits your needs, but it should be a possibility to make the capture process more responsive.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!