[Bug 105720] screen corruption using SNA and TearFree on Intel GeminiLake

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 28 23:13:16 UTC 2018


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

--- Comment #21 from Clinton Taylor <clinton.a.taylor at intel.com> ---
(In reply to Chris Wilson from comment #20)
> Based on Martin's AccelMethod=none logs, we found this:
> 
> commit 7418d53c589719f71154c5ec58a2b7c486020587 (HEAD, upstream/master)
> Author: Chris Wilson <chris at chris-wilson.co.uk>
> Date:   Wed Mar 28 19:38:51 2018 +0100
> 
>     sna/dri2: Clip application of damage to windowed swapbuffers
>     
>     Since forever we have been passing region=NULL when doing a windowed
>     swapbuffer on vblank, and using that to mark the entire pixmap as being
>     damaged. For an uncomposited window, this is incorrect as it points to a
>     clipped region of the ScreenPixmap and so we were marking the entire
>     ScreenPixmap as being flushed, but only having operated on the windowed
>     region. Instead pass along the clip extents if region is unset.
>     
>     References: https://bugs.freedesktop.org/show_bug.cgi?id=105720
>     Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> 
> It definitely impacts AccelMethod=none and seems to improve AccelMethod=sna
> as well, but I haven't been able to explain why.

This patch does not fix the issue. Issue is still seen on GLK and BXT
platforms.

There are times that the original issue is not seen for over an hour.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180328/06c989ea/attachment-0001.html>


More information about the intel-gfx-bugs mailing list