LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-08-2005, 01:03 AM   #1
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 69

Rep: Reputation: 15
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
 
Old 05-08-2005, 01:11 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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?
 
Old 05-08-2005, 01:34 AM   #3
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 15
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:
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?
 
Old 05-08-2005, 01:41 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.

Last edited by __J; 05-08-2005 at 01:42 AM.
 
Old 05-08-2005, 01:44 AM   #5
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 15
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...

 
Old 05-08-2005, 01:48 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.
 
Old 05-08-2005, 01:55 AM   #7
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 15
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.
 
Old 05-08-2005, 02:00 AM   #8
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 69

Original Poster
Rep: Reputation: 15
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:
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.
 
Old 05-08-2005, 02:02 AM   #9
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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.
 
Old 04-29-2009, 08:18 PM   #10
bbi5291
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Rep: Reputation: 0
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

Last edited by bbi5291; 04-29-2009 at 08:58 PM. Reason: problem resolved
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xlib: extension "GLX" missing on display ":0.0". tekmorph Linux - Hardware 1 12-05-2004 01:52 AM
Another 'extension "GLX" missing on display' nvidia driver problem compjinx Linux - Software 5 10-27-2004 12:56 AM
Xlib: extension "GLX" missing on display ":0.0" Evohack Linux - Software 18 10-23-2003 10:10 PM
OpenGL GLX extension not supported by display: :0.0 kranthi Linux - Newbie 3 10-22-2003 11:29 PM
(II) [GLX]: Initializing GLX extension - X wont go hydro Linux - Software 3 02-20-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration