<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Accessing the GPU without a windowing
      system is something that is very specific to every driver/hardware
      combination.  We support (with 1.14) one method using kms and a
      libgbm compatible driver which are used by all of the Mesa
      drivers.  Some other embedded systems (rpi, imx6) have other ways.
      That nvidia blog post you've linked contains references to <a
        moz-do-not-send="true"
href="https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_device_query.txt">EGL_EXT_device_query</a>
      which I guess is nvidia's way of performing a similar thing and
      such a method could be added to the GStreamer GL library and
      plugins.<br>
      <br>
      Cheers<br>
      -Matt<br>
      <br>
      On 23/03/18 21:10, Alexander Yanin wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPmmii=KNUEgKuCS1Rmcu7eGPxSV49gG_UjNjAJareO+mKezig@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">Hi!</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif"><br>
        </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">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.</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif"><br>
        </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">Here is the
          output:</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif"><br>
        </div>
        <div class="gmail_default"><font face="arial, helvetica,
            sans-serif">glmixer
            gstglbasemixer.c:217:_get_gl_context:<mixer> error:
            Failed to initialize egl: EGL_NOT_INITIALIZED</font><br>
        </div>
        <div class="gmail_default"><font face="arial, helvetica,
            sans-serif">glwindow gstglwindow.c:285:gst_gl_window_new:
            Could not create window. user specified (null), creating
            dummy window<br>
          </font></div>
        <div class="gmail_default"><font face="arial, helvetica,
            sans-serif">glcontext
            gstglcontext.c:1235:gst_gl_context_create_thread:<glcontextegl48>
            Failed to create context</font></div>
        <div class="gmail_default"><font face="arial, helvetica,
            sans-serif"><br>
          </font></div>
        <div class="gmail_default"><font face="arial, helvetica,
            sans-serif">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?</font></div>
        <div class="gmail_default"><font face="arial, helvetica,
            sans-serif"><br>
          </font></div>
        <div class="gmail_default"><font face="arial, helvetica,
            sans-serif">[1] - <a
href="https://devblogs.nvidia.com/egl-eye-opengl-visualization-without-x-server/"
              moz-do-not-send="true">https://devblogs.nvidia.com/egl-eye-opengl-visualization-without-x-server/</a></font></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>