Find the answer to your Linux question:
Results 1 to 9 of 9
Hello, I'm using ubuntu 10.04 and I have a problem running 3D applications. With any openGL application I try to run, I get this message: Code: Xlib: extension "GLX" missing ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6

    ATI & NVIDEA graphics driver problem

    Hello, I'm using ubuntu 10.04 and I have a problem running 3D applications. With any openGL application I try to run, I get this message:

    Code:
    Xlib:  extension "GLX" missing on display ":0.0".
    freeglut (./simpleGL.exe): OpenGL GLX extension not supported by display ':0.0'
    When I do glxinfo, I get:
    Code:
    name of display: :0.0
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Error: couldn't find RGB GLX visual or fbconfig
    
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    Xlib:  extension "GLX" missing on display ":0.0".
    3 GLXFBConfigs:
       visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
     id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
    ----------------------------------------------------------------------
    Segmentation fault
    The contents of my "/etc/X11/xorg.conf" are:

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder75)  Thu Apr 22 11:44:23 PDT 2010
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    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      "Generic Monitor"
            Option          "DPMS"
            HorizSync       28-72
            VertRefresh     43-60
    EndSection
    
    Section "Device"
            Identifier      "Radeon 9600"
            Driver          "ati"
            BusID           "PCI:1:0:0"
            Option          "XAANoOffscreenPixmaps"
    	Option        "BusType" "PCI"
            Option         "AGPMode" "1"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        SubSection     "Display"
            Depth       24
            Modes           "1440x900" "1024x768"
        EndSubSection
    EndSection
    
    Section "Extensions"
    Option "Composite" "Disable"
    EndSection
    
    Section "DRI"
            Mode 0666
    EndSection
            
    Section "Extensions"
            Option "Composite" "Enable"
    EndSection
    
    Section "Module"
            Load "glx"
    	Load "dri" 
    EndSection
    My graphics card is an ATI X1600 Pro, I had it working for a while. The problem started when apt-get remove unexpectedly started removing programs recursively. To restore these programs I copied all the installed software from an NVIDEA pc. I got ubuntu running again, but no 3d graphics.
    I noticed that under "System>Administration" there's an option named "NVIDEA Xserver settings". So I believe the NVIDEA driver is still hidden somewhere and I don't know how to show it or get rid of it.

    I have shown this problem at ubuntuforums, but I got no reaction. So now I'm showing it here. Does anyone know any steps that I could take to find the source of my problem and/or get rid of it?

    Thanks!
    Last edited by neonic; 02-20-2011 at 11:29 AM. Reason: title must draw attention

  2. #2
    Just Joined!
    Join Date
    Mar 2005
    Location
    Sweden
    Posts
    47
    try

    Code:
    sudo apt-get remove --purge nvidia
    sudo apt-get clean
    then

    Code:
    sudo apt-get install nvidia-current

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6
    Quote Originally Posted by qumran View Post
    try

    Code:
    sudo apt-get remove --purge nvidia
    I tried "sudo apt-get remove --purge nvidia*", it removed several programs. After rebooting, I can now start openGL programs again.
    This is an improvement! Thanks!

    The graphics are just very slow, however.
    glxinfo now gives the following output:

    Code:
    name of display: :0.0
    Segmentation fault
    I believe, my ubuntu runs the opensource ATI driver now. Before the graphics problem this driver gave fast graphics, so I guess my ubuntu isn't fully repaired yet.

    Does someone know how to solve this problem as well?

    Thanks!
    Last edited by neonic; 02-26-2011 at 09:50 AM.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which Graphics Card do you have? ATI or Nvidia? xorg.conf is listing ATI Card and you have installed Nvidia Driver.

    Post the output of this
    Code:
    lspci | grep -i vga
    grep -i driver /etc/X11/xorg.conf
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6
    Quote Originally Posted by devils casper View Post
    Which Graphics Card do you have? ATI or Nvidia? xorg.conf is listing ATI Card and you have installed Nvidia Driver.
    My graphics card is an ATI X1600 Pro. Sorry for the confusion, but I removed all nvidia software from my ubuntu since the previous reply.

    Post the output of this
    Code:
    lspci | grep -i vga
    grep -i driver /etc/X11/xorg.conf
    "lspci | grep -i vga" gives:
    Code:
    01:00.0 VGA compatible controller: ATI Technologies Inc RV530 [Radeon X1600]
    "grep -i driver /etc/X11/xorg.conf" gives:
    Code:
    grep: /etc/X11/xorg.conf: No such file or directory
    Whuh! It's no longer there?

    Guess it went away when I removed the nvidia software.
    Do I actually need "/etc/X11/xorg.conf" ?

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Theoretically, we do not need xorg.conf file now because X Server detect and configure Graphics card and display itself. Practically, we have to generate xorg.conf file in a few machines to configure Display correctly.

    Doesn't Hardware Drivers option in Administrative Menu detect ATI Card and suggest it's driver installation?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6
    Quote Originally Posted by devils casper View Post
    Doesn't Hardware Drivers option in Administrative Menu detect ATI Card and suggest it's driver installation?
    It just shows an empty list and the only message is: No proprietary Drivers are in use on this System

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    According to this list, your Graphics Card is well supported and Ubuntu should detect and install ATI Driver itself. Have enabled additional drivers?
    Go to the Additional Drivers Manager (System -> Administration -> Additional Drivers) and activate the "ATI/AMD proprietary FGLRX graphics driver". Ubuntu will then install and configure the driver for you.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Jun 2010
    Posts
    6
    Quote Originally Posted by devils casper View Post
    Go to the Additional Drivers Manager (System -> Administration -> Additional Drivers) and activate the "ATI/AMD proprietary FGLRX graphics driver". Ubuntu will then install and configure the driver for you.
    I'm sorry! My System -> Administration tab has no entry named "Additional Drivers". Also, in the past, my ubuntu ran with open source driver and the results were fine.
    Plus, I've already tried using the fglrx driver to solve my problem, but that only made things worse. (after installing fglrx, the openGL applications didn't run at all)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...