<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][bisected] MPV playing video via opengl "randomly" results in only part of the window / screen being rendered with Mesa GIT."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101558">101558</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[regression][bisected] MPV playing video via opengl "randomly" results in only part of the window / screen being rendered with Mesa GIT.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </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>ccr@tnsp.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=132141" name="attach_132141" title="Screenshot of bugged rendering.">attachment 132141</a> <a href="attachment.cgi?id=132141&action=edit" title="Screenshot of bugged rendering.">[details]</a></span>
Screenshot of bugged rendering.

Mesa GIT commit b7153c3e9f9d2d430b0338313587a00e531e4800 "i965: Call
intel_prepare_render() from intel_update_state()" causes a regression with MPV
OpenGL video output at least on Haswell, resulting occasionally in partially
rendered window (or screen, in case of fullscreen). The problem tends to
persist, e.g. seeking or such does not get rid of it. Restarting MPV may
sometimes result in correct rendering, but switching to fullscreen may result
in broken rendering again.

Reverting the commit on top of Mesa GIT head "fixes" the problem, but is
probably not a good solution as the change is supposed to fix other issues.

Screenshot of buggy rendering attached.

-- Linux distribution: Debian GNU/Linux 9.0 (stretch)
-- System architecture: amd64
   Foreign architectures: i386
-- Machine: Asus H97M-PLUS, Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
-- Kernel version: 4.9.33-grsec
-- Chipset: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated
Graphics Controller (rev 06)
-- Display connector(s): HDMI (2560x1440)
-- Window manager: WindowMaker 0.95.7-8
-- xf86-video-intel: GIT 
-- X server: Xorg 2:1.19.3-1
-- libpixman: 0.34.0-1
-- libdrm version: GIT b9549c954e190010a79e6691983b6ae16eac83d5</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>