glx and linux
When I try to run the OpenGL tutorials, after I "make" the executable, I get an error that says
GLUT: Fatal Error in lesson[number]: OpenGL GLX extension not supported by display: :0.0
if I try the linux code
and I get a similar message if I try to run the Linux GLX code
Does anybody know what is happening?
Are you, by any chance, using an X client (like Exceed) from a Windows machine ? If so, well, you''re out of luck, not all clients let you forward GL.
Otherwise, you may want to have a look at your XFree configuration file to see if it includes glx (ask a XFree guru). Check that your libraries are properly setup (ldconfig).
Otherwise, you may want to have a look at your XFree configuration file to see if it includes glx (ask a XFree guru). Check that your libraries are properly setup (ldconfig).
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
I am running Linux Mandrake 8.1 on a Toshiba satellite laptop.
I dont know the graphics card.
I have all the mesa develop rpm installed and it has the gl.h glu.h glut.h and glx libraries in the usr/include/GL directory.
I dont know the graphics card.
I have all the mesa develop rpm installed and it has the gl.h glu.h glut.h and glx libraries in the usr/include/GL directory.
Oh, I have a dual boot with Windows XP and have no problem running the Windows code for the tutorials on my laptop. So I know that it is not that it wont work with the LCD screen.
So, I had to help a friend with it today 
http://205.158.109.140/XFree86_40/1.0-2802/README
go edit /etc/X11/XFreeConfig (or XFreeConfig-4, depending on your version).
Look for Driver "nv", replace it with Driver "nvidia"
Add or uncomment the line Load "glx" in the Module section
Comment out Load "GLcore" and Load "dri"
Make sure that the refresh rates are correct.

http://205.158.109.140/XFree86_40/1.0-2802/README
go edit /etc/X11/XFreeConfig (or XFreeConfig-4, depending on your version).
Look for Driver "nv", replace it with Driver "nvidia"
Add or uncomment the line Load "glx" in the Module section
Comment out Load "GLcore" and Load "dri"
Make sure that the refresh rates are correct.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement