Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-71805

libx11 compiled withtout thread-safe option

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • libX11
    • None
    • No
    • None
    • afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9
    • 1
    • rhel-display-window-mgmt
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • 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

      1. Compile glmark2
      2. Run `MESA_LOADER_DRIVER_OVERRIDE=zink glmark2 --size 1920x1080`
      3. Wait until it fails

      Expected results

      glmark2 should run perfectly

      Actual results

      Glmark2 always fail

              rhn-engineering-ofourdan Olivier Fourdan
              igortorrente Igor Torrente (Inactive)
              Olivier Fourdan Olivier Fourdan
              Tomas Pelka Tomas Pelka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: