<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​Thanks! Fine, what I need to do to make it work on Intel Kabylake with Mesa and without neither xorg nor wayland? Would it work right out of the box or should I perform some additional actions to make it run?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-23 14:50 GMT+03:00 Matthew Waters <span dir="ltr"><<a href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="m_-6003119710050989387moz-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 href="https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_device_query.txt" target="_blank">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<div><div class="h5"><br>
      <br>
      On 23/03/18 21:10, Alexander Yanin wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <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_<wbr>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_<wbr>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_<wbr>context_create_thread:<<wbr>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/" target="_blank">https://devblogs.nvidia.com/<wbr>egl-eye-opengl-visualization-<wbr>without-x-server/</a></font></div>
      </div>
      <br>
      <fieldset class="m_-6003119710050989387mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
gstreamer-devel mailing list
<a class="m_-6003119710050989387moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<wbr>freedesktop.org</a>
<a class="m_-6003119710050989387moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </div>

</blockquote></div><br></div>