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

Everything about X, Gnome, KDE, ... and everything running on it

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

Postby shogun1234 » 2011-11-27 16:37

I follow the link at http://wiki.debian.org/NvidiaGraphicsDr ... allation-1 to install nvidia driver. But when executing glxinfo it throws
Code: Select all
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".



Searching some threads on the internet e.g. reinstallation with command lke
Code: Select all
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

seems solve some other people's problem, but not mine.

What might cause this error thrown out? And how to solve it?

Thanks
shogun1234
 
Posts: 79
Joined: 2006-07-13 08:04

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

Postby dtl131 » 2011-11-27 18:37

What kind of graphics hardware do you have? It's not Optimus or hybrid graphics, is it? Post output of this if not sure:
Code: Select all
lspci
dtl131
 
Posts: 449
Joined: 2011-07-11 19:56

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

Postby shogun1234 » 2011-11-29 19:16

dtl131 wrote:What kind of graphics hardware do you have? It's not Optimus or hybrid graphics, is it? Post output of this if not sure:
Code: Select all
lspci

The output of lspic shows
Code: Select all
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
...
01:00.0 VGA compatible controller: nVidia Corporation GF108 [Quadro NVS 4200M] (rev a1)
shogun1234
 
Posts: 79
Joined: 2006-07-13 08:04

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

Postby dtl131 » 2011-11-29 19:27

You have Optimus/hybrid graphics.
https://github.com/z0rc/debumblebee
Have fun....
dtl131
 
Posts: 449
Joined: 2011-07-11 19:56

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

Postby shogun1234 » 2011-12-05 17:45

Thanks. It now seems the installation works.
glxinfo | grep render shows
Code: Select all
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
    GL_EXT_vertex_array_bgra, GL_NV_conditional_render,


But when I test to run with `optirun ./application`, it throws
Code: Select all
Error: debumblebee service was not able to start.
Actually this means that launch of X server for nVidia card failed for some reason.
You may check the log at /var/log/Xorg.8.log

Within Xorg.8.log it looks like only no display found.
Code: Select all
[  5244.312] (EE) NVIDIA(0): No display devices found for this X screen.

But I can use X window and running X window application e.g. chromium, etc. has no problem.

How can I make sure when executing some specific programs e.g. open source game, the discrete card is enabled?

Thanks.
shogun1234
 
Posts: 79
Joined: 2006-07-13 08:04

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

Postby dtl131 » 2011-12-07 21:54

Hopefully, someone who has experience with bumblebee can help...
dtl131
 
Posts: 449
Joined: 2011-07-11 19:56

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

Postby shogun1234 » 2011-12-08 07:31

Thanks for providing information about debumblebee. : )
shogun1234
 
Posts: 79
Joined: 2006-07-13 08:04

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

Postby danger89 » 2012-01-23 01:20

Bumblebee 3.0 is released :)

http://wiki.debian.org/Bumblebee
danger89
 
Posts: 1
Joined: 2012-01-23 01:19

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

Postby CarloWood » 2014-07-30 11:03

The only answers I see on the web are regarding to Optimus etc.
But the real reason for this error is simply because Xorg can't load the glx module
'/usr/lib/xorg/modules/extensions/libglx.so'.

One of the reasons for this can be when one uses the nvidia driver,
which replaces this module. That is, when nvidia is installed using their
nvidia-installer, '/usr/lib/xorg/modules/extensions' should contain something
like:

lrwxrwxrwx 1 root root 16 Jul 30 00:37 libglx.so -> libglx.so.340.24*
-rwxr-xr-x 1 root root 10989992 Jul 30 00:37 libglx.so.340.24*

However, (re)installing the package xserver-xorg-core *overwrites* this.
Hence, every time one installs or upgrades xserver-xorg-core, one has
to re-run nvidia-installer to fix this problem.
CarloWood
 
Posts: 1
Joined: 2014-07-30 10:15


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable