Mismatch in modifiers between winsys handle and dmabuf fd
Submitted by Link Mauve
Assigned to Intel 3D Bugs Mailing List
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.