<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">It is:<div><br></div><div>./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/gst-plugins-bad1.0 --srcdir=. --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --libdir=${prefix}/lib/arm-linux-gnueabihf --disable-examples --enable-DEBUG --enable-debug --enable-experimental --with-package-name=GStreamer Bad Plugins (unknown Debian derivative) --with-package-origin=<a href="http://packages.qa.debian.org/gst-plugins-bad1.0">http://packages.qa.debian.org/gst-plugins-bad1.0</a> --disable-pvr --enable-gtk-doc</div><div><br></div><div>That’s with my NEED_GLES2 modification which, you’re right, should have been a —enable-gles2 flag.</div><div><br></div><div>Here’s config.log: <a href="http://cl.ly/0K1P0w1t0I2Y">http://cl.ly/0K1P0w1t0I2Y</a></div><div><br><div><div apple-content-edited="true">
<div style="orphans: 2; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"></div><div style="orphans: 2; widows: 2;">Thank you!</div>

</div>
<br><div><div>On 9 Sep 2014, at 10:37 am, Matthew Waters <<a href="mailto:ystreet00@gmail.com">ystreet00@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On 08/09/14 13:59, Michael Tyson wrote:<br><blockquote type="cite">Thanks Julien!<br><br>No go, I’m afraid - it reports "ERROR: from element /GstPipeline:pipeline0/GstGLImageSink:glimagesink0: Cannot create context with the user requested api (gles2).  We have support for (opengl opengl3)”<br><br>Trying with the two suggested apis gives the same error as previously (“EGL_BAD_PARAMETER”), unsurprisingly.<br><br>I did notice that the configure script reports "checking whether it is possible to include both GL and GLES2 headers… no”, and then disabled GLES2 ("Disabling GL|ES 2.0 support”).  Adding "NEED_GLES2=yes” to configure.ac:719 causes configure to disable GL instead ("Disabling Desktop GL support”), but unfortunately the build fails on target libgstgl_dispmanx_la-gstglwindow_dispmanx_egl.lo with the following:<span class="Apple-converted-space"> </span><a href="http://goo.gl/iQ5ngZ">http://goo.gl/iQ5ngZ</a>("error: conflicting types for ‘GLintptr’”, etc).<br></blockquote><br>What's you're ./configure invocation?<br><br>Also, could you attach the config.log file that is generated?<br><br>All of the different parts are protected by --{en,dis}able- flags.  It's<br>simply a matter of choosing the right invocation.<br>The --enable-gles2 flag will set NEED_GLES2=yes for you without having<br>to modify configure.ac.<br><br><blockquote type="cite">Any ideas for an immediate fix?<br><br>Cheers,<br>Michael<br><br><br><br>On 5 Sep 2014, at 6:33 pm, Julien Isorce <<a href="mailto:julien.isorce@gmail.com">julien.isorce@gmail.com</a>> wrote:<br><br><blockquote type="cite">Hi,<br><br>You also need to set GST_GL_API=gles2<br><br>See <a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/gst-libs/gst/gl?id=707cb5800490a654e16ca683e104c1fb9ea3eb87">http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/gst-libs/gst/gl?id=707cb5800490a654e16ca683e104c1fb9ea3eb87</a><br><br>If you want to avoid setting those env var, you can disable unwanted support at build time, for example:  --disable-opengl --disable-wayland --disable-x11 --disable-glx ...<br>and just enable --enable-gles2 --enable--dispmanx --enable-egl ...<br><br>On rpi I think you may just need to uninstall mesa packages, and just install the rpi bcm dev packages that put egl/gles2 headers in /opt/vc/include directory (can't remember the exact package name). Also if you may want to uninstall wayland package to avoid building the gstgl support (so no need to pass --disable-wayland explicitly)<br><br>Cheers<br>Julien<br><br><br>On 5 September 2014 08:20, Sebastian Dröge <<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>> wrote:<br>On Fr, 2014-09-05 at 17:00 +1000, Michael Tyson wrote:<br><blockquote type="cite">Cheers for the reply Sebastian!<br><br>Alas, nope - here’s what it says ("Failed to bind OpenGL API: EGL_BAD_PARAMETER”):<br>[...]<br></blockquote>Can you file a bug about that at <a href="http://bugzilla.gnome.org">http://bugzilla.gnome.org</a> against<br>GStreamer, and attach a debug log with GST_DEBUG=*gl*:6 ?<br><br>--<br>Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com">http://www.centricular.com</a><br>Expertise, Straight from the Source<br><br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br><br><br>_______________________________________________<br>gstreamer-devel mailing list<br>gstreamer-devel@lists.freedesktop.org<br>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br></blockquote><br></blockquote><br><br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div></blockquote></div><br></div></div></body></html>