GLES: Failed to create EGLImage

Stuart Axon stuaxo2 at yahoo.com
Tue Nov 29 19:24:52 UTC 2016


I've since done a bit more testing with https://github.com/munezbn/dispmanx-gst-play and been able to reproduce this.
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")

This video causes the crash:
https://drive.google.com/file/d/0Bxe9EapH3b-waDlqTzBzN0hDRmM/view?usp=sharing

This video works:https://drive.google.com/file/d/0Bxe9EapH3b-wMnZlSG5EZWdYd1U/view?usp=sharing
    
I'm not sure whether the EGL errors and the failed playback are the same issue though ?
 S++ 

    On Tuesday, November 29, 2016 2:52 PM, Philippe Normand <phil at base-art.net> wrote:
 
 

 This looks like https://bugzilla.gnome.org/show_bug.cgi?id=775248

Philippe

On Tue, 2016-11-29 at 01:14 +0000, Stuart Axon wrote:
> Hi,
>    On raspberry pi I have a pipeline filesrc->decodebin->glimagesink
> and use set_window_handle.    This works fine, but then when I change
> the location of the filesrc, I get errors like below:
> 
> GPU memory is 256MB, so I don't think the problem is there, I call
> set_window_handle in on_sync.
> 
> 
> errors:
> 
> eglCreateImageKHR:  failed to create image for buffer 0x5 target
> 12465 error 0x300c
> 0:00:03.313614361  1716  0x1f43ac0 ERROR           glbasememory
> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:
> Failed to create EGLImage
> 0:00:03.313942533  1716 0x6f304690 ERROR           glbasememory
> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL
> buffer with context:0x1f47048
> 
> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion
> 'GST_IS_EGL_IMAGE (image)' failed
> eglCreateImageKHR:  failed to create image for buffer 0x6 target
> 12465 error 0x300c
> 0:00:03.365311976  1716  0x1f43ac0 ERROR           glbasememory
> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:
> Failed to create EGLImage
> 0:00:03.365580827  1716 0x6f304690 ERROR           glbasememory
> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL
> buffer with context:0x1f47048
> 
> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion
> 'GST_IS_EGL_IMAGE (image)' failed
> eglCreateImageKHR:  failed to create image for buffer 0x7 target
> 12465 error 0x300c
> 0:00:03.413724790  1716  0x1f43ac0 ERROR           glbasememory
> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:
> Failed to create EGLImage
> 0:00:03.413977704  1716 0x6f304690 ERROR           glbasememory
> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL
> buffer with context:0x1f47048
> 
> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion
> 'GST_IS_EGL_IMAGE (image)' failed
> eglCreateImageKHR:  failed to create image for buffer 0x8 target
> 12465 error 0x300c
> 0:00:03.460475490  1716  0x1f43ac0 ERROR           glbasememory
> gstglbasememory.c:94:_mem_create_gl: Failed to create GL buffer:
> Failed to create EGLImage
> 0:00:03.460730435  1716 0x6f304690 ERROR           glbasememory
> gstglbasememory.c:168:gst_gl_base_memory_init: Could not create GL
> buffer with context:0x1f47048
> 
> ** (lumenplay:1716): CRITICAL **: gst_egl_image_get_image: assertion
> 'GST_IS_EGL_IMAGE (image)' failed
> 0:00:03.466138490  1716 0x6f304690 ERROR                    omx
> gstomx.c:2048:gst_omx_port_populate_unlocked:<omxh264dec-omxh264dec0> 
> Failed to pass buffer 0x6f33c178 ((nil)) to egl_render port 221:
> Incorrect state operation (0x80001018)
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


 
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161129/6cc81ef7/attachment.html>


More information about the gstreamer-devel mailing list