GNOME Bugzilla – Bug 766975
glimagesink doesn't work on nvidia OSX with X11 GL backend
Last modified: 2016-08-23 11:33:58 UTC
Created attachment 328681 [details] [review] debug log from GST_DEBUG=gl*:6 +++ This bug was initially created as a clone of Bug #749728 +++ glimagesink doesn't work at all. gst-launch-1.0 videotestsrc ! glimagesink gives the following error message: vivia@eve ~/c/d/d/bin> ./gst-launch-1.0 videotestsrc ! glimagesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0"; 0:00:00.516269000 43398 0x7fbc22560d60 ERROR default gstglcaopengllayer.m:130:-[GstGLCAOpenGLLayer copyCGLContextForPixelFormat:]: failed to fill wrapped context information: An opengl3 context created but the required ES2 compatibility was not found Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock And then the image is just black.
I don't get black image, mine simply stops! All relevant info is hopefully in the log.
I think I found out what it was. I had --enable-cocoa=no and --enable-x11=yes, and even though everything built and was happy, the x11-backend on my mac did not work. Once I enabled cocoa it started working! Maybe not such a big deal then. I will change the bug-title accordingly.
I guess this is not really a bug. Cocoa needs to play on OSX.