LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-11-2010, 01:15 PM   #1
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Blog Entries: 24

Rep: Reputation: 43
How to load the glx extension?


Hey folks... I installed the latest NVIDIA drivers by hand on my Gentoo box. However, there is a lot of my games and programs that die at start up and error like so:

Xlib: extension "GLX" missing on display ":0.0".

I'm confused, because the extension is installed:

Code:
$ locate libglx.so
/usr/lib64/xorg/modules/extensions/libglx.so.195.36.24
And I have a load statement inside my xorg.conf:

Code:
$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Thu Apr 22 20:35:23 PDT 2010


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
So, what did I forget here?
 
Old 06-11-2010, 01:36 PM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Did you select the nvidia opengl module with eselect?

http://www.gentoo-wiki.info/Eselect#OpenGL
 
Old 06-12-2010, 12:30 AM   #3
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Blog Entries: 24

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by adamk75 View Post
Did you select the nvidia opengl module with eselect?

http://www.gentoo-wiki.info/Eselect#OpenGL
There was only one on the list, and it was already selected. But I select it again and it made no difference:

Code:
$ eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
$ eselect opengl set 1
Switching to xorg-x11 OpenGL interface... done
$ fgfs # Flight Gear Flight Simulator
Xlib:  extension "GLX" missing on display ":0.0".
Error: :0.0 has no GLX extension.
Xlib:  extension "GLX" missing on display ":0.0".
Error: :0.0 has no GLX extension.
Segmentation fault
 
Old 06-12-2010, 03:43 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,231

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
reinstall ALL of mesa all .so and .h files
the nivdia.run installer overwrites some of them .
 
Old 06-12-2010, 08:10 AM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Well first, you would have to restart X (and maybe even reboot) after using the eselect tool. And, second, you clearly didn't install the AMD proprietary drivers properly because they would show up as a separate opengl implementation. I suggest reinstalling them again (you are emerging them and not just installing them by running the installer from AMD, right?)

Adam
 
Old 06-12-2010, 07:44 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 13,231

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
adamk75 ,CoderMan is installing a nvidia driver not a ATI one
and stated
Quote:
I installed the latest NVIDIA drivers by hand
this sounds like the nvidia.run installer from the nvidia web site.
 
Old 06-12-2010, 07:51 PM   #7
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
D'oh. Thanks for the correction. I usually help out with the AMD driver since that's the one I'm most familiar with. Didn't even realize I was talking about the wrong driver here.

My advice still stands, though :-) He should emerge the driver rather than using the installer from nvidia :-)

Adam
 
  


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
missing glx extension: texture_from_pixmap ststroud Linux - Software 0 02-08-2007 02:59 PM
no glx extension kupek85 Linux - Software 7 09-23-2004 02:19 PM
no glx extension??? i need linux gaming RacerD Linux - Hardware 8 04-16-2004 09:14 AM
extension glx missing contrasutra Linux - Software 2 04-01-2003 11:05 PM
(II) [GLX]: Initializing GLX extension - X wont go hydro Linux - Software 3 02-20-2003 07:12 PM


All times are GMT -5. The time now is 04:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration