“GLX” missing on display

I’ve recently upgraded to Ubuntu 10.04, and the first time I ran SciLab I got no graphics.  I’m using an Intel Corporation Mobile GM965/GL960 video card, and when I check the implementation this is what I get:

tisza@tisza-ubuntu:~$ sudo lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
tisza@tisza-ubuntu:~$ glxinfo
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

After poking around a couple of forum pages, I finally got a workaround.  Thank you ~witekk for the fix.  So here’s how to do it. On the terminal (as root):

sudo apt-get purge nvidia*
sudo apt-get install --reinstall xserver-xorg-video-intel  libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg
sudo update-alternatives --remove gl_conf /usr/lib/nvidia-current/ld.so.conf

Luckily, this solves the same problem with two other graphic controllers:

 

  • Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
  • Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

There you have it. Enjoy!

25 thoughts on ““GLX” missing on display”

  1. sudo apt-get install –reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core[BREAK]sudo dpkg-reconfigure xserver-xorg

    😉

  2. Thank you so much! Got this error trying to run Google Earth, and you wouldn’t believe how many other folks are getting it. I got errors when reinstalling the mesa packages, but adding /usr/lib/x86_64-linux-gnu/mesa and /usr/lib32/mesa to the ldconfig search path got around them.

  3. This also corrected Ubuntu 11.10 with Unity! Before: Unity 2D was launched. After: Unity 3D works like a charm. (with Intel G31 / G33 graphics controller)

    Thanks a lot.

  4. Excellent. To fix this problem I was trying so many things including visiting variuos forums. Finally, this one worked. Awesome.

  5. I just tried this and it said that kubuntu-desktop and ubuntu-desktop were both reliant on nvidia, it asked if I wanted to remove them as well. I bottled out, thinking that I might be needing them! What do you think? Should I say ok?

  6. I have lived with lack of hardware 3D/OpenGL for literally years because I was told my Intel GPU was blacklisted. You have no idea how chuffed I am that your post has actually fixed this for me!
    FYI, Ubuntu 12.04 Punctual Pangolin, Dell Studio 17 (1737) with Intel i915.

  7. How did you figure this out? You freaking genius!

    I installed gnome-shell from the Ubuntu software center after a clean install of 12.04 LTS on my brand new Lenovo W520. Gnome-Shell was in fallback mode. After much digging on the Internets, I came across your article and deparately entered your commands into my shell. Lo and behold! Gnome-Shell awesomeness.

    Thank you very much!

  8. I hope that someone is still montitoring this post. I am a total noob with Linux and am running Ubuntu 12.04 dual boot with Vista on a Dell Insprion 1501. I receive the “GLX missing error” when trying to run Cheese in terminal. The part that I need help with is that being the novice that I am, I not sure I understand how to input lines 2 and 4 of the code. Specifically the commands “–reinstall” and “–remove.” I have copied and pasted both those lines into termal and Ubuntu throws them back as unreconigized commands. Any clarification is appreciated.

    1. Hi Jennifer,

      It should be two hyphens before ‘reinstall’ and ‘remove’ not one as in your post! That should fix it for you. 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s