[Bug 776401] New: gst-launch should set GST_GL_XINITHREADS so that XinitThread() is called appropriately

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 22 17:46:25 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=776401

            Bug ID: 776401
           Summary: gst-launch should set GST_GL_XINITHREADS so that
                    XinitThread() is called appropriately
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ndec at linux.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

A simple 'videotestsrc ! glimagesink' with gst-launch started to fail very
consistently on my embedded boards (Dragonboard) and actually on my PC as well
(running Debian/Sid). 

$ gst-launch-1.0 videotestsrc ! videoconvert ! glimagesink 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'sink': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

** (gst-launch-1.0:9734): CRITICAL **: gst_gl_context_thread_add: assertion
'GST_IS_GL_CONTEXT (context)' failed
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been
called
[xcb] Aborting, sorry about that.
gst-launch-1.0: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion
`!xcb_xlib_unknown_req_in_deq' failed.
Aborted

As discussed on IRC with slomo, let's ensure that gst tools such as gst-launch
and gst-play will force XInitThread() to be called.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list