<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 --- - Catalan driconf translation causes bad performance and graphical corruption with vsync in kwin"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76076">76076</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Catalan driconf translation causes bad performance and graphical corruption with vsync in kwin
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-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>haagch.christoph@googlemail.com
          </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>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Okay, get ready for an esoteric bug report. I can't even begin to formulate any
thoughts on why any of this happens.

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
Graphics Controller (rev 09)

Also I have this in the same machine, but I hope it doesn't matter:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Wimbledon XT [Radeon HD 7970M] (rev ff)


Problems I see with kwin vsync with "full screen repaints" or whatever it is
called in english:
* At the top of the screen over the whole width some white artifacts are
flickering but then mostly vanishing after a while.
* In title bars there's sometimes a white bar over the top maybe 1/4 of the
title bar, sometimes a bit flickering.
* corruption around the mouse pointer in some areas on the screen, during
taking screenshots it flickers to the normal mouse pointer, here's a bad
picture of it: <a href="http://i.imgur.com/0Rztnru.png">http://i.imgur.com/0Rztnru.png</a>
* Bad performance, i.e. laggy, when moving windows around and using gui
elements like dropdownboxes. Usable, but noticeably laggy. gtkperf is ~5
seconds with vsync vs. ~3 seconds without vsync. Without the problematic commit
it is ~3 seconds for both cases.

When using "automatic" vsync in kwin it is much better with the corruption and
artifacts, but the performance when moving windows is initially still bad, but
gets better after maybe half a second.

When using no vsync in kwin I think there are no issues at all.

I have bisected it to d5e5367e8992c2e5322d35fba8d86c33a0db6825 which adds
catalan translations to driconf, and only i965_dri.so needs to be replaced to
make the issue appear/disappear. I couldn't really believe it, but yet here I
am.

This is compiled with -march=native on ivy bridge with these configure options
<a href="http://pastebin.com/raw.php?i=1kUkiFCX">http://pastebin.com/raw.php?i=1kUkiFCX</a>

84529a5ddb214961d0a743c68a4b8e13fb7ab34b:
<a href="http://w3studi.informatik.uni-stuttgart.de/~haagch/i965_dri.so.good">http://w3studi.informatik.uni-stuttgart.de/~haagch/i965_dri.so.good</a>

d5e5367e8992c2e5322d35fba8d86c33a0db6825:
<a href="http://w3studi.informatik.uni-stuttgart.de/~haagch/i965_dri.so.bad">http://w3studi.informatik.uni-stuttgart.de/~haagch/i965_dri.so.bad</a>

Since d5e5367e8992c2e5322d35fba8d86c33a0db6825 I have seen this right up until
latest git master. Reverting this commit makes the issues go away.

I'm using de_DE.UTF8, if that makes a difference. gcc 4.8.2 on archlinux.</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>