Shaders are never available for debug
#1 Members - Reputation: 100
Posted 02 March 2012 - 12:13 AM
I am trying to debug the shaders using the NVIDIA Parallel Nsight 2.1 but I am unable to do so. As soon as I start debug with Nsight there is a message in Shaders window "Shader Debugger is not available". So, I googled this problem and found this link. I have tried all the options that are discussed into the above thread, still no success.
If any of you guys have any experience of debugging shaders, then please help me with this problem.
Thanks,
Pankaj
#2 Members - Reputation: 1989
Posted 02 March 2012 - 12:25 AM
Do you use D3D? Microsoft's PIX tool lets you debug shaders using the reference device (emulator) and you can inspect and step thru any primitive.
Software developer
#3 Members - Reputation: 100
Posted 02 March 2012 - 01:49 AM
Is it necessary to have two separate computers (workstations) or we can do the debugging with a single computer with two graphics cards? BTW, I have a laptop. What would you recommend for the best setup for game development?
Thank You,
Pankaj
#5 Members - Reputation: 100
Posted 02 March 2012 - 03:02 AM
The docs say that you have to be using a remote debugging session to run the shader debugger.
Yes, I have set up the remote debugging session. In those settings I have set the Remote Command as the executable path on my machine and set the Remote Server Name as my computer's name but no success there. Still I see the "Shader Debugger is not available" in shader list.
Thanks,
Pankaj
#6 Members - Reputation: 3810
Posted 02 March 2012 - 04:07 AM
It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.
#7 Members - Reputation: 102
Posted 03 March 2012 - 06:10 AM
Hi Niko Suni,
Is it necessary to have two separate computers (workstations) or we can do the debugging with a single computer with two graphics cards? BTW, I have a laptop. What would you recommend for the best setup for game development?
Thank You,
Pankaj
Do you have a optimus enabled card for your laptop. You cannot debug a shader at optimus enabled laptop yet. Requirements are specified here.
#8 Members - Reputation: 1989
Posted 03 March 2012 - 12:44 PM
Software developer






