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 EGLImage0: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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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: This video works: https://drive.google.com/file/d/0Bxe9EapH3b-wMnZlSG5EZWdYd1U/view?usp=sharingI'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 <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I've done some more testing using the 1920x1080 big buck bunny clip that comes on the pi With gst 1.4 it plays smoothly: gst-launch-1.0 filesrc location=/opt/vc/src/hello_pi/hello_video/test.h264 ! decodebin ! glimagesink With gst uninstalled it stutters ~/gst/gst-master gst-launch-1.0 filesrc location=/opt/vc/src/hello_pi/hello_video/test.h264 ! decodebin ! glimagesink This is similar (but not as sever as tests on my own videos) With my own videos, smaller ones seem to play 1280x720 seems fine, but 1920x1080 stutters and crashes. Here is a folder with the test video in different sizes: "good" plays - "bad" stutter and die. I'll open a separate ticket for this as it seems like it may be a different issue. On Tuesday, November 29, 2016 7:24 PM, Stuart Axon <[hidden email]> wrote:
On Tuesday, November 29, 2016 2:52 PM, Philippe Normand <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Here is a ticket for the video problems. S++ On Wednesday, November 30, 2016 6:37 PM, Stuart Axon <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |