[Bug 99507] Corrupted frame contents with Vulkan version of DOTA2, Talos Principle and Sascha Willems' demos when they're run Vsynched in fullscreen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 3 15:13:19 UTC 2018


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

Jason Ekstrand <jason at jlekstrand.net> changed:

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

--- Comment #22 from Jason Ekstrand <jason at jlekstrand.net> ---
This is fixed by the following commit in master:

commit 7a89a0d9edae638e68e4b4ee8e0cbb34baa9c080
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Jul 9 14:21:33 2018 -0700

    anv: Use separate MOCS settings for external BOs

    On Broadwell and above, we have to use different MOCS settings to allow
    the kernel to take over and disable caching when needed for external
    buffers.  On Broadwell, this is especially important because the kernel
    can't disable eLLC so we have to do it in userspace.  We very badly
    don't want to do that on everything so we need separate MOCS for
    external and internal BOs.

    In order to do this, we add an anv-specific BO flag for "external" and
    use that to distinguish between buffers which may be shared with other
    processes and/or display and those which are entirely internal.  That,
    together with an anv_mocs_for_bo helper lets us choose the right MOCS
    settings for each BO use.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99507
    Cc: mesa-stable at lists.freedesktop.org
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

I'm sorry this took so absurdly long to resolve. :-(  It wasn't until I saw the
corruption with CCS that it really became easy to triage.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20181003/693ac135/attachment.html>


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