Bug 93138 - More verbose errors for dmabuf creation.
Summary: More verbose errors for dmabuf creation.
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: All Linux (All)
: medium enhancement
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
Depends on:
Reported: 2015-11-27 13:34 UTC by Lubosz Sarnecki
Modified: 2019-09-25 18:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

More verbose errors for dmabuf creation. (1.52 KB, text/plain)
2015-11-27 13:34 UTC, Lubosz Sarnecki

Description Lubosz Sarnecki 2015-11-27 13:34:46 UTC
Created attachment 120173 [details]
More verbose errors for dmabuf creation.

Using EXT_image_dma_buf_import on i965 can be confusing if you don't look in the code.
The driver always outputs EGL_BAD_MATCH for using multi planar formats. The practice here is to use multiple EGL images per plane and do the color conversion in GLSL.
The same error is given when the fourcc format is unsupported.
This patch gives the application programmer more information about what he is doing wrong, by putting out this information with _mesa_warning().
Comment 1 Matt Turner 2016-10-31 23:58:29 UTC
Thank you. Would you please send the patch to mesa-dev@lists.freedesktop.org for review?
Comment 2 GitLab Migration User 2019-09-25 18:55:14 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1504.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.