[gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers

On Wed, May 10, 2006 at 03:00:53PM -0400, Roger D Vargas wrote:

> I have a Radeon 9800 pro with propietary drivers+Xorg 7 in linux. I can 
> try to test your program and see what happens this weekend at home, if 
> it is not secret or something like that. Just tell me the dependencies 
> in case in need to install something extra and make sure your app runs 
> in 640x480 (I have a nice card but a very old monochrome display).

Thank you, you are very kind.

As for the test, it's very simple.  Just try to compile the following
program:

<snip>

#include "GL/gl.h"
#include "GL/glext.h"

int main ()
{
        glCreateProgram ();
}

</snip>

using the following command:

g++ -g -Wall -DGL_GLEXT_PROTOTYPES -o test test.cpp -lGL

If your installation has the same problem as mine, you'll get something
like:

test.cpp: In function `int main()':
test.cpp:7: error: `glCreateProgram' undeclared (first use this function)
test.cpp:7: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)

If not, it should link cleanly (it does on my other machine with NVidia
GPU and drivers).

> But I think that GL 2.0 is not supported yet.

Yes, I thought about that, too.  However, running glxinfo on my machine
says:

OpenGL version string: 2.0.5755 (8.24.8)

Which sounds like 2.0 to me.

Besides, the shader API was available even prior to 2.0, as the
ARB_shader_objects extension.  glxinfo on my machine says that this
extension is supported.  But when I try to use it link errors result
anyway.  (If you want to check it out, replace glCreateProgram with
glCreateProgramObjectARB in the testing program.)

Thanks again,

        latimerius



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: