[PATCH weston v2 2/3] compositor-drm: Add scanout support for linux_dmabuf buffers

Esaki Tomohito etom at igel.co.jp
Thu Oct 6 08:44:26 UTC 2016


Hi, Derek

Thanks for your reviewing and testing.

On 2016/10/04 3:20, Derek Foreman wrote:
> If I mess up redraw() to call exit(1); after drawing 100 frames I get
> the same weston crash with intel_do_flush_locked failed.
>
> I don't have a lot of time to dig into this right now - can you test an
> exit() with a full screen dmabuf surface on scanout on your driver stack?

I tried testing on my ARM based platform and also on Intel Graphics and
AMD stacks. I modified simple-dmabuf-intel as follows:

* Create dmabuf buffer by using drmIoctl(fd, DRM_IOCTL_MODE_DUMB, &arg)
  insted of the Intel specific API.
* Add full screen mode based on simple-egl.

I tried exit()ing with a full screen dmabuf surface on scanout and on
the Intel and AMD platforms weston crashed, but there wasn't any
problem on my ARM board. Our graphics drivers don't use mesa, which the
Intel and AMD do, so that may be a factor, but I'm not sure.

Best regards.

-- 
--------------------------
IGEL Co., Ltd.
Tomohito Esaki
etom at igel.co.jp


More information about the wayland-devel mailing list