Gstreamer - OpenGL problem with iMX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Gstreamer - OpenGL problem with iMX6

1,470 次查看
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?

标记 (2)
0 项奖励
回复
3 回复数

1,214 次查看
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 项奖励
回复

1,214 次查看
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 项奖励
回复

1,214 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Can

there are examples describing gpu usage with gstreamer.

0 项奖励
回复