OpenGL GLX extension not supported by display ':0.0'
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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:
Originally posted by __J 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?
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.
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:
Originally posted by __J 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.
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:
Originally posted by __J 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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.