GNOME Bugzilla – Bug 727324
gst-launch-1.0 --gst-debug-level=3 videotestsrc ! glimagesink doesn't want to preroll.
Last modified: 2014-04-01 12:43:36 UTC
Hi, Blow is the debug message and I added lots of FIXME message: Setting pipeline to PAUSED ... 0:00:00.022809182 48294 0x1378de0 FIXME default gstglapi.c:100:gst_gl_api_from_string: apis_s:(null) 0:00:00.022873273 48294 0x1378de0 FIXME default gstglapi.c:132:gst_gl_api_from_string: return 0x-0000001 0:00:00.022884682 48294 0x1378de0 FIXME glcontext gstglcontext.c:713:gst_gl_context_create_thread: compiled_api_s:opengl opengl3 0:00:00.022895931 48294 0x1378de0 FIXME glcontext gstglcontext.c:733:gst_gl_context_create_thread: Attempting to create opengl context. user chosen api(s) (any), compiled api support (opengl opengl3) 0:00:00.030695445 48294 0x1378de0 FIXME default egl/gstglcontext_egl.c:264:gst_gl_context_egl_create_context: egl initialized, version: 1.4 0:00:00.030748211 48294 0x1378de0 FIXME default egl/gstglcontext_egl.c:302:gst_gl_context_egl_create_context: Using OpenGL 0:00:00.030805012 48294 0x1378de0 FIXME default egl/gstglcontext_egl.c:192:gst_gl_context_egl_choose_config: config set: 140168338287856, 1 0:00:00.037863172 48294 0x1378de0 FIXME default egl/gstglcontext_egl.c:336:gst_gl_context_egl_create_context: gl context created: 140168338308816 0:00:00.039059286 48294 0x1378de0 FIXME default egl/gstglcontext_egl.c:392:gst_gl_context_egl_create_context: surface created 0:00:00.039077912 48294 0x1378de0 FIXME glcontext gstglcontext.c:742:gst_gl_context_create_thread: created context:GstGLContextEGL 0:00:00.039467836 48294 0x1378de0 FIXME glcontext gstglcontext.c:758:gst_gl_context_create_thread: available GL APIs: opengl 0:00:00.039492127 48294 0x1378de0 FIXME glcontext gstglcontext.c:599:_create_context_opengl: GL_VERSION: 2.1 Mesa 9.2.1 0:00:00.039497568 48294 0x1378de0 FIXME glcontext gstglcontext.c:601:_create_context_opengl: GL_SHADING_LANGUAGE_VERSION: 1.20 0:00:00.039504555 48294 0x1378de0 FIXME glcontext gstglcontext.c:602:_create_context_opengl: GL_VENDOR: VMware, Inc. 0:00:00.039512736 48294 0x1378de0 FIXME glcontext gstglcontext.c:603:_create_context_opengl: GL_RENDERER: Gallium 0.4 on SVGA3D; build: RELEASE; Pipeline is PREROLLING ... 0:00:00.040508541 48294 0x1378e30 FIXME default gstutils.c:3630:gst_pad_create_stream_id_internal:<videotestsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id Got context from element 'glimagesink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)NULL; 0:00:00.042068466 48294 0x1378e30 FIXME glimagesink gstglimagesink.c:393:_ensure_gl_setup: IN 0:00:00.042124779 48294 0x1378e30 FIXME glupload gstglupload.c:567:gst_gl_upload_init_format: IN 0:00:00.042134866 48294 0x1378e30 FIXME glupload gstglupload.c:530:_gst_gl_upload_init_format_unlocked: IN 0:00:00.042273805 48294 0x1378de0 FIXME glupload gstglupload.c:1135:_init_upload_fbo: context:GstGLContextEGL, GstGLUpload:GstGLUpload 0:00:00.042357593 48294 0x1378de0 WARN default gstglutils.c:353:gst_gl_context_set_error: Context, EXT_framebuffer_object supported: no 0:00:00.042480709 48294 0x1378e30 WARN glimagesink gstglimagesink.c:418:_ensure_gl_setup:<glimagesink0> error: Failed to init upload ERROR: from element /GstPipeline:pipeline0/GstGLImageSink:glimagesink0: Failed to init upload Additional debug info: gstglimagesink.c(418): _ensure_gl_setup (): /GstPipeline:pipeline0/GstGLImageSink:glimagesink0 ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... Any ideas? Thank you!
>Blow is the debug message and I added lots of FIXME message: Added? most of those look like messages that already exist and can be printed with GST_DEBUG=gl*:5 >gstglcontext.c:599:_create_context_opengl: GL_VERSION: 2.1 Mesa 9.2.1 >0:00:00.039497568 48294 0x1378de0 FIXME glcontext >gstglcontext.c:601:_create_context_opengl: GL_SHADING_LANGUAGE_VERSION: 1.20 >0:00:00.039504555 48294 0x1378de0 FIXME glcontext >gstglcontext.c:602:_create_context_opengl: GL_VENDOR: VMware, Inc. >0:00:00.039512736 48294 0x1378de0 FIXME glcontext >gstglcontext.c:603:_create_context_opengl: GL_RENDERER: Gallium 0.4 on SVGA3D; >build: RELEASE; It seems like you're trying to run gst-plugins-gl in a virtual machine. >gstglutils.c:353:gst_gl_context_set_error: Context, EXT_framebuffer_object >supported: no >0:00:00.042480709 48294 0x1378e30 WARN glimagesink >gstglimagesink.c:418:_ensure_gl_setup:<glimagesink0> error: Failed to init >upload That's telling you that your driver doesn't support framebuffer objects which are required for upload (or there's a bug in the extension getting code). What does running glxinfo | grep framebuffer in the VM produce?
Yes, not "added". what I mean is turn-on some debug message and hope it give some information. And yes, I run it in a virtual machine. glxinfo | grep framebuffer show as below: GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, GL_EXT_gpu_program_parameters, Thank you!
Heh, so you actually have framebuffers. Actually, this might be fixed in gst-plugins-bad (where gst-plugins-gl bas been moved to). Could you try with gst-plugins-bad git? If that doesn't work, try running with GST_GL_PLATFORM=glx.
Hi, i tried gst-plugins-bad git, and result is the same. I attached the gst-plugins-bad message as below. $GST_DEBUG=4 gst-launch-1.0 gltestsrc ! glimagesink 0:00:00.000051220 58552 0xef0c00 INFO GST_INIT gst.c:501:init_pre: Initializing GStreamer Core Library version 1.3.0.1 0:00:00.000143222 58552 0xef0c00 INFO GST_INIT gst.c:502:init_pre: Using library installed in /home/veawor/build/freedesktop/gstreamer/dist/linux_x86_64/lib 0:00:00.000160047 58552 0xef0c00 INFO GST_INIT gst.c:513:init_pre: Linux veawor-dt10 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 0:00:00.000854223 58552 0xef0c00 INFO GST_INIT gstmessage.c:121:_priv_gst_message_initialize: init messages 0:00:00.000979789 58552 0xef0c00 INFO GST_INIT gstcontext.c:77:_priv_gst_context_initialize: init contexts 0:00:00.001130287 58552 0xef0c00 INFO GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins 0:00:00.001213661 58552 0xef0c00 INFO GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements" 0:00:00.001265564 58552 0xef0c00 INFO GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static: added static plugin "staticelements", result: 1 0:00:00.001293038 58552 0xef0c00 INFO GST_REGISTRY gstregistry.c:1725:ensure_current_registry: reading registry cache: /home/veawor/.cache/gstreamer-1.0/registry.x86_64.bin 0:00:00.013375026 58552 0xef0c00 INFO GST_REGISTRY gstregistrybinary.c:619:priv_gst_registry_binary_read_cache: loaded /home/veawor/.cache/gstreamer-1.0/registry.x86_64.bin in 0.012060 seconds 0:00:00.013486247 58552 0xef0c00 INFO GST_REGISTRY gstregistry.c:1578:scan_and_update_registry: Validating plugins from registry cache: /home/veawor/.cache/gstreamer-1.0/registry.x86_64.bin 0:00:00.015297398 58552 0xef0c00 INFO GST_REGISTRY gstregistry.c:1683:scan_and_update_registry: Registry cache has not changed 0:00:00.015416847 58552 0xef0c00 INFO GST_REGISTRY gstregistry.c:1760:ensure_current_registry: registry reading and updating done, result = 1 0:00:00.015434394 58552 0xef0c00 INFO GST_INIT gst.c:708:init_post: GLib runtime version: 2.38.2 0:00:00.015444230 58552 0xef0c00 INFO GST_INIT gst.c:710:init_post: GLib headers version: 2.38.2 0:00:00.015468427 58552 0xef0c00 INFO GST_PIPELINE gstparse.c:323:gst_parse_launch_full: parsing pipeline description 'gltestsrc ! glimagesink ' 0:00:00.020334523 58552 0xef0c00 INFO GST_PLUGIN_LOADING gstplugin.c:830:gst_plugin_load_file: plugin "/home/veawor/build/freedesktop/gstreamer/dist/linux_x86_64/lib/gstreamer-1.0/libgstopengl.so" loaded 0:00:00.020413253 58552 0xef0c00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "gltestsrc" 0:00:00.020606652 58552 0xef0c00 INFO GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseSrc@0x10815f0> adding pad 'src' 0:00:00.020691768 58552 0xef0c00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "glimagesink" 0:00:00.020828707 58552 0xef0c00 INFO GST_ELEMENT_PADS gstelement.c:646:gst_element_add_pad:<GstBaseSink@0x10886c0> adding pad 'sink' 0:00:00.021008448 58552 0xef0c00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:365:gst_element_factory_create: creating element "pipeline" 0:00:00.021088412 58552 0xef0c00 INFO GST_PIPELINE ./grammar.y:567:gst_parse_perform_link: linking gltestsrc0:(any) to glimagesink0:(any) (0/0) with caps "(NULL)" 0:00:00.021106359 58552 0xef0c00 INFO GST_ELEMENT_PADS gstutils.c:1543:gst_element_link_pads_full: trying to link element gltestsrc0:(any) to element glimagesink0:(any) 0:00:00.021118049 58552 0xef0c00 INFO GST_PADS gstutils.c:936:gst_pad_check_link: trying to link gltestsrc0:src and glimagesink0:sink 0:00:00.021151786 58552 0xef0c00 INFO GST_PADS gstutils.c:1443:prepare_link_maybe_ghosting: gltestsrc0 and glimagesink0 in same bin, no need for ghost pads 0:00:00.021173224 58552 0xef0c00 INFO GST_PADS gstpad.c:2157:gst_pad_link_prepare: trying to link gltestsrc0:src and glimagesink0:sink 0:00:00.021188424 58552 0xef0c00 INFO GST_PADS gstpad.c:2359:gst_pad_link_full: linked gltestsrc0:src and glimagesink0:sink, successful 0:00:00.021199391 58552 0xef0c00 INFO GST_EVENT gstevent.c:1310:gst_event_new_reconfigure: creating reconfigure event 0:00:00.021208323 58552 0xef0c00 INFO GST_EVENT gstpad.c:5136:gst_pad_send_event_unchecked:<gltestsrc0:src> Received event on flushing pad. Discarding Setting pipeline to PAUSED ... 0:00:00.021263672 58552 0xef0c00 INFO GST_STATES gstbin.c:2227:gst_bin_element_set_state:<glimagesink0> current NULL pending VOID_PENDING, desired next READY 0:00:00.021277147 58552 0xef0c00 INFO GST_STATES gstelement.c:2328:gst_element_continue_state:<glimagesink0> completed state change to READY 0:00:00.021284797 58552 0xef0c00 INFO GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<glimagesink0> notifying about state-changed NULL to READY (VOID_PENDING pending) 0:00:00.021301597 58552 0xef0c00 INFO GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'glimagesink0' changed state to 2(READY) successfully 0:00:00.021312316 58552 0xef0c00 INFO GST_STATES gstbin.c:2227:gst_bin_element_set_state:<gltestsrc0> current NULL pending VOID_PENDING, desired next READY 0:00:00.021342008 58552 0xef0c00 INFO GST_STATES gstelement.c:2328:gst_element_continue_state:<gltestsrc0> completed state change to READY 0:00:00.021350884 58552 0xef0c00 INFO GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<gltestsrc0> notifying about state-changed NULL to READY (VOID_PENDING pending) 0:00:00.021361403 58552 0xef0c00 INFO GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'gltestsrc0' changed state to 2(READY) successfully 0:00:00.021373108 58552 0xef0c00 INFO GST_STATES gstelement.c:2303:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED 0:00:00.021381799 58552 0xef0c00 INFO GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending) 0:00:00.021409473 58552 0xef0c00 INFO GST_STATES gstelement.c:2310:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED 0:00:00.021423570 58552 0xef0c00 INFO GST_STATES gstbin.c:2227:gst_bin_element_set_state:<glimagesink0> current READY pending VOID_PENDING, desired next PAUSED 0:00:00.021455285 58552 0xef0c00 INFO GST_CONTEXT gstglutils.c:563:context_pad_query:<glimagesink0:sink> context pad peer query failed 0:00:00.021467139 58552 0xef0c00 INFO GST_CONTEXT gstglutils.c:622:_gst_gl_display_context_query:<glimagesink0> posting need context message 0:00:00.021481515 58552 0xef0c00 INFO GST_CONTEXT gstglutils.c:563:context_pad_query:<glimagesink0:sink> context pad peer query failed 0:00:00.021488122 58552 0xef0c00 INFO GST_CONTEXT gstglutils.c:622:_gst_gl_display_context_query:<glimagesink0> posting need context message 0:00:00.021497665 58552 0xef0c00 INFO gldisplay gstgldisplay.c:133:gst_gl_display_new: creating a window, user choice:(null) 0:00:00.024336987 58552 0xef0c00 INFO GST_CONTEXT gstglutils.c:700:gst_gl_display_context_propagate:<glimagesink0> posting have context (0xee7580) message with display (0x108c520) 0:00:00.024444514 58552 0xef0c00 INFO glcontext gstglcontext.c:203:gst_gl_context_new: creating a context, user choice:(null) 0:00:00.024487939 58552 0xef0c00 INFO glwindow gstglwindow.c:155:gst_gl_window_new: creating a window, user choice:(null) 0:00:00.030269587 58552 0x1022630 INFO glcontext gstglcontext.c:741:gst_gl_context_create_thread: Attempting to create opengl context. user chosen api(s) (any), compiled api support (opengl opengl3) 0:00:00.040484477 58552 0x1022630 INFO default gstglcontext_egl.c:267:gst_gl_context_egl_create_context: egl initialized, version: 1.4 0:00:00.040555877 58552 0x1022630 INFO default gstglcontext_egl.c:305:gst_gl_context_egl_create_context: Using OpenGL 0:00:00.040621079 58552 0x1022630 INFO default gstglcontext_egl.c:191:gst_gl_context_egl_choose_config: config set: 139666431093984, 1 0:00:00.045286971 58552 0x1022630 INFO default gstglcontext_egl.c:339:gst_gl_context_egl_create_context: gl context created: 139666431114944 0:00:00.046441013 58552 0x1022630 INFO default gstglcontext_egl.c:396:gst_gl_context_egl_create_context: surface created 0:00:00.046461505 58552 0x1022630 INFO glcontext gstglcontext.c:750:gst_gl_context_create_thread: created context 0:00:00.046789138 58552 0x1022630 INFO glcontext gstglcontext.c:766:gst_gl_context_create_thread: available GL APIs: opengl 0:00:00.046822578 58552 0x1022630 INFO glcontext gstglcontext.c:603:_create_context_opengl: GL_VERSION: 2.1 Mesa 9.2.1 0:00:00.046828454 58552 0x1022630 INFO glcontext gstglcontext.c:605:_create_context_opengl: GL_SHADING_LANGUAGE_VERSION: 1.20 0:00:00.046942159 58552 0x1022630 INFO glcontext gstglcontext.c:606:_create_context_opengl: GL_VENDOR: VMware, Inc. 0:00:00.046955786 58552 0x1022630 INFO glcontext gstglcontext.c:607:_create_context_opengl: GL_RENDERER: Gallium 0.4 on SVGA3D; build: RELEASE; 0:00:00.047200777 58552 0xef0c00 INFO glcontext gstglcontext.c:545:gst_gl_context_create: gl thread created 0:00:00.047243286 58552 0xef0c00 INFO GST_STATES gstbin.c:2662:gst_bin_change_state_func:<pipeline0> child 'glimagesink0' is changing state asynchronously to PAUSED 0:00:00.047262723 58552 0xef0c00 INFO GST_STATES gstbin.c:2227:gst_bin_element_set_state:<gltestsrc0> current READY pending VOID_PENDING, desired next PAUSED 0:00:00.047292803 58552 0xef0c00 INFO GST_CONTEXT gstglutils.c:607:_gst_gl_display_context_query:<gltestsrc0> found context (0xee7520) in downstream query 0:00:00.047304713 58552 0xef0c00 INFO default gstglutils.c:540:gst_gl_display_found:<gltestsrc0> already have a display (0x108c520) 0:00:00.047317140 58552 0xef0c00 INFO basesrc gstbasesrc.c:1330:gst_base_src_do_seek:<gltestsrc0> seeking: time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999 0:00:00.047355219 58552 0xef0c00 INFO task gsttask.c:434:gst_task_set_lock: setting stream lock 0x1082190 on task 0x10a1050 0:00:00.047365387 58552 0xef0c00 INFO GST_PADS gstpad.c:5468:gst_pad_start_task:<gltestsrc0:src> created task 0x10a1050 0:00:00.047447995 58552 0xef0c00 INFO GST_STATES gstelement.c:2328:gst_element_continue_state:<gltestsrc0> completed state change to PAUSED 0:00:00.047462563 58552 0xef0c00 INFO GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<gltestsrc0> notifying about state-changed READY to PAUSED (VOID_PENDING pending) 0:00:00.047476699 58552 0xef0c00 INFO GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'gltestsrc0' changed state to 3(PAUSED) successfully Pipeline is PREROLLING ... 0:00:00.047528449 58552 0x1022590 INFO GST_ELEMENT_PADS gstelement.c:894:gst_element_get_static_pad: no such pad 'sink' in element "gltestsrc0" 0:00:00.047559200 58552 0x1022590 FIXME default gstutils.c:3630:gst_pad_create_stream_id_internal:<gltestsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id Got context from element 'glimagesink0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)NULL; 0:00:00.047716668 58552 0x1022590 INFO GST_EVENT gstevent.c:625:gst_event_new_caps: creating caps event video/x-raw, format=(string)RGB, width=(int)320, height=(int)240, framerate=(fraction)30/1 0:00:00.048781480 58552 0x1022590 INFO default gstglutils.c:540:gst_gl_display_found:<glimagesink0> already have a display (0x108c520) 0:00:00.048994483 58552 0x1022630 INFO glupload gstglupload.c:890:_init_upload: Initializing texture upload for format:RGB 0:00:00.049045296 58552 0x1022630 WARN default gstglutils.c:520:gst_gl_context_set_error: Context, EXT_framebuffer_object supported: no 0:00:00.049163524 58552 0x1022590 WARN glimagesink gstglimagesink.c:426:_ensure_gl_setup:<glimagesink0> error: Failed to init upload 0:00:00.049231434 58552 0x1022590 INFO GST_ERROR_SYSTEM gstelement.c:1835:gst_element_message_full:<glimagesink0> posting message: Failed to init upload 0:00:00.049322553 58552 0x1022590 INFO GST_ERROR_SYSTEM gstelement.c:1858:gst_element_message_full:<glimagesink0> posted error message: Failed to init upload ERROR: from element /GstPipeline:pipeline0/GstGLImageSink:glimagesink0: Failed to init upload 0:00:00.049407290 58552 0x1022590 INFO default gstglutils.c:540:gst_gl_display_found:<gltestsrc0> already have a display (0x108c520) Additional debug info: gstglimagesink.c(426): _ensure_gl_setup (): /GstPipeline:pipeline0/GstGLImageSink:glimagesink0 ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... 0:00:00.049561246 58552 0xef0c00 INFO GST_STATES gstbin.c:2227:gst_bin_element_set_state:<glimagesink0> current READY pending PAUSED, desired next NULL 0:00:00.049459890 58552 0x1022590 INFO glcontext gstglcontext.c:203:gst_gl_context_new: creating a context, user choice:(null) 0:00:00.049625831 58552 0x1022590 INFO glwindow gstglwindow.c:155:gst_gl_window_new: creating a window, user choice:(null) 0:00:00.049806447 58552 0xef0c00 INFO glcontext gstglcontext.c:285:gst_gl_context_finalize: send quit gl window loop 0:00:00.049856035 58552 0xef0c00 INFO glwindow gstglwindow.c:313:gst_gl_window_quit: quit sent to gl window loop 0:00:00.049869816 58552 0x1022630 INFO glcontext gstglcontext.c:831:gst_gl_context_create_thread: loop exited 0:00:00.052577753 58552 0x7f06940030f0 INFO glcontext gstglcontext.c:741:gst_gl_context_create_thread: Attempting to create opengl context. user chosen api(s) (any), compiled api support (opengl opengl3) 0:00:00.061571006 58552 0x7f06940030f0 INFO default gstglcontext_egl.c:267:gst_gl_context_egl_create_context: egl initialized, version: 1.4 0:00:00.061624365 58552 0x7f06940030f0 INFO default gstglcontext_egl.c:305:gst_gl_context_egl_create_context: Using OpenGL 0:00:00.061682084 58552 0x7f06940030f0 INFO default gstglcontext_egl.c:191:gst_gl_context_egl_choose_config: config set: 139666431093984, 1 0:00:00.101385345 58552 0xef0c00 INFO glcontext gstglcontext.c:297:gst_gl_context_finalize: gl thread joined 0:00:00.101428735 58552 0xef0c00 INFO GST_STATES gstelement.c:2303:gst_element_continue_state:<glimagesink0> committing state from READY to READY, pending NULL, next NULL 0:00:00.101444596 58552 0xef0c00 INFO GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<glimagesink0> notifying about state-changed READY to READY (NULL pending) 0:00:00.101461955 58552 0xef0c00 INFO GST_STATES gstelement.c:2310:gst_element_continue_state:<glimagesink0> continue state change READY to NULL, final NULL 0:00:00.101500175 58552 0xef0c00 INFO GST_STATES gstelement.c:2328:gst_element_continue_state:<glimagesink0> completed state change to NULL 0:00:00.101524567 58552 0xef0c00 INFO GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<glimagesink0> notifying about state-changed READY to NULL (VOID_PENDING pending) 0:00:00.101550819 58552 0xef0c00 INFO GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'glimagesink0' changed state to 1(NULL) successfully 0:00:00.101578358 58552 0xef0c00 INFO GST_STATES gstbin.c:2227:gst_bin_element_set_state:<gltestsrc0> current PAUSED pending VOID_PENDING, desired next NULL 0:00:00.102796723 58552 0x7f06940030f0 INFO default gstglcontext_egl.c:339:gst_gl_context_egl_create_context: gl context created: 139666162576208 0:00:00.104154234 58552 0x7f06940030f0 INFO default gstglcontext_egl.c:396:gst_gl_context_egl_create_context: surface created 0:00:00.104206503 58552 0x7f06940030f0 INFO glcontext gstglcontext.c:750:gst_gl_context_create_thread: created context 0:00:00.104483435 58552 0x7f06940030f0 INFO glcontext gstglcontext.c:766:gst_gl_context_create_thread: available GL APIs: opengl 0:00:00.104533803 58552 0x7f06940030f0 INFO glcontext gstglcontext.c:603:_create_context_opengl: GL_VERSION: 2.1 Mesa 9.2.1 0:00:00.104543887 58552 0x7f06940030f0 INFO glcontext gstglcontext.c:605:_create_context_opengl: GL_SHADING_LANGUAGE_VERSION: 1.20 0:00:00.104552894 58552 0x7f06940030f0 INFO glcontext gstglcontext.c:606:_create_context_opengl: GL_VENDOR: VMware, Inc. 0:00:00.104560671 58552 0x7f06940030f0 INFO glcontext gstglcontext.c:607:_create_context_opengl: GL_RENDERER: Gallium 0.4 on SVGA3D; build: RELEASE; 0:00:00.104826297 58552 0x1022590 INFO glcontext gstglcontext.c:545:gst_gl_context_create: gl thread created 0:00:00.105087033 58552 0x7f06940030f0 WARN default gstglutils.c:520:gst_gl_context_set_error: Context, EXT_framebuffer_object not supported 0:00:00.105471377 58552 0xef0c00 INFO glcontext gstglcontext.c:285:gst_gl_context_finalize: send quit gl window loop 0:00:00.105507742 58552 0xef0c00 INFO glwindow gstglwindow.c:313:gst_gl_window_quit: quit sent to gl window loop 0:00:00.105538960 58552 0x7f06940030f0 INFO glcontext gstglcontext.c:831:gst_gl_context_create_thread: loop exited 0:00:00.106766954 58552 0xef0c00 INFO glcontext gstglcontext.c:297:gst_gl_context_finalize: gl thread joined 0:00:00.106853334 58552 0xef0c00 INFO GST_STATES gstelement.c:2303:gst_element_continue_state:<gltestsrc0> committing state from PAUSED to READY, pending NULL, next NULL 0:00:00.106872149 58552 0xef0c00 INFO GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<gltestsrc0> notifying about state-changed PAUSED to READY (NULL pending) 0:00:00.106889595 58552 0xef0c00 INFO GST_STATES gstelement.c:2310:gst_element_continue_state:<gltestsrc0> continue state change READY to NULL, final NULL 0:00:00.106902376 58552 0xef0c00 INFO GST_STATES gstelement.c:2328:gst_element_continue_state:<gltestsrc0> completed state change to NULL 0:00:00.106910220 58552 0xef0c00 INFO GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<gltestsrc0> notifying about state-changed READY to NULL (VOID_PENDING pending) 0:00:00.106921578 58552 0xef0c00 INFO GST_STATES gstbin.c:2656:gst_bin_change_state_func:<pipeline0> child 'gltestsrc0' changed state to 1(NULL) successfully 0:00:00.106950094 58552 0xef0c00 INFO GST_STATES gstelement.c:2328:gst_element_continue_state:<pipeline0> completed state change to NULL 0:00:00.106958484 58552 0xef0c00 INFO GST_STATES gstelement.c:2233:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to NULL (VOID_PENDING pending) Freeing pipeline ... 0:00:00.106987481 58552 0xef0c00 INFO GST_ELEMENT_PADS gstpad.c:1914:gst_pad_unlink: unlinking gltestsrc0:src(0x1082120) and glimagesink0:sink(0x1082350) 0:00:00.107003266 58552 0xef0c00 INFO GST_ELEMENT_PADS gstpad.c:1968:gst_pad_unlink: unlinked gltestsrc0:src and glimagesink0:sink 0:00:00.107015996 58552 0xef0c00 INFO GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<pipeline0> removed child "glimagesink0" 0:00:00.107028314 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<glimagesink0> dispose 0:00:00.107035629 58552 0xef0c00 INFO GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<glimagesink0> removing pad 'sink' 0:00:00.107049017 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<glimagesink0> parent class dispose 0:00:00.107061948 58552 0xef0c00 INFO GST_PARENTAGE gstbin.c:1556:gst_bin_remove_func:<pipeline0> removed child "gltestsrc0" 0:00:00.107071309 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<gltestsrc0> dispose 0:00:00.107077963 58552 0xef0c00 INFO GST_ELEMENT_PADS gstelement.c:766:gst_element_remove_pad:<gltestsrc0> removing pad 'src' 0:00:00.107087189 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<gltestsrc0> parent class dispose 0:00:00.107100111 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<gltestsrc0> finalize 0:00:00.107107161 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<gltestsrc0> finalize parent 0:00:00.107398443 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2873:gst_element_dispose:<pipeline0> dispose 0:00:00.107450102 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2917:gst_element_dispose:<pipeline0> parent class dispose 0:00:00.107510844 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2948:gst_element_finalize:<pipeline0> finalize 0:00:00.107594511 58552 0xef0c00 INFO GST_REFCOUNTING gstelement.c:2953:gst_element_finalize:<pipeline0> finalize parent 0:00:00.107611303 58552 0xef0c00 INFO GST_INIT gst.c:939:gst_deinit: deinitializing GStreamer 0:00:00.110289096 58552 0xef0c00 INFO GST_INIT gst.c:1070:gst_deinit: deinitialized GStreamer
So, we need to figure out why framebuffers aren't found. That debugging is available in the default trace level. Try setting GST_DEBUG=gl*:7,default:7 and attach that here. You can use GST_DEBUG_FILE to save the log to a file.
Created attachment 273374 [details] The log for $GST_DEBUG=gl*:7,default:7 GST_DEBUG_FILE=gs.log gst-launch-1.0 gltestsrc ! glimagesink
The log is by gst-plugins-bad git. Thank you!
commit 14e993e745414061f5347d9a876d4c58995f29c0 Author: Matthew Waters <ystreet00@gmail.com> Date: Tue Apr 1 21:48:26 2014 +1100 gl: fix detection of extensions with GL versions < 3 Mesa, for example returns valid pointers for glGetIntegerv and glGetStringi even if the gl version is less than that required for both those functions to supposedly exist. https://bugzilla.gnome.org/show_bug.cgi?id=727324
looks fine at my platform now, thanks.