I want to use an opengl supported pipeline for my application on a TinyRex board with iMX6QP. For this, I started with a very simple pipeline:
v4l2src ! glupload ! fakesink
to see if I can start working with openGL. My system is working in a headless mode, so I've set GST_GL_WINDOW=gbm after seeing this is required in this case. However, I couldn't manage to make it work even in this mode. The debug log shows that it fails to create an EGL context saying XDG_RUNTIME_DIR not set, and stops after saying EGL_NOT_INITIALIZED. The whole output, acquired with GST_DEBUG=3,gl*:5
can be seen here .
Is there anyone who can help solve this problem and make the pipeline work?
Hi Can
one can try nxp pipelines described in attached Linux Guide sect.7 Multimedia
and Demo Images from link
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
I don't understand what you are suggesting. None of the examples in section 7 use OpenGL with Gstreamer.
Hi Can
there are examples describing gpu usage with gstreamer.