[Bug 796626] [Feature requirement] PRIME Buffer Sharing (Buffer Import/Export).

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 20 18:06:34 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796626

--- Comment #5 from sreerenj <bsreerenj at gmail.com> ---
(In reply to Nicolas Dufresne (ndufresne) from comment #2)
> Can someone explain how is this related to GStreamer, it's so vague that I
> was temped to close this bug (and the others) either away. Answer those two
> questions, and we may be able to keep track or this.
> 
> What is the issue you are facing?
> What do you expect do happen instead?

VA-API allows creating a vaSurface from,
a: VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME (dmabuf)
b: VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM (gem buffer)

We have proper negotiation support for dmabuf in gst-vaapi. For gem buf, there
are internal methods implemented in gstreamer-vaapi to export gem-buffer-id to
vaSurface. But no test case to test it. And no specific caps negotiation too.

IIRC, Using cluttersink with EGL (GLTextureUploadMeta) was using the
va-surface-to-gem-buffer path. But I don't know whether it is still working.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list