<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 - [Regression 1.12->1.13] "read from connection when polling" causes video to freeze"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106405">106405</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Regression 1.12->1.13] "read from connection when polling" causes video to freeze
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>XCB
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </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>Library
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xcb@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>john@jlindgren.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xcb@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After updating libxcb to 1.13, video intermittently freezes in Skype calls. 
Actually, it's not just the video stream that hangs, the whole Skype window
freezes temporarily (1-10 seconds).  Switching in/out of fullscreen gets things
moving again.

The hangs are most noticeable in Skype (which is Chromium-based) but also occur
occasionally in Chromium itself; I have seen brief but definite
freezes/stutters in YouTube and Netflix video, as well as scrolling through at
least some web pages (amazon.com for example).

Reverting the following commit makes everything smooth again:
<a href="https://cgit.freedesktop.org/xcb/libxcb/commit/?id=fad81b63422105f9345215ab2716c4b804ec7986">https://cgit.freedesktop.org/xcb/libxcb/commit/?id=fad81b63422105f9345215ab2716c4b804ec7986</a>

Since Skype and Chromium share the same codebase, and I haven't seen freezes in
other applications, it could be a bug in Chromium that is merely triggered by
the libxcb change.  I don't know enough of the internals of either project to
say which is at fault.

Disabling compositing (compton) seemed to work around the issue but of course
leads video tearing, which is no less annoying.

Arch Linux x86_64 w/ kernel 4.16.5-1
Intel (Skylake) graphics w/ modesetting driver + DRI2
Xorg 1.19.6+13+gd0d1a694f-2
Mesa 18.0.1-1
Compton 0.1_beta2.5-10 w/ GLX backend</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>