[Bug 785518] New: rpi, gl: eglCreateImageKHR failing
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jul 28 08:40:15 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785518
Bug ID: 785518
Summary: rpi, gl: eglCreateImageKHR failing
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: gdesmott at gnome.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I built gst master on pi with those settings:
gst-plugins-bad:with_egl_module_name /opt/vc/lib/libEGL.so
The file to pass to g_module_open to open
the libEGL.so library (default: libEGL.so)
gst-plugins-bad:with_gl_api gles2
A comma separated list of opengl APIs to
enable building against. Supported values are opengl and gles2.
gst-plugins-bad:with_gl_platform egl
A comma separated list of opengl
platforms to enable building against. Supported values are glx, egl, cgl, wgl
and eagl
gst-plugins-bad:with_gl_winsys dispmanx
A comma separated list of opengl windows
systems to enable building against. Supported values are x11, wayland, win32,
cocoa, and dispmanx
gst-plugins-bad:with_gles2_module_name /opt/vc/lib/libGLESv2.so
The file to pass to g_module_open to open
the libGLESv2.so library (default: libGLESv2.so)
gst-plugins-bad:with_opengl_module_name
The file to pass to g_module_open to open
the libGL.so library (default: libGL.so)
Those pipelines are working fine:
gst-launch-1.0 videotestsrc ! glimagesink
gst-launch-1.0 videotestsrc ! omxh264enc ! queue ! omxh264dec ! queue !
glimagesink
But this one is not:
$ gst-launch-1.0 -v filesrc location=../medias/short-hd.h264 ! h264parse !
omxh264dec ! queue ! glimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'sink': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayEGL\)\ gldisplayegl0";
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264,
pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080,
framerate=(fraction)60/1, parsed=(boolean)true,
stream-format=(string)byte-stream, alignment=(string)au,
profile=(string)baseline, level=(string)4.2
/GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0.GstPad:sink:
caps = video/x-h264, pixel-aspect-ratio=(fraction)1/1, width=(int)1920,
height=(int)1080, framerate=(fraction)60/1, parsed=(boolean)true,
stream-format=(string)byte-stream, alignment=(string)au,
profile=(string)baseline, level=(string)4.2
/GstPipeline:pipeline0/GstOMXH264Dec-omxh264dec:omxh264dec-omxh264dec0.GstPad:src:
caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)1920,
height=(int)1080, interlace-mode=(string)progressive,
multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB,
framerate=(fraction)60/1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps =
video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)1920,
height=(int)1080, interlace-mode=(string)progressive,
multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB,
framerate=(fraction)60/1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps =
video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)1920,
height=(int)1080, interlace-mode=(string)progressive,
multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB,
framerate=(fraction)60/1
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink.GstProxyPad:proxypad0:
caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)1920,
height=(int)1080, interlace-mode=(string)progressive,
multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB,
framerate=(fraction)60/1
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:src:
caps = video/x-raw(memory:GLMemory), width=(int)1920, height=(int)1080,
interlace-mode=(string)progressive, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1,
format=(string)RGBA, texture-target=(string)2D, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:src:
caps = video/x-raw(memory:GLMemory), width=(int)1920, height=(int)1080,
interlace-mode=(string)progressive, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1,
format=(string)RGBA, texture-target=(string)2D, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:src:
caps = video/x-raw(memory:GLMemory), width=(int)1920, height=(int)1080,
interlace-mode=(string)progressive, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1,
format=(string)RGBA, texture-target=(string)2D, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink.GstPad:sink:
caps = video/x-raw(memory:GLMemory), width=(int)1920, height=(int)1080,
interlace-mode=(string)progressive, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1,
format=(string)RGBA, texture-target=(string)2D, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:sink:
caps = video/x-raw(memory:GLMemory), width=(int)1920, height=(int)1080,
interlace-mode=(string)progressive, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1,
format=(string)RGBA, texture-target=(string)2D, colorimetry=(string)sRGB
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:sink:
caps = video/x-raw(memory:GLMemory), width=(int)1920, height=(int)1080,
interlace-mode=(string)progressive, multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1,
format=(string)RGBA, texture-target=(string)2D, colorimetry=(string)sRGB
eglCreateImageKHR: failed to create image for buffer 0x1 target 12465 error
0x300c
0:00:00.420248019 11105 0x7ccc00 ERROR glbasememory
gstglbasememory.c:97:_mem_create_gl: Failed to create GL buffer: Failed to
create EGLImage
0:00:00.420357549 11105 0x71502260 ERROR glbasememory
gstglbasememory.c:171:gst_gl_base_memory_init: Could not create GL buffer with
context:0x7db8d8
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:sink:
caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)1920,
height=(int)1080, interlace-mode=(string)progressive,
multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB,
framerate=(fraction)60/1
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink: caps
= video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)1920,
height=(int)1080, interlace-mode=(string)progressive,
multiview-mode=(string)mono,
multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono,
pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB,
framerate=(fraction)60/1
** (gst-launch-1.0:11105): CRITICAL **: gst_egl_image_get_image: assertion
'GST_IS_EGL_IMAGE (image)' failed
eglCreateImageKHR: failed to create image for buffer 0x2 target 12465 error
0x300c
0:00:00.428211972 11105 0x7ccc00 ERROR glbasememory
gstglbasememory.c:97:_mem_create_gl: Failed to create GL buffer: Failed to
create EGLImage
0:00:00.428285513 11105 0x71502260 ERROR glbasememory
gstglbasememory.c:171:gst_gl_base_memory_init: Could not create GL buffer with
context:0x7db8d8
--
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