Quantcast

Running gmlglsink without x11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Running gmlglsink without x11

Dmitry Lavnikevich
Hi all,

I am trying to get qmlglsink working on the x86 platform. Built the
qmlsink example from the gst-plugins-bad for a start. It successfully
runs under the X. But when I try to run it from console with:

$ ./play -platform eglfs

The playback doesn't start. With GST_DEBUG=5 I see:

...
DEBUG   glcontext
gstglcontext_egl.c:321:gst_gl_context_egl_create_context:<glcontextegl0>
Creating EGL context
INFO    glcontext
gstglcontext_egl.c:367:gst_gl_context_egl_create_context: egl
initialized, version: 1.4
INFO    glcontext
gstglcontext_egl.c:479:gst_gl_context_egl_create_context: Bound OpenGL|ES
INFO    glcontext
gstglcontext_egl.c:226:gst_gl_context_egl_choose_config: config set:
140619914800512, 1
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 3.2 flags 1 p1rofile 0
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 3.2 flags 0 profile 0
INFO    glcontext
gstglcontext_egl.c:226:gst_gl_context_egl_choose_config: config set:
140619914800512, 1
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 3.1 flags 1 profile 0
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 3.1 flags 0 profile 0
INFO    glcontext
gstglcontext_egl.c:226:gst_gl_context_egl_choose_config: config set:
140619914800512, 1
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 3.0 flags 1 profile 0
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 3.0 flags 0 profile 0
INFO    glcontext
gstglcontext_egl.c:226:gst_gl_context_egl_choose_config: config set:
140619914800512, 1
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 2.0 flags 1 profile 0
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 2.0 flags 0 profile 0
INFO    glcontext
gstglcontext_egl.c:226:gst_gl_context_egl_choose_config: config set:
140619914800512, 1
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 0.0 flags 1 profile 0
DEBUG   glcontext
gstglcontext_egl.c:270:_create_context_with_flags:<glcontextegl0>
attempting to create OpenGL ES context version 0.0 flags 0 profile 0
WARN    glcontext
gstglcontext.c:1161:gst_gl_context_create_thread:<glcontextegl0> Failed
to create context
INFO    glcontext
gstglcontext.c:963:gst_gl_context_create:<glcontextegl0> gl thread created
ERROR   qtglwidget qtitem.cc:322:qt_item_init_winsys: Failed to create a
OpenGL context: EGL_BAD_CONTEXT
WARN    qtsink gstqtsink.cc:325:gst_qt_sink_change_state:<qtsink0>
error: Could not initialize window system
...

I see the same behaviour both from my archlinux platform and my target
Yocto.

Would be incredebly greatful for any pointers where to look at.

Best regards,
Lavnikevich Dmitry

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...