<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 - Lag on terminal with compositing after 1f6dfc9"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97299">97299</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Lag on terminal with compositing after 1f6dfc9
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </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>Driver/intel
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>andreas.reis@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>As written in report 97219, "sna: Only flush GPU bo for a damage event"
introduced a lag on my urxvtc.

So far I've mostly (only?) seen it there and only mild ones, meaning to say
it's 99% full lines that are delayed and rarely more than ~ ⅛ of the terminal's
bottom screen that's outdated.

Can't find anything that reliably reproduces it, either. In fact, times when
content doesn't just lag but diverges are so short I've been unable to get a
proper screenshot. Times when it lags can be many seconds though if there are
no further on-screen changes resp. input afterwards.

The terminal is set to use compositing for transparency and fading; relevant
lines from .Xdefault should be:

urxvt*background:      rgba:1111/1111/1111/dddd
URxvt*depth:           32
URxvt.buffered:        true
URxvt*fading:          20%
URxvt*fadeColor:       black
URxvt*shading:         75

A Xorg log is in the report mentioned above. Compositor is compton
<a href="https://github.com/chjj/compton">https://github.com/chjj/compton</a> , its config file:

backend = "glx";
vsync = "opengl";
glx-no-rebind-pixmap = true;
glx-no-stencil = true;
glx-use-gpushader4 = true;
unredir-if-possible = true;
sw-opti = true;

Occurs on:
* vanilla Xorg 1.18.4 & Arch's kernel 4.7
* Xorg git and drm-intel-nightly 2016y-08m-11d-10h-34m-38s
* libdrm and mesa are current git, as starting Xorg with Arch's mesa 12.0.1-7
somehow disables all Intel hardware acceleration (ie. also compositing)
* compiler for self-compiled packages was gcc (GCC) 6.1.1 20160807 with
-mtune=native -O3 (Haswell)</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>