[Bug 795518] New: gldownload: DMABuf export is broken on Intel

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 24 20:32:03 UTC 2018


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

            Bug ID: 795518
           Summary: gldownload: DMABuf export is broken on Intel
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nicolas at ndufresne.ca
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

It would seem that Mesa/Intel recently enabled titling or frame buffer
compression on the exported DMABuf, and that broke this pipeline:

  gst-launch-1.0 gltestsrc ! glcolorconvert ! gldownload ! waylandsink

Though, right now, we just create EGLImage from texture, which then export
whatever internal format was internally chosen. The way the export method work,
is that we get to know the format at exportation time:

https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst-libs/gst/gl/egl/gsteglimage.c#n516

But right now we pass NULL/NULL for the format/modifiers pair. I propose to
read and validate these value for now, and just fail the export if it there is
a modifiers, or if the format does not match the expected one.

If we figure-out how to add modifiers support in GStreamer later, we could
revisit and enable this again.

-- 
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