<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Unfortunately, it doesn't work out of the box for me on Arch. 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">glcontext gstglcontext.c:337:gst_gl_context_new: creating a context for display <gldisplayegl0>, user choice:(null)</font><br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">glwindow gstglwindow.c:251:gst_gl_window_new: creating a window, user choice:gbm<br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">glwindow gstglwindow.c:293:gst_gl_window_new: Could not create window. user specified gbm, creating dummy window<br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">glcontext gstglcontext.c:1240:gst_gl_context_create_thread:<glcontextegl23> Attempting to create opengl context. user chosen api(s) (any), compiled api support (opengl opengl3 gles2) display api (opengl opengl3 gles2)<br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">glcontext gstglcontext.c:1244:gst_gl_context_create_thread:<glcontextegl23> Failed to create context<br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">glcontext gstglcontext.c:1046:gst_gl_context_create:<glcontextegl23> gl thread created<br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">glmixer gstglbasemixer.c:176:_get_gl_context:<mixer> error: Failed to initialize egl: EGL_NOT_INITIALIZED<br></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">Did Arch maintainers miss some compile-time flags or have I done something wrong?</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-23 15:30 GMT+03:00 Alexander Yanin <span dir="ltr"><<a href="mailto:sashayanin@gmail.com" target="_blank">sashayanin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you, Matt. I will try, hope this should work with 1.14​</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-23 15:25 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_-2593799522323158629m_-1315543994340869812moz-cite-prefix">It should work out of the box if you
      don't already have an X11/Wayland display server running.  It's
      chosen after X11/Wayland connections fail.<br>
      <br>
      You can also force it by setting the environment variable
      GST_GL_WINDOW=gbm<br>
      <br>
      e.g. GST_DEBUG=gl*:4 GST_GL_WINDOW=gbm gst-launch-1.0 videotestsrc
      ! glupload ! gleffects_squeeze ! glcolorconvert ! gldownload !
      pngenc ! filesink location=test.png<br>
      <br>
      Cheers<br>
      -Matt<div><div class="m_-2593799522323158629h5"><br>
      <br>
      On 23/03/18 22:57, Alexander Yanin wrote:<br>
    </div></div></div><div><div class="m_-2593799522323158629h5">
    <blockquote type="cite">
      <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_-2593799522323158629m_-1315543994340869812m_-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="m_-2593799522323158629m_-1315543994340869812h5"><br>
                    <br>
                    On 23/03/18 21:10, Alexander Yanin wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="m_-2593799522323158629m_-1315543994340869812h5">
                    <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_c<wbr>ontext:<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_windo<wbr>w_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_con<wbr>text_create_thread:<glcontexte<wbr>gl48>
                          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-w<wbr>ithout-x-server/</a></font></div>
                    </div>
                    <br>
                    <fieldset class="m_-2593799522323158629m_-1315543994340869812m_-6003119710050989387mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
gstreamer-devel mailing list
<a class="m_-2593799522323158629m_-1315543994340869812m_-6003119710050989387moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesk<wbr>top.org</a>
<a class="m_-2593799522323158629m_-1315543994340869812m_-6003119710050989387moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-dev<wbr>el</a>
</pre>
              </blockquote>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </div></div></div>

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