[Bug 103759] plasma desktop corrupted rendering

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 18 06:27:35 UTC 2017


Jason Ekstrand <jason at jlekstrand.net> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Jason Ekstrand <jason at jlekstrand.net> ---
This should be fixed by the following commit.  It fixes it for GNOME-shell on
Wayland which was displaying similar corruption bisecting to the same commit.

commit 0a6a137eb27129e17298cfe9dd620205588ee4f6
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Nov 17 16:52:09 2017 -0800

    i965: Mark BOs as external when we export their handle

    Almost all of our BO export paths were already properly marked the BO as
    external and added it to the handle table.  Most export use-cases go
    through a prime fd or flink where we have a brw_bo export helper that
    does the right thing.  The one missing one happens when you call
    queryImage and ask for __DRI_IMAGE_ATTRIB_HANDLE.  We just grabbed the
    gem handle out of the BO (because it's really easy to do that) and
    handed it off to the client; what could go wrong?  As it turns out, this
    path is used by basically every compositor that wants to turn around and
    call drmModeAddFB2 on it so it can hand it off to display.  The result,
    as of 4b1e70cc57d7ff5f465544644b2180dee1490cee, is that we no longer set
    MOCS_PTE on those surfaces and the kernel's attempts to disable caching
    fail and we scanout gets corruption.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103759
    Fixes: 4b1e70cc57d7ff5f465544644b2180dee1490cee
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Cc: mesa-stable at lists.freedesktop.org

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-3d-bugs/attachments/20171118/2dba8811/attachment.html>

More information about the intel-3d-bugs mailing list