[Bug 77436] KDE Konsole very slow scrolling with TearFree and QT graphics system native

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 10 06:05:52 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=77436

--- Comment #55 from Chris Wilson <chris at chris-wilson.co.uk> ---
It reminds me of severe TLB miss:

Can you please try

diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index ce137bd..b08dc5c 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -1295,6 +1295,11 @@ gen7_bind_bo(struct sna *sna,
                return offset * sizeof(uint32_t);
        }

+       if (bo->tiling == I915_TILING_NONE && bo->pitch >= 4096) {
+               ErrorF("slow %s access to linear bo with pitch %d (handle=%d,
size=%d), scanout? %d, io? %d\n",
+                      is_dst ? "write" : "read", bo->pitch, bo->handle,
kgem_bo_size(bo), bo->scanout, bo->io);
+       }
+
        offset = sna->kgem.surface -=
                sizeof(struct gen7_surface_state) / sizeof(uint32_t);
        ss = sna->kgem.batch + offset;


and see if that warns about anything.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140610/9aa8d2b6/attachment.html>


More information about the intel-gfx-bugs mailing list