Select the version
Git master branch
Describe your issue
When running legacy OpenGL games (such as Minecraft Alpha running on LWJGL 2) or Steam 32-bit wrappers under XLibre, the applications instantly crash during the OpenGL context/window creation.
The crash log for Minecraft specifically points to a GLX extension failure:
org.lwjgl.LWJGLException: X Error - disp: 0x... serial: 62 error: GLXBadWindow request_code: 138 minor_code: 32
Additionally, Steam games fail to launch, reporting display resolution errors (which points to a regression with RandR failing to report or set modes correctly for legacy 32-bit SDL clients).
Troubleshooting already done:
- Tested with
Option "TearFree" "false" and Option "Atomic" "off" in the modesetting config. The crash persists.
- Tested completely rootless and without any compositor running (no
picom, no xcompmgr). The crash persists.
- Using the exact same system, drivers, and
xinitrc, replacing XLibre with the standard xorg-server makes all games (Steam and Minecraft) work flawlessly.
- This confirms there is a deep regression within XLibre's
libglx.so or RandR implementation compared to upstream Xorg.
System Information:
- OS: Void Linux (amd64)
- GPU: Intel UHD Graphics 620
- Driver: Built-in
modesetting (using Mesa iris and DRI3/DRI2)
- XLibre Build flags:
-Dglamor=true -Dudev=true -Dxorg=true
Upstream_Xorg.0.log
XLibre_Xorg.1.log
Steps to reproduce
- Compile and install XLibre from the git master branch.
- Start an X session (
startx) using the built-in modesetting driver on an Intel GPU.
- Attempt to launch Steam or a legacy OpenGL game like Minecraft Alpha (using LWJGL 2.9.4).
- Observe the immediate
GLXBadWindow crash upon OpenGL initialization, or RandR resolution switching failures in Steam.
What did you expect?
I expected legacy GLX applications (like Minecraft / LWJGL 2) and 32-bit wrappers (like Steam) to launch successfully with hardware acceleration, exactly as they do on the upstream xorg-server using the identical driver configuration.
Additional Information
Minecraft crash log snippet:
Minecraft has stopped running because it encountered a problem.
...
org.lwjgl.LWJGLException: X Error - disp: 0x7f6d180308a0 serial: 62 error: GLXBadWindow request_code: 138 minor_code: 32
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:320)
at org.lwjgl.opengl.LinuxDisplay.nCreateWindow(Native Method)
at org.lwjgl.opengl.LinuxDisplay.createWindow(LinuxDisplay.java:495)
...
Extra fields
Select the version
Git master branch
Describe your issue
When running legacy OpenGL games (such as Minecraft Alpha running on LWJGL 2) or Steam 32-bit wrappers under XLibre, the applications instantly crash during the OpenGL context/window creation.
The crash log for Minecraft specifically points to a GLX extension failure:
org.lwjgl.LWJGLException: X Error - disp: 0x... serial: 62 error: GLXBadWindow request_code: 138 minor_code: 32Additionally, Steam games fail to launch, reporting display resolution errors (which points to a regression with RandR failing to report or set modes correctly for legacy 32-bit SDL clients).
Troubleshooting already done:
Option "TearFree" "false"andOption "Atomic" "off"in themodesettingconfig. The crash persists.picom, noxcompmgr). The crash persists.xinitrc, replacing XLibre with the standardxorg-servermakes all games (Steam and Minecraft) work flawlessly.libglx.soor RandR implementation compared to upstream Xorg.System Information:
modesetting(using Mesairisand DRI3/DRI2)-Dglamor=true -Dudev=true -Dxorg=trueUpstream_Xorg.0.log
XLibre_Xorg.1.log
Steps to reproduce
startx) using the built-inmodesettingdriver on an Intel GPU.GLXBadWindowcrash upon OpenGL initialization, or RandR resolution switching failures in Steam.What did you expect?
I expected legacy GLX applications (like Minecraft / LWJGL 2) and 32-bit wrappers (like Steam) to launch successfully with hardware acceleration, exactly as they do on the upstream xorg-server using the identical driver configuration.
Additional Information
Minecraft crash log snippet:
Extra fields