<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - screen corruption using SNA and TearFree on Intel GeminiLake"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105720#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - screen corruption using SNA and TearFree on Intel GeminiLake"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105720">bug 105720</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>Variant of earlier test, force TearFree to use a new(ish) scanout on every
frame:
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index e7bf6cab..409bb9bf 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -1785,7 +1785,7 @@ static bool wait_for_shadow(struct sna *sna,
}
bo = sna->mode.shadow;
- if (flip_active) {
+ if (flip_active || 1) {
bo = kgem_create_2d(&sna->kgem,
pixmap->drawable.width,
pixmap->drawable.height,
It is still pulling the scanout from a cache (or else we need to clflush
everytime) but we now have a full frame delay before reuse, and we are forced
to do a fullscreen copy everytime.</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>