<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [ILK] system stalls with vaapi rendering"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=61011">61011</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ILK] system stalls with vaapi rendering
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>liquid.acid@gmx.net
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>DRI CVS
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,

first of all an overview of used system components:
xf86-video-intel git (43ba22ef4a4142f334e9ae2d926250988ecbe8bc)
libdrm git (36d18211b196cad4761ac70c4fd08aba323f5b0d)
libva-1.1.0
intel-driver git (7803fcae62c868c26f24425df04aee0405342563)
vanilla kernel 3.7.8

The DDX is using the SNA backend, however switching to UXA doesn't help.

The issue appears for me in combination with h264 playback through vaapi
(mplayer-vaapi -vo vaapi -va vaapi). I can't exclude that it also happens in
other situations.

THe issue: Playback stalls for several 100ms (very much noticeable, always
accompanied by sound dropout (audio backend is pulseaudio on a remote
machine)).

mplayer itself doesn't notice these stalls. If it would be high CPU usage
spikes, it would display the usual "system too slow, blabla" message. However
it doesn't, and monitoring CPU usage with top reveals that nothing is really
happening during these stalls. The XFCE CPU monitor graph even indicates that
CPU load drops to flat zero during these stalls.

I fiddled around with different versions of the DDX, libva's intel-driver and
SNA/UXA -- to no avail.
I could restore the original (stall-free) behaviour by going back to vanilla
3.4.31, so I presume that the issue was introduced by changes to the DRM code.

Any ideas on how to triage this (apart from bisecting of course)? E.g. I have
no idea how to find out what exactly is stalling playback -- which would be a
good starting point.

Greets,
Tobias

PS: Oh yes, nothing interesting in dmesg, Xorg.log or syslog in general.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>