Glut on a linux laptop

I installed glut on my linux laptop
but I can’t get any of the test programs
to run. I get an error message that the
X server doesn’t support the GLX extension.
At the same time, ‘xdpyinfo | grep GLX’
returns ‘NV-GLX’ (?!).

My setup: Dell Inspiron 8100, NVidia GE Force 2 Go, Slackware 8.0, kernel 2.4.5, XFree86 2.4.5, latest NVidia GLX drivers (2802),
glut-3.7.1. All GL/GLX/GLUT libraries, header
files seem to be in place, glut itself plus the test programs compile without problem.
The error message I get is at run time.


Some questions first:
Do some other OpenGL programs work (Mesa demos or other)?
Did you follow the Nvidia installation manual for XF86Config?:
then all you need to do is find the relevant
Device section and replace the line:

    Driver "nv" 


    Driver "nvidia"  

In the Module section, make sure you have:

    Load   "glx"

You should also remove the following lines:

    Load  "dri"
    Load  "GLcore"

Check this for the Module section…

Yeah, it turned out that the GLX module was not being loaded…
I’d been switching between several XFree86 cconfig
files and apparently the last one I used had the respective
line commented out. Now the glut programs run just fine.

Of course, I was “mildly” disappointed to find out that NVidia’s
GLX doesn’t have support for various useful extensions,
such as Polygon Offset, and Overlays, but I guess I’ll have
put up with that while I’m working outside of the RealityEngine
graphics domain )

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.