![]() |
OpenGL GLX extension not supported by display ':0.0'
I just wonder whether it has something to do with the NVIDIA driver or not?
I'm using Fedora Core 3 and in my /etc/X11/xorg.conf does contain the following lines before I managed to install PyOpenGL. Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "glx" Load "record" Load "freetype" Load "type1" Load "dri" EndSection However, OpenGL programs won't work!!!! Every time, it gives out the following error message!!! using display [:0.0] freeglut: OpenGL GLX extension not supported by display ':0.0' Can anybody tell me it has something to do with the NVIDIA driver or not? Besides, what can I do to solve this problem?? Cheers JIA |
freeglut: OpenGL GLX extension not supported by display ':0.0'
do you have glut &/ or Mesa installed? ( nvidia will not work with either one installed) how did you install the nvidia driver? what version of the nvidia driver? |
GLUT:
I installed freeglut and freeglut-devel. Both are directly supported by FC3 website. I think freeglut and glut are the same. MESA: I installed xorg-x11-Mesa-libGL and xorg-x11-Mesa-libGLU. Both are directly supported by FC 3. I tthey are the same as Mesa as well. NVIDIA Driver: That's long time ago. I remember I downloaded the driver from http://www.nvidia.com/object/linux.html and installed that driver directly. Or, I need to reinstall the driver again?? You know, my /etc/X11/xorg.conf is already like that, so I think the NVIDIA dirver is already installed, isn't it?? Version of NVIDIA Driver: No idea. Any suggestions? I wanna try the newest NVIDIA driver first.... Quote:
|
check /usr/lib and /usr/X11R6/lib for glut and Mesa libs, if they are there you will have to reinstall the nvidia drivers ( nvidia drivers come with their own GL libs that are incompatible with glut and Mesa. Mesa is more of a general purpose GL implementation, not really suitable for games and high performance)
whenever you update your system, make sure it isn't trying to upgrade Mesa and glut, you don't want those installed. |
my current NVIDIA version is 1.0-6629
The newest one in http://www.nvidia.com/object/linux.html is 1.0-7174. Not too much difference. I don't think this is the problem that make the erroe message above... :( |
since you are using an nvidia card, you dont want freeglut ( which is where your error is coming from) or Mesa, you need to remove them from your system if you want nvidia's opengl to work.
|
Yes, i found libglut.so is in the directory /usr/lib, and libOSMesa in the folder /usr/X11R6/lib!!!!!!!!!!!!!
So, now, I have to reinstall NVIDIA drivers, right????? BTW, if the NVIDIA driver has its own GL libs, how can this driver work with OpenGL? I mean the GL libs of NVIDIA driver and the GL libs of OpenGL don't conflict at all??? Totally confused now.... Quote:
|
Hold on... now, two suggestions:
1. remove freeglut and mesa 2. reinstall NVIDIA driver You know, I'm using STAGE which does need GLUT. I don't know what is the relationship between GLUT, freeglut, NVIDIA driver... If I remove freeglut, the NVIDIA's OpenGL is going to work, right? But, will STAGE work because GLUT is a must for STAGE??? So, I just don't know whether so-called GLUT has something to do with freeglut? Or, NVIDIA driver has already had a GLUT??? No idea.... Quote:
|
yes reinstall nvidia
nvidia comes with it's own GL library, it will remove whatever you have opengl wise and replace it with its own libGL-1.0-xxxx < the nvidia version number> then symlink that lib to libGL.so ( it comes with a couple more libs too, main thing is the nvidia-installer has what you need to run hardware accelerated opengl, and cannot be mixed and matched with other opengl libs. |
Sorry for reviving this thread after... 4 years? but I found it on Google and I have a question...
I've read through this thread and I'm not sure if I'm understanding it. It is not possible to run glut-based apps on a system with the nvidia binary drivers installed? I don't believe it. How then am I supposed to develop anything that will run on any computer that doesn't have an nvidia graphics card (as well as on Windows?) I was drawn to glut by its simplicity and platform-independence. Surely I misunderstood something? OpenGL won't work on an nvidia card if glut is installed... but if glut is not installed, glut apps obviously cannot run... Edit: I have a decade-old video card; the driver I installed was nvidia-glx-71. Also, everything was working fine when I had the nouveau driver, except that the speed was unacceptable. So I actually went to the trouble of downgrading X.org just so I could get the proprietary nvidia driver installed (it actually doesn't work with X.org 1.5). The speed is now fine but I can't code >.< Edit: hah, so it had nothing to do with glut after all, I had to add Section "Extensions" Option "Composite" "Disable" EndSection to my xorg.conf file... found this on another forum |
| All times are GMT -5. The time now is 06:34 PM. |