[Bug 111589] Mismatch in modifiers between winsys handle and dmabuf fd

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 8 10:13:12 UTC 2019


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

            Bug ID: 111589
           Summary: Mismatch in modifiers between winsys handle and dmabuf
                    fd
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: not set
         Component: Drivers/Gallium/Iris
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: bugs at linkmauve.fr
        QA Contact: intel-3d-bugs at lists.freedesktop.org

In iris_resource_from_handle(), when a Wayland client created an
I915_FORMAT_MOD_Y_TILED_CCS buffer, whandle->modifier and res->bo->tiling_mode
end up desynchronised, the first one being Y-tiled, the second linear, leading
to the assert on line 967 to crash Weston.

I haven’t been able to figure out where this bo gets created without the proper
tiling mode though, but the resource doesn’t have the CCS aux bo either.

A I915_FORMAT_MOD_Y_TILED buffer works, as does a linear one.

Running latest ArchLinux, Mesa f83f9d7daa (master), Weston master, testing with
Dolphin on this PR: https://github.com/dolphin-emu/dolphin/pull/7452

-- 
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/20190908/19b2a93e/attachment.html>


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