[Bug 731525] multiple glimagesink elements aborts due to no XInitThreads.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 24 06:54:37 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731525
  GStreamer | gst-plugins-bad | git

Matthew Waters <ystreet00> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.3.4

--- Comment #15 from Matthew Waters <ystreet00 at gmail.com> 2014-06-24 13:54:28 UTC ---
This is 1) completed:

commit 1d16cd50a3f07198e2519adec8e52b2b5b21ea14
Author: Matthew Waters <ystreet00 at gmail.com>
Date:   Tue Jun 24 23:33:30 2014 +1000

    gl: add a scary note about initializing thread support for the winsys

    We cannot do it as the winsys may crash if we initialize too late.

    Example, GLX contexts with Intel drivers:
    Intel requires the X Display to be the same in order to share GL
    resources across GL contexts.  These GL contexts are generally
    accessed from different threads.  Without winsys support it is
    nearly impossible to guarentee that concurrent access will not
    occur.  This concurrent access could result in crashes or abortion
    by the winsys (xcb).

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

and 2) protected by an opt-in environment variable

commit 5409a3ea2f5bb76e11b922834c6877bffc463924
Author: Matthew Waters <ystreet00 at gmail.com>
Date:   Tue Jun 24 23:51:24 2014 +1000

    gl: XInitThreads when env variable is set

    This is too allow gst-launch debugging with multiple GL contexts as
    well as avoiding segfaulting innocent gtk+ apps that have not called
    XInitThreads.

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

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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