Gstreamer-OpenGL problem on iMX6

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer-OpenGL problem on iMX6

Kumsaati
Hello,
I want to use an opengl supported pipeline for my application on a iMX6
TinyRex module. For this, I started with a very simple pipeline:

    v4l2src ! glupload ! fakesink

to see if I can start working with openGL. With a quick research, I realized
that since the system is working in a headless mode, I've set
GST_GL_WINDOW=gbm, but 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 is  here
<https://pastebin.com/KPQXvSYp>  . Can anyone help me with making this
pipeline work?

Thanks,






--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer-OpenGL problem on iMX6

Nicolas Dufresne-5


Le mer. 17 oct. 2018 04 h 14, Kumsaati <[hidden email]> a écrit :
Hello,
I want to use an opengl supported pipeline for my application on a iMX6
TinyRex module. For this, I started with a very simple pipeline:

    v4l2src ! glupload ! fakesink

Are you on mainline kernel with Mesa ?


to see if I can start working with openGL. With a quick research, I realized
that since the system is working in a headless mode, I've set
GST_GL_WINDOW=gbm, but 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 is  here
<https://pastebin.com/KPQXvSYp>  . Can anyone help me with making this
pipeline work?

Thanks,






--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel