opengl questions

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

opengl questions

ivan aponte
Hello, 

I would like to know how can I use glcolorconvert or for example gleffects_mirror in a headless system. It always ask for a running X11 display. 

Regards,

Ivan
--
Iván Aponte
+58 412 2774713

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

Re: opengl questions

Sebastian Dröge-3
On Do, 2016-03-17 at 13:48 +0000, Iván Aponte wrote:
> Hello, 
>
> I would like to know how can I use glcolorconvert or for
> example gleffects_mirror in a headless system. It always ask for a
> running X11 display. 

You need an OpenGL implementation that can run without X11, e.g. using
EGL. And it needs to be able to create a GL context without having an
X11 display connection.

On the RPi you can do that for example, I think with Mesa it's not
possible. What's your platform?

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


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

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: opengl questions

ivan aponte
Hello, 

I am using a tegra k1 on linux 4 tegra.  In the documentation says that the media libraries are  OpenGL 4.4, OpenGL ES 3.1, OpenGL ES path extensions and EGL 1.4 with EGLImage. 

Regards, 

IA

On Fri, Mar 18, 2016 at 4:44 AM Sebastian Dröge <[hidden email]> wrote:
On Do, 2016-03-17 at 13:48 +0000, Iván Aponte wrote:
> Hello, 
>
> I would like to know how can I use glcolorconvert or for
> example gleffects_mirror in a headless system. It always ask for a
> running X11 display. 

You need an OpenGL implementation that can run without X11, e.g. using
EGL. And it needs to be able to create a GL context without having an
X11 display connection.

On the RPi you can do that for example, I think with Mesa it's not
possible. What's your platform?

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Iván Aponte
+58 412 2774713

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

Re: opengl questions

Sebastian Dröge-3
On Fr, 2016-03-18 at 11:09 +0000, Iván Aponte wrote:
> Hello, 
>
> I am using a tegra k1 on linux 4 tegra.  In the documentation says
> that the media libraries are  OpenGL 4.4, OpenGL ES 3.1, OpenGL ES
> path extensions and EGL 1.4 with EGLImage. 

So you'll have to a) compile libgstgl with EGL support and make sure it
is using EGL instead of GLX, b) make sure your EGL supports creating
EGLDisplays without an X11 display connection.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


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

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: opengl questions

ivan aponte
Hello, 

Will do some testing thanks for your answer. 

IA

On Fri, Mar 18, 2016 at 6:54 AM Sebastian Dröge <[hidden email]> wrote:
On Fr, 2016-03-18 at 11:09 +0000, Iván Aponte wrote:
> Hello, 
>
> I am using a tegra k1 on linux 4 tegra.  In the documentation says
> that the media libraries are  OpenGL 4.4, OpenGL ES 3.1, OpenGL ES
> path extensions and EGL 1.4 with EGLImage. 

So you'll have to a) compile libgstgl with EGL support and make sure it
is using EGL instead of GLX, b) make sure your EGL supports creating
EGLDisplays without an X11 display connection.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Iván Aponte
+58 412 2774713

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