Video driver reports that shaders are not supported.

Is there some way I can get more information on whats gone wrong here?

I just built Panda3D on Fedora 20 and installed the RPM, then tried to run the Cartoon Shader example. I’m pretty sure my machine should be able to run the shader. Here is my glxinfo OpenGL info:

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel® Ivybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.0-devel (git-d78e56f)
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 10.2.0-devel (git-d78e56f)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

Any help is appreciated thanks.

Tim

ok so the docs say:

bool getSupportsBasicShaders( )

Returns true if this particular GSG supports arbfp1+arbvp1 or above.

Which is:
ARB_fragment_program + ARB_vertex_program

Both are reported as supported by my card. Any ideas what I should look at next?

ok so I looked though the code and it looks like getSupportsBasicShaders( ) needs the Cg Toolkit.

So I just removed the getSupportsBasicShaders( ) test and the sample runs now :slight_smile: