<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 - [i965] [Bisected] VAAPI not working on Broadwell with mesa 17.2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102774">102774</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[i965] [Bisected] VAAPI not working on Broadwell with mesa 17.2
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>17.2
          </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>Drivers/DRI/i965
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>gty12113@posdz.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Archlinux
Dell Latitude e7450
i5-5300U
Broadwell HD Graphics 5500

linux 4.12.12
mesa 17.2.0
libva-intel-driver 1.8.3
libva 1.8.3
mpv 0.27.0

mpv -hwdec=vaapi -vo=vaapi video.mkv no longer works with mesa 17.2. It shows a
black window. No video plays. Audio plays fine. App UI works fine. No problems
with mesa 17.1.9. It also affects chromium when it is patched to enable
hardware acceleration via vaapi.

No errors on dmesg, mpv and /sys/class/drm/card0/error

Bisected mesa and found that vaapi stopped working with commit
8ec5a4e4a4a32f4de351c5fc2bf0eb615b6eef1b

If I reverse the changes to brw_state_upload.c with HEAD 17.2, vaapi starts
working again.

<a href="https://cgit.freedesktop.org/mesa/mesa/commit/?h=17.2&id=8ec5a4e4a4a32f4de351c5fc2bf0eb615b6eef1b">https://cgit.freedesktop.org/mesa/mesa/commit/?h=17.2&id=8ec5a4e4a4a32f4de351c5fc2bf0eb615b6eef1b</a></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>