<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1480446408316_7918">I've since done a bit more testing with <a href="https://github.com/munezbn/dispmanx-gst-play" id="yui_3_16_0_1_1480446408316_10059">https://github.com/munezbn/dispmanx-gst-play</a> and been able to reproduce this.</div><div><br></div><div dir="ltr" id="yui_3_16_0_1_1480446408316_10060">I may have been getting confused though, as with further testing and it may not be this that is fatal - I have two files, one of which causes the pi to get in a state where it needs to be rebooted to play again (with further plays dispmanx gets in a state where it is stuck at "buffering")</div><div dir="ltr" id="yui_3_16_0_1_1480446408316_10061"><br></div><div dir="ltr" id="yui_3_16_0_1_1480446408316_10099"><br></div><div dir="ltr" id="yui_3_16_0_1_1480446408316_10100">This video causes the crash:<br></div><div dir="ltr" id="yui_3_16_0_1_1480446408316_10062"><a href="https://drive.google.com/file/d/0Bxe9EapH3b-waDlqTzBzN0hDRmM/view?usp=sharing" id="yui_3_16_0_1_1480446408316_10065" class="">https://drive.google.com/file/d/0Bxe9EapH3b-waDlqTzBzN0hDRmM/view?usp=sharing</a><br></div><div id="yui_3_16_0_1_1480446408316_10110"><br></div><div id="yui_3_16_0_1_1480446408316_10160">This video works:</div><a href="https://drive.google.com/file/d/0Bxe9EapH3b-wMnZlSG5EZWdYd1U/view?usp=sharing" id="yui_3_16_0_1_1480446408316_14162">https://drive.google.com/file/d/0Bxe9EapH3b-wMnZlSG5EZWdYd1U/view?usp=sharing</a><br><div id="yui_3_16_0_1_1480446408316_14031">    <br></div><div dir="ltr" id="yui_3_16_0_1_1480446408316_14460">I'm not sure whether the EGL errors and the failed playback are the same issue though ?<br></div><div id="yui_3_16_0_1_1480446408316_14461"> </div><div class="signature" id="yui_3_16_0_1_1480446408316_14462">S++</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, November 29, 2016 2:52 PM, Philippe Normand <phil@base-art.net> wrote:<br></font></div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <br><br> <div class="y_msg_container">This looks like <a shape="rect" href="https://bugzilla.gnome.org/show_bug.cgi?id=775248" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=775248</a><br clear="none"><br clear="none">Philippe<br clear="none"><div class="yqt5790956738" id="yqtfd26545"><br clear="none">On Tue, 2016-11-29 at 01:14 +0000, Stuart Axon wrote:<br clear="none">> Hi,<br clear="none">>    On raspberry pi I have a pipeline filesrc->decodebin->glimagesink<br clear="none">> and use set_window_handle.    This works fine, but then when I change<br clear="none">> the location of the filesrc, I get errors like below:<br clear="none">> <br clear="none">> GPU memory is 256MB, so I don't think the problem is there, I call<br clear="none">> set_window_handle in on_sync.<br clear="none">> <br clear="none">> <br clear="none">> errors:<br clear="none">> <br clear="none">> eglCreateImageKHR:  failed to create image for buffer 0x5 target<br clear="none">> 12465 error 0x300c<br clear="none">> 0:00:03.313614361  1716  0x1f43ac0 ERROR           glbasememory<br clear="none">> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:<br clear="none">> Failed to create EGLImage<br clear="none">> 0:00:03.313942533  1716 0x6f304690 ERROR           glbasememory<br clear="none">> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL<br clear="none">> buffer with context:0x1f47048<br clear="none">> <br clear="none">> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion<br clear="none">> 'GST_IS_EGL_IMAGE (image)' failed<br clear="none">> eglCreateImageKHR:  failed to create image for buffer 0x6 target<br clear="none">> 12465 error 0x300c<br clear="none">> 0:00:03.365311976  1716  0x1f43ac0 ERROR           glbasememory<br clear="none">> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:<br clear="none">> Failed to create EGLImage<br clear="none">> 0:00:03.365580827  1716 0x6f304690 ERROR           glbasememory<br clear="none">> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL<br clear="none">> buffer with context:0x1f47048<br clear="none">> <br clear="none">> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion<br clear="none">> 'GST_IS_EGL_IMAGE (image)' failed<br clear="none">> eglCreateImageKHR:  failed to create image for buffer 0x7 target<br clear="none">> 12465 error 0x300c<br clear="none">> 0:00:03.413724790  1716  0x1f43ac0 ERROR           glbasememory<br clear="none">> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:<br clear="none">> Failed to create EGLImage<br clear="none">> 0:00:03.413977704  1716 0x6f304690 ERROR           glbasememory<br clear="none">> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL<br clear="none">> buffer with context:0x1f47048<br clear="none">> <br clear="none">> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion<br clear="none">> 'GST_IS_EGL_IMAGE (image)' failed<br clear="none">> eglCreateImageKHR:  failed to create image for buffer 0x8 target<br clear="none">> 12465 error 0x300c<br clear="none">> 0:00:03.460475490  1716  0x1f43ac0 ERROR           glbasememory<br clear="none">> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:<br clear="none">> Failed to create EGLImage<br clear="none">> 0:00:03.460730435  1716 0x6f304690 ERROR           glbasememory<br clear="none">> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL<br clear="none">> buffer with context:0x1f47048<br clear="none">> <br clear="none">> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion<br clear="none">> 'GST_IS_EGL_IMAGE (image)' failed<br clear="none">> 0:00:03.466138490  1716 0x6f304690 ERROR                    omx<br clear="none">> gstomx.c:2048:gst_omx_port_populate_unlocked:<omxh264dec-omxh264dec0> <br clear="none">> Failed to pass buffer 0x6f33c178 ((nil)) to egl_render port 221:<br clear="none">> Incorrect state operation (0x80001018)</div><br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> gstreamer-devel mailing list<br clear="none">> <a shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br clear="none">> <a shape="rect" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br clear="none">_______________________________________________<br clear="none">gstreamer-devel mailing list<br clear="none"><a shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br clear="none"><a shape="rect" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><div class="yqt5790956738" id="yqtfd12911"><br clear="none"></div><br><br></div> </blockquote> </div> </div>  </div></div></body></html>