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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 13 04:28:47 PDT 2014


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

--- Comment #80 from Chris Wilson <chris at chris-wilson.co.uk> ---
If you try:

diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 3fcca3e..f0e68a2 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -2858,6 +2858,8 @@ prefer_blt_copy(struct sna *sna,
                struct kgem_bo *dst_bo,
                unsigned flags)
 {
+       return true;
+
        if (sna->kgem.mode == KGEM_BLT)
                return true;

does that prevent the lag?

And in particular,

diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 3fcca3e..41950ed 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -2965,8 +2965,7 @@ fallback_blt:
                if (too_large(extents.x2-extents.x1, extents.y2-extents.y1))
                        goto fallback_blt;

-               if (can_switch_to_blt(sna, dst_bo, flags) &&
-                   sna_blt_copy_boxes(sna, alu,
+               if (sna_blt_copy_boxes(sna, alu,
                                       src_bo, src_dx, src_dy,
                                       dst_bo, dst_dx, dst_dy,
                                       dst->drawable.bitsPerPixel,

-- 
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/20140613/f9ae4181/attachment.html>


More information about the intel-gfx-bugs mailing list