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?