-
Bug
-
Resolution: Done
-
Undefined
-
None
-
rhel-9.5
-
None
-
No
-
None
-
afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9
-
1
-
rhel-display-window-mgmt
-
1
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
Display WM #1/2025
-
None
-
None
-
All
-
None
What were you trying to do that didn't work?
I was running glmark2 with Zink on a radeon GPU and I was receiving these errors:
[build] use-vbo=false: FPS: 890 FrameTime: 1.124 ms
Error: glXCreateNewContext failed
Error: CanvasGeneric: Invalid EGL state
Error: Failed to add vertex shader from file None:
Error: Failed to create the new program
[build] use-vbo=true: Set up failed
Error: glXCreateNewContext failed
Error: CanvasGeneric: Invalid EGL state
Error: Failed to add vertex shader from file None:
Error: Failed to create the new program
After a lot of time debugging Mesa, XServer, and XCB, we found that the issue was caused by libX11 not being compiled with thread-safe.
What is the impact of this issue to you?
Applications (like glmark2) fail at random.
Please provide the package NVR for which the bug is seen:
libX11-1.7.0-9.el9.x86_64
How reproducible is this bug?:
Steps to reproduce
- Compile glmark2
- Run `MESA_LOADER_DRIVER_OVERRIDE=zink glmark2 --size 1920x1080`
- Wait until it fails
Expected results
glmark2 should run perfectly
Actual results
Glmark2 always fail