GLX with DRI2 doesn't work properly when xcb is owning the event queue
Submitted by Yuxuan Shui
Assigned to mes..@..op.org
Link to original bug (#108705)
Description
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, compton2 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.
Version: 18.2