Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Somehow, I can no longer run anything that uses OpenGL. Any attempts to do so get the error Xlib: extension "GLX" missing on display ":0"..

In /usr/lib I have LibGL.la, LibGL.so, LibGL.so.1 and LibGL.so.325.15 (to which LibGL.so and LibGL.so.1 symlink).

Can anyone figure out why it wouldn't be working?

share|improve this question

3 Answers 3

By the looks of it (and there's no much to look at so I could be wrong) you're on a Nvidia system using the xorg-edgers PPA.

Even if you're not on that PPA, it seems possible that you've updated the Nvidia graphics driver recently and haven't yet rebooted. When you update the driver module it isn't automatically reloaded into the kernel. To do that you would need to shut down X, rmmod and modprobe for it (and in my experience that doesn't even work for the deb-installed Nvidia driver, only the manual install.

The fix is really simple though. Restart the computer.
Your computer should load the new copy of the Nvidia module on boot and then everything 3D should just work™ again.


As this is a Bumblebee-using computer, it might be enough to close anything using 3D then run:

sudo rmmod nvidia
sudo modprobe nvidia

But as I say, this doesn't work on normal computers with the deb installer for the driver. Not sure why but it's worth a shot. Otherwise: reboot.


This might actually be far more TBP-related than I originally thought. Here is a support thread suggesting that something needs renaming.

I think the suggestion involves editing /etc/bumblebee/bumblebee.conf so that KernelDriver=nvidia-current and then running sudo restart bumblebeed to restart bumblebee.

share|improve this answer
    
I'm on nvidia but I'm using Bumblebee. Does that change anything? I have rebooted already. –  Gausie Aug 12 '13 at 11:37
    
@Gausie That's certainly an interesting twist. I've added a test you could try but if that doesn't work (and I wouldn't be surprised if it didn't), just reboot and see if that helps. –  Oli Aug 12 '13 at 11:40
    
I've got ERROR: could not insert 'nvidia': No such device –  Gausie Aug 12 '13 at 11:56
    
If rebooting hasn't helped, it may be a bug between the current version of TBP and the latest Nvidia driver. –  Oli Aug 12 '13 at 12:03
    
I'm only using Nvidia 304. Hmm this is frustrating. –  Gausie Aug 12 '13 at 12:08

Perform a

sudo apt-get install libgl1-mesa-dri

and it should work again.

share|improve this answer
    
It says its already up to date. –  Gausie Aug 12 '13 at 11:38

1. Remove ATI Drivers

sudo apt-get purge fglrx*

2. Move XOrg Server Configuration

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

3. Reinstall XOrg

sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64

4. Reconfigure XOrg

sudo dpkg-reconfigure xserver-xorg

share|improve this answer
1  
This is a nvidia setup. –  Oli Aug 12 '13 at 11:33
    
Oli is correct. I've also got Bumblebee installed. –  Gausie Aug 12 '13 at 11:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.