<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - GLX with DRI2 doesn't work properly when xcb is owning the event queue"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108705">108705</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GLX with DRI2 doesn't work properly when xcb is owning the event queue
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>18.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>GLX
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yshuiv7@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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]: <a href="https://lists.freedesktop.org/archives/xcb/2011-November/007337.html">https://lists.freedesktop.org/archives/xcb/2011-November/007337.html</a>
[2]: <a href="https://github.com/yshui/compton">https://github.com/yshui/compton</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>