The problem is I want to use FBO’s. I am a registered developer, but no registered workstation developer (I’ve had no response on that application). I would like to use the latest nvidia drivers (>76), but I haven’t encountered them anywhere …
Does anybody here have any idea on where to encounter them?
Thanx in advance,
rob(dot)van(dot)dyck(ad)gmail(dot)com
When I use a GLSL shader with the discard command in it
my renderwindow will stay black and my app seems to be “trapped” in the driver. I have to kill it manually.
The shader compiled, linked and was validated without a problem or any warnings.
Could someone try to reproduce this bug to make sure that it is not my machine / fault.
I have latest NVidia drivers installed under Linux
and shaders with the discard command work fine for me. The test example is from the osgshaders example in the OpenSceneGraph-0.9.9 distrbution.
Running glxinfo on my systems gives me:
OpenGL renderer string: GeForce FX 5900XT/AGP/SSE2/3DNOW!
OpenGL version string: 2.0.0 NVIDIA 76.64
Originally posted by namespace:
[b]Hello!
This driver seems to have a GLSL bug.
When I use a GLSL shader with the discard command in it
my renderwindow will stay black and my app seems to be “trapped” in the driver. I have to kill it manually.
The shader compiled, linked and was validated without a problem or any warnings.
Could someone try to reproduce this bug to make sure that it is not my machine / fault.
I have tested this shader in my engine and the shader designer from typhoonlabs (the linux version), both show the
same behaviour.
As long as the
if(attenuation <= 0.0)
discard;
is in comments everything works fine.
If you remove the comments and recompile, the application stops rendering and I have to restart the shaderdesigner / my engine to make it respond again.
But thats not all. If you comment out the
color.rgb *= diffuse;
instruction the shader works again even with the discard command.
I tried to replace the diffuse-variable with the instructions
which calculate its value, but no luck.
I experience similar problems with the new NVIDIA graphics driver for Linux, but I haven’t been able to pinpoint the problem. Does anyone at NVIDIA know of any bug in the driver that might cause this? Being a driver issue, I don’t really know how one would go about debugging to find what the problem is.