[Mesa-dev] [Bug 108705] GLX with DRI2 doesn't work properly when xcb is owning the event queue

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 10 18:48:05 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108705

            Bug ID: 108705
           Summary: GLX with DRI2 doesn't work properly when xcb is owning
                    the event queue
           Product: Mesa
           Version: 18.2
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: yshuiv7 at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

There was an email thread on this topic before [1]. To summarize, dri2 glx
relies on XESetWireToEvent to register DRI2WireToEvent as a callback, so it can
get the buffer invalidation events. If xcb is owning the queue, those callbacks
won't be called, thus things can't work.

Recently, to avoid a Xlib event handling bug, compton[2] switched to xcb event
processing, and that caused some problem with users who don't have DRI3 (for
example, nouveau doesn't have DRI3 by default). 

It would be really nice if GLX on DRI2 can work with xcb event processing.

[1]: https://lists.freedesktop.org/archives/xcb/2011-November/007337.html
[2]: https://github.com/yshui/compton

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181110/3089cbdf/attachment-0001.html>


More information about the mesa-dev mailing list