Hello! I'm new to the world of shader creation and debugging, but man is it exciting!
I'm writing a volume ray casting application using SharpDX, and DirectX 11. My Video card is a GeForce 9200 and it's maximum feature level is 10_0, so I've made sure to set that feature level in my application code.
I'm writing my application in Visual Studio 2013 Community, and I've downloaded Intel GPA to help with debuggin my shaders.
When I try to launch the application manually from the Application Analyzer, most of the time it just immediately exits, but sometimes it will start, and then Windows will say the application has stopped working.
If I set the analyzer to begin debugging automatically, and I launch the application from within Visual Studio, the application launches, the main window opens, and nothing happens. When I pause execution and look at the call stack, I see that the application is just sitting on the SwapChain call.
Any ideas on how I can fix this? Any help anyone can provide would be greatly appreciated.
Sorry that you are running into issues with GPA.
I am not too familiar with SharpDX, but from what I understand it just uses the base DX APIs under the hood. Though it may be interfering with our DirectX API collectors for trace analysis. I would try disabling tracing in graphics monitor -> preferences -> disable tracing.
Once you have done with, try using "Analyze Application" again on your app.
Also, if you could post your about dialog here, I can have a better idea of your system configuration.
Lastly, I would try our new release that just came out today! Download it at software.intel.com/gpa.
Thanks for replying.
I downloaded the latest version, and disabled tracing through the preferences.
Unfortunately I got the same results. It hangs
I was slightly wrong in the original post. It's actually hanging in the draw call. Here is the call stack:
Here is the 'about'
Again, thanks for the help.
Sorry for the delayed response.
Does your application hang without GPA? I'm assuming it runs fine, but I thought I would ask.
Our injection may be interfering with the application somehow. A couple more things we can try would be turning on "global injection". This can be done by going to graphics monitor -> preferences -> auto-detect application. Also have tracing disabled here. Once this is turned on, you will notice graphics monitor turn greenish in color. Run your application normally without "analyze application". Once your application is running, open up System Analyzer and connect to your target computer. (should be just <This Machine>). Once you have connected, you should see your application's executable running. Click on it to connect to your already injected application. From this screen you should be able to capture frames and look at live metrics.
Let me know if this work around works! If not, we may need to get a copy of your app to further diagnose the problem.