Broken GLX after upgrade


Since recent upgrade on unstable I haven’t any more been able to start my terminal.

[233 12:13:02.815235] [glfw error 65543]: GLX: Failed to create context: GLXBadFBConfig
[233 12:13:02.815274] Failed to create GLFW temp window!

There was an error initializing the shaders: failed linking shader: error: vertex shader lacks `main’

I am bit lost what is actually broken since everything else seems to work (glxgears runs just fine).



can you give the output for glxinfo | grep Device?

I believe that glxgears falls back on a CPU renderer if there is no hardware acceleration.

Extended renderer info (GLX_MESA_query_renderer):
Vendor: nouveau (0x10de)
Device: NVE7 (0xff6)
Version: 18.1.5
Accelerated: yes

I think I’m having similar behaviour on my system.
glxgears works but everything else using opengl either crashes outright or just shows a white screen or something of the like.

glxinfo| grep Device
Device: Radeon RX Vega (VEGA10, DRM 3.25.0, 4.17.11, LLVM 6.0.1) (0x687f)

I’ve got problems as well with a Radeon RX 580.
For some weird reasons, glxinfo tells me that my OpenGL Core Profile is
stuck at version 0.
Forcing it to 3.3 fixes problems I have with opengl applications.
(alacritty, discord, …) using:


But that’s only a workaround. I don’t really understand what has

Oh cool… I can confirm workaround.

This was broken because texture floats were accidentally disabled in mesa. The fix is already in the staging branch: mesa: enable texture floats by gebner · Pull Request #45631 · NixOS/nixpkgs · GitHub

1 Like