Page 1 of 1

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

PostPosted: Mon Sep 07, 2015 03:06
by Kilarin
Running Ubuntu 14.04.3
Running minetest:
minetest_201509061901-0~4097~ubuntu14.04.1_i386.deb (although this started yesterday, so probably the 20150905 build)

I suddenly can't play minetest anymore. I get the below when trying to start in a terminal.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ minetest
Xlib:  extension "GLX" missing on display ":0.0".
2015-09-06 21:31:19: ACTION[Main]: Irrlicht: No GLX support available. OpenGL driver will not work.
2015-09-06 21:31:19: ERROR[Main]: Irrlicht: Fatal error, could not get visual.
2015-09-06 21:31:19: ERROR[Main]: Could not initialize game engine.
$


I backed up to version minetest_201508311902-0~4082~ubuntu14.04.1_i386.deb, and I get the same error. So now I'm realizing its NOT minetest, but that some other update I did in the last few days killed OpenGL?

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$ glxinfo
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".
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".


I am out of my depth here, graphics have never been my speciality. Anyone else have a clue what update I took from Ubuntu that killed OpenGL? Or am I misunderstanding what is going on here?

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

PostPosted: Wed Sep 09, 2015 22:21
by Kilarin
Ok, problem resolved. This is what I did:

App button > all settings button, went to additional drivers tab, and switched from nvidia 304.125 proprietary tested to X.org X server nouveau.
restarted and glxinfo now showed that opengl was working, but as soon as I tried to run minetest, everything locked up.
So I restarted, went back to the additional drivers tab again, and switched BACK to nvidia 304.125 proprietary tested, and restarted.
And lo and behold! Suddenly glxinfo is showing:

server glx vendor string: NVIDIA Corporation
server glx version string: 1.4

And I can run applications that use opengl without locking up!

I don't know what caused the problem, but apparently just switching the driver and then switching it back fixed it.

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

PostPosted: Wed Sep 09, 2015 22:24
by everamzah
fglrx and nouveau do not play nicely together. i don't know about ubuntu, but on debian you can do: # update-alternatives --config glx to switch between the two. Some programs (ie google-chrome) blacklist fglrx, so you may find performance actually better using nouveau in some cases.