<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 --- - [snb] rendering corruption"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74327">74327</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[snb] rendering corruption
          </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>bas@basnieuwenhuizen.nl
          </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>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=93174" name="attach_93174" title="screenshot of corruption">attachment 93174</a> <a href="attachment.cgi?id=93174&action=edit" title="screenshot of corruption">[details]</a></span>
screenshot of corruption

After upgrading to 2.99.908, I got some rendering corruption. See the attached
screenshot for an example.

As this is a regression for me, I bisected it and got

1f9a6156e9240a1efa8785ab5bca0a3b1757d08e is the first bad commit
commit 1f9a6156e9240a1efa8785ab5bca0a3b1757d08e
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Fri Jan 31 20:02:44 2014 +0000

    sna: remove short-circuit for move-to-CPU when damage covers region

    The short-circuit path missed translating the damage from drawable space
    into the pixmap (for Composite setups) which may have resulted in
    corruption. The path was also failing to consider the impact of reusing
    an active CPU bo when it could be discarding the unwanted damage and
    reallocating.

    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>


Reproducing the problem:

As far as I can see on Qt applications the corruptions appears mostly on areas
with some kind of shadow or buttons behind the cursor. However on gedit it is
the open file dialog that is almost completely black.

While I have not found a clear pattern to where it occurs, it occurs pretty
reliably across restarts of the X server.

Applications I tested are kdevelop4, kate and gedit.

System environment:

xserver 1.15.0
mesa 10.0.2
kernel 3.12.9-1-ARCH on x86_64
window manager: xmonad

I configured xf86-video-intel with

./configure --prefix=/usr --enable-glamor</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>