You are not logged in.
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
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:
Run your desktop on energy saving intel card and only use the nvidia card for graphic intensive applications: Follow https://wiki.archlinux.org/index.php/Bumblebee (in contrast to your post, this will explicitly tell you to install mesa-libgl as opposed to nvidia-libgl, amongst many other things)
If you don't care about the integrated card and want to use just the nvidia card (indeed with nvidia-libgl this time): https://wiki.archlinux.org/index.php/NV … ing_nvidia
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
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:310And 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
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
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
@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
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
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
~]$ 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
It does, you will have to do one or the other of the things I linked to.
Offline
I first tried
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --autoin my xinitrc that looks like
#!/bin/bash
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
setxkbmap fr-latin9
exec i3and
/etc/X11/xorg.conf
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:0:2:0"
Option "AllowEmptyInitialConfiguration"
EndSectionand 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"
EndSectionAnd 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
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"
EndSectionand also have nvidia-libgl installed.
Offline
Thanks ![]()
Offline