Headless mode for GL plugin

Alexander Yanin sashayanin at gmail.com
Fri Mar 23 10:10:29 UTC 2018


Hi!

Is it possible to use GL elements (like glvideomixer, glupload, gleffects,
etc) without anything like Wayland, Xorg, etc? In particular, I want to use
glvideomixer instead of compositor on a server without any display
attached. I heard about a possible workaround using frame buffer, but I
didn't manage to find a way to use glvideomixer without xorg or wayland. It
crushes on context initialization.

Here is the output:

glmixer gstglbasemixer.c:217:_get_gl_context:<mixer> error: Failed to
initialize egl: EGL_NOT_INITIALIZED
glwindow gstglwindow.c:285:gst_gl_window_new: Could not create window. user
specified (null), creating dummy window
glcontext gstglcontext.c:1235:gst_gl_context_create_thread:<glcontextegl48>
Failed to create context

So, is there a way to bypass this issue without using xorg or wayland? I
heard that it is possible to initialize EGL without xorg [1]. Is it
possible to use this approach within gl elements?

[1] -
https://devblogs.nvidia.com/egl-eye-opengl-visualization-without-x-server/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180323/dc7f98f1/attachment.html>


More information about the gstreamer-devel mailing list