I have a Compaq V6103EA laptop with an Intel GMA 950 graphics card. Its running Ubuntu 8.10, with the “xserver-xorg-video-intel” driver package and the mesa3d implementation.
I’ve been doing some OpenGL programming, and up until now, everything has worked very well. Currently I’ve been trying to learn a bit of GLSL, mainly by studying a source I got hold of. Here is a couple of issues have appeared:
When I compiled and executed the the code (which was originally written for windows/VC++), first I got a segfault at a call to glCreateShaderObject. I spend a long time trying to figure out what was wrong with the call, until I found something regarding the tests of GLEW_ARB_fragment_shader and GLEW_ARB_vertex_shader respectively. I tried changing them to GL_ARB_… , and then I the test failed. What does all of this mean? Which is the right one? And do I have capabilities of using these or not?
I not, as far as I know, this can have a couple of different reasons:
- my graphics card doesn’t support it
- my graphics card driver doesn’t support it
- my opengl implementation (mesa) doesn’t support it.
How can I tell which?
I know from this table, that my graphics card supports vertex/fragment shaders, so 1. shouldn’t be the problem. And according to the official mesa website, the 7.x version implements OpenGL 2.1 which includes GLSL.
So how can I go about finding out what is causing my problem?
I’ll happily supply you with additional information.
I also forgot to show you this. It’s the output of glxinfo. I think something seems strange with the OpenGL Version String (1.4 ?).