Page 1 of 1

extension not supported...

Posted: Wed Jul 11, 2012 8:18 pm
by geneb
I'm working with an open source glass cockpit package called RJGlass (http://rjglass.sourceforge.net/) and I wanted to get it going on my RPi. I've got the required dependencies installed (PyOpenGL, GLUT and PyGame). When I execute it, I get this:

freeglut (foo): OpenGL GLX extension not supported by display ':0'

Any suggestions as to what I can do to resolve this problem?

I'm currently using the Debian Squeeze image (after doing apt-get upgrade to grab the latest packages).

Thanks!

g.

Re: extension not supported...

Posted: Wed Jul 11, 2012 9:31 pm
by jmacey
The main problem will be that GLUT and other standard OpenGL packages whilst building on the PI will most likely not work as they are for Desktop OpenGL and not OpenGL ES.

You will need to build an EGL OpenGL window and use OpenGL ES 1.1 or preferably 2.0, this will require quite a lot of different code, as the PI uses OpenGL which is closer to mobile applications and not Desktop ones. For a basic introduction have a look at some of my blog posts http://jonmacey.blogspot.co.uk/2012/06/ ... onfig.html for C/C++ versions. I know quite a few people have PyGame stuff working so may be worth looking at some of the Python forums for more specific things.

Jon

Re: extension not supported...

Posted: Wed Jul 11, 2012 9:38 pm
by geneb
Thanks Jon, I'll do some digging!

I may just punt and rewrite in PyGame though. :)

g.