Gstreamer - OpenGL problem with iMX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Gstreamer - OpenGL problem with iMX6

1,268 Views
cankanbak
Contributor I

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?

0 Kudos
3 Replies

1,012 Views
igorpadykov
NXP Employee
NXP Employee

Hi Can

one can try nxp pipelines described in attached Linux Guide sect.7 Multimedia

and Demo Images from link

i.MX Software|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,012 Views
cankanbak
Contributor I

Hi Igor,

I don't understand what you are suggesting. None of the examples in section 7 use OpenGL with Gstreamer.

0 Kudos

1,012 Views
igorpadykov
NXP Employee
NXP Employee

Hi Can

there are examples describing gpu usage with gstreamer.

0 Kudos