Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

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

#1 Post by shogun1234 »

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

dtl131
Posts: 449
Joined: 2011-07-11 19:56

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

#2 Post by dtl131 »

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

shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

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

#3 Post by shogun1234 »

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)

dtl131
Posts: 449
Joined: 2011-07-11 19:56

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

#4 Post by dtl131 »

You have Optimus/hybrid graphics.
https://github.com/z0rc/debumblebee
Have fun....

shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

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

#5 Post by shogun1234 »

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.

dtl131
Posts: 449
Joined: 2011-07-11 19:56

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

#6 Post by dtl131 »

Hopefully, someone who has experience with bumblebee can help...

shogun1234
Posts: 156
Joined: 2006-07-13 08:04
Has thanked: 3 times

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

#7 Post by shogun1234 »

Thanks for providing information about debumblebee. : )

danger89
Posts: 1
Joined: 2012-01-23 01:19

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

#8 Post by danger89 »

Bumblebee 3.0 is released :)

http://wiki.debian.org/Bumblebee

CarloWood
Posts: 1
Joined: 2014-07-30 10:15

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

#9 Post by CarloWood »

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.

Post Reply