You are not logged in.

#1 2016-08-02 19:10:33

archonaute
Member
Registered: 2016-08-02
Posts: 5

[SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

Hi, i have an asus republic of gamers with geforce gtx 850 and core intel i5 since two years now.

Archlinux makes it very clear that that type of computer has to install nvidia-libgl rather than mesa-libgl, and it's very obvious when you run it.

But what nobody seems able to solve is annoying me a lot:

With a simple glxgears or by trying to launch steam, i always see that  Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
and at the moment there is nothing i can do.

I tried many things, like editing the xorg.conf as adviced on many other forums but apparently this is obsolete, plus the fact when i create this file xorg doesn't launch anymore. Also i saw a lot of discussions about optimus, primus, bumblebee and a lot of stuff in the same way but i can't figure it out what really the problem is.

My question is simple: how could i see through this and finally being able to play Bioshock on steam on my awesome linux system.

Thanks in advance,

Thomas

Last edited by archonaute (2016-08-03 22:19:53)

Offline

#2 2016-08-02 20:43:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

Welcome to the forums, apologies in advance if the following sounds a bit blunt, but we are a technical forum and you are expected to do some of your own research here (in fact you will have to, you gave us nothing to work with)

Archlinux doesn't make anything "clear" and especially not the setup to run when you have take special configuration like an Optimus system into account.  Start off with defining what you want:

Read one of these carefully and follow the instructions, if you get stuck at a specific spot post the steps you took so far all the output of commands that are supposed to produce output and the contents of the configuration files you created, and eventual output of corresponding logs (in [ code ] tags). While I do believe  you that you might have tried one of these or similar already, unless I know which configuration and logs you are using NOW, this information is completely useless to me or anyone trying to help you.

Offline

#3 2016-08-02 21:17:41

archonaute
Member
Registered: 2016-08-02
Posts: 5

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

I wrote it: I would like to run Bioshock Infinite, for that i need to run Steam but i can't because i get the following:

STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1468023329)
Xlib:  extension "GLX" missing on display ":0.0".
Installing breakpad exception handler for appid(steam)/version(1468023329)
Installing breakpad exception handler for appid(steam)/version(1468023329)
Xlib:  extension "GLX" missing on display ":0.0".
OpenGL GLX extension not supported by displayMain.cpp (310) : Assertion Failed: Fatal Error: OpenGL GLX extension not supported by display
Assert( Assertion Failed: Fatal Error: OpenGL GLX extension not supported by display ):Main.cpp:310

And mesa-libgl really really slows down the laptop, it makes running Steam possible but it says Opengl 4 is not supported by the driver. But once again, mesa-libgl kills the computer performance.

I'm pretty sure there's a simple answer, and i don't find it.

Offline

#4 2016-08-02 22:07:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

The simplest answer possible is if your system does not have Optimus and in fact only has the Nvidia card, I somewhat doubt that though

lspci -k | grep -E "VGA|3D"

if there is an intel and an nvidia card you have an optimus system and you must  do one of the "complex" ways (they aren't that complex, the articles contain lots additional information that isn't immediately necessary in most cases).

If against our initial assumption you indeed do have only a Nvidia card the only thing that you need is the lib32-nvidia-libgl package to provide the 32bit library bindings (and of course: the nvidia package, and the nvidia-libgl package) as detailed here

Last edited by V1del (2016-08-02 22:33:21)

Offline

#5 2016-08-02 22:26:10

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

I have a feeling this isn't actually about GL. It's about Steam and its usual interoperability issues with system libraries, for which threads pop up all the time. And usually get locked, because a separate wiki page dedicated solely to said interoperability issues: https://wiki.archlinux.org/index.php/St … leshooting

Offline

#6 2016-08-02 22:29:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

@Gusar the nvidia blob usually doesn't have these issues, I'm pretty sure this is actually about GL this time (with the usual issues that pop up, there are incompatibilities due to the new compiler used to compile the mesa-libgls which doesn't apply to the nvidia-libgls, the error is different as well swrast as opposed to not finding GLX)

Last edited by V1del (2016-08-02 22:30:51)

Offline

#7 2016-08-02 22:56:51

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

This also occurs when running glxgears, so it doesn't appear to be a steam-only issue.

If you only want to use the NVIDIA card (which is more taxing on your battery than the Intel HD graphics), you may be able to disable the integrated graphics in the BIOS/UEFI. Assuming this is indeed an Optimus system.

Offline

#8 2016-08-02 23:07:00

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

Your Xorg log might have some clues as to why things are broken. Your xorg configuration file might also provide more clues as to why it is broken.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#9 2016-08-03 19:35:41

archonaute
Member
Registered: 2016-08-02
Posts: 5

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

~]$ lspci -k | grep -E "VGA|3D"
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)

Does that mean two cards ?

Offline

#10 2016-08-03 19:43:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

It does, you will have to do one or the other of the things I linked to.

Offline

#11 2016-08-03 20:33:43

archonaute
Member
Registered: 2016-08-02
Posts: 5

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

I first tried

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

in my xinitrc that looks like

#!/bin/bash
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
setxkbmap fr-latin9

exec i3

and

/etc/X11/xorg.conf

Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:0:2:0"
    Option "AllowEmptyInitialConfiguration"
EndSection

and then got this error in /var/log/Xorg.0.log reported at my restart (i3 not launching itself):

https://i.imgsafe.org/253b4227eb.jpg

So i did this:

vim /etc/X11/xorg.conf

Section "Device"
    Identifier  "intel"
    Driver      "modesetting"
    BusID       "PCI:0:2:0"
    Option      "AccelMethod"  "sna"
    #Option      "TearFree" "True"
    #Option      "Tiling" "True"
    #Option      "SwapbuffersWait" "True"
EndSection

And finally xorg and i3 could start, but with the same old
~]$ glxgears
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual
~]$ steam
/home/solid/.local/share/Steam/steam.sh: ligne 154: VERSION_ID : variable sans liaison
/home/solid/.local/share/Steam/steam.sh: ligne 154: VERSION_ID : variable sans liaison
Running Steam on arch  64-bit
/home/solid/.local/share/Steam/steam.sh: ligne 154: VERSION_ID : variable sans liaison
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1468023329)
Xlib:  extension "GLX" missing on display ":0.0".
Installing breakpad exception handler for appid(steam)/version(1468023329)
Installing breakpad exception handler for appid(steam)/version(1468023329)
Xlib:  extension "GLX" missing on display ":0.0".
OpenGL GLX extension not supported by displayMain.cpp (310) : Assertion Failed: Fatal Error: OpenGL GLX extension not supported by display
Assert( Assertion Failed: Fatal Error: OpenGL GLX extension not supported by display ):Main.cpp:310

I feel like it's not easy

Last edited by archonaute (2016-08-03 21:25:44)

Offline

#12 2016-08-03 21:10:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

You have to replace the BusID on the nvidia driver definition with the BusID of the Nvidia card in the first variant:

Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
EndSection

and also have nvidia-libgl installed.

Offline

#13 2016-08-03 21:56:50

archonaute
Member
Registered: 2016-08-02
Posts: 5

Re: [SOLVED] 15 years of Xlib: extension "GLX" missing on display ":0

Thanks smile

Offline

Board footer

Powered by FluxBB