<div dir="ltr">GPU:<div>00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)<br> Subsystem: Lenovo UHD Graphics 620<br> Kernel driver in use: i915<br> Kernel modules: i915<br><div>I built master and 1.16 of gst-build the same way. I did not disable wayland on purpose. Can you confirm the libs required for wayland?</div></div><div><br></div><div>Pipeline: LIBGL_ALWAYS_SOFTWARE=true GST_DEBUG=4 gst-launch-1.0 -v wpesrc location="<a href="https://www.google.com">https://www.google.com</a>" do-timestamp=1 ! video/x-raw,width=1280,height=720,format=BGRA ! videoconvert ! glimagesink sync=false async=false</div><div>Got this error in master: 0:00:00.506811911 9624 0x559767b4d400 FIXME bin gstbin.c:4359:gst_bin_query: implement duration caching in GstBin again</div>0:00:00.507116824 9624 0x559767d72e30 WARN structure gststructure.c:2006:priv_gst_structure_append_to_gstring: No value transform to serialize field 'params' of type 'GstAllocationParams'<br>0:00:00.507245184 9624 0x559767d72e30 INFO structure gststructure.c:2777:gst_structure_get_valist: Expected field 'gl-allocation-params' in structure: GstBufferPoolConfig, caps=(GstCaps)"video/x-raw\,\ format\=\(string\)BGRA\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ framerate\=\(fraction\)30/1\,\ pixel-aspect-ratio\=\(fraction\)1/1", size=(uint)3686400, min-buffers=(uint)1, max-buffers=(uint)0, allocator=(GstAllocator)"NULL", params=(GstAllocationParams)NULL, options=(string)< GstBufferPoolOptionGLSyncMeta, GstBufferPoolOptionGLTextureTarget2D, GstBufferPoolOptionVideoMeta, GstBufferPoolOptionVideoGLTextureUploadMeta >;<br>0:00:00.516988248 9624 0x559767d72e30 INFO basesrc gstbasesrc.c:2857:gst_base_src_loop:<wpesrc0> pausing after gst_base_src_get_range() = error<br>0:00:00.517029747 9624 0x559767d72e30 WARN basesrc gstbasesrc.c:3075:gst_base_src_loop:<wpesrc0> error: Internal data stream error.<br>0:00:00.517042325 9624 0x559767d72e30 WARN basesrc gstbasesrc.c:3075:gst_base_src_loop:<wpesrc0> error: streaming stopped, reason error (-5)<br>0:00:00.517066065 9624 0x559767d72e30 INFO GST_ERROR_SYSTEM gstelement.c:2222:gst_element_message_full_with_details:<wpesrc0> posting message: Internal data stream error.<div><br></div><div>Attached full logs.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 1, 2020 at 1:35 AM Philippe Normand <<a href="mailto:phil@base-art.net" target="_blank">phil@base-art.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Frederic,<br>
<br>
On Sun, 2020-05-31 at 13:20 -0700, Frederic Turmel wrote:<br>
> Hi, I wanted to play with wpesrc element. Having issues and have some<br>
> questions. Build seems to be broken for 1.16.x<br>
> <br>
> Questions: <br>
> 1-Do you need wayland to use GL or we need to use weston. Any hint?<br>
<br>
Yes, in 1.16 Wayland is required.<br>
What's your GPU brand and driver being used?<br>
<br>
> 2-Hitting issue compiling for stable 1.16 branch. Master can compile<br>
> with the same env See below.<br>
> 3-When running with master and in software only mode, it works 1 out<br>
> of 5. There seems to be a race condition.<br>
> <br>
> Got context from element 'wpesrc0': gst.gl.GLDisplay=context,<br>
> gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";<br>
> 0:00:00.433971380 23250 0x55db8aebacf0 WARN basesrc<br>
> gstbasesrc.c:3075:gst_base_src_loop:<wpesrc0> error: Internal data<br>
> stream error.<br>
> 0:00:00.434279847 23250 0x55db8aebacf0 WARN basesrc<br>
> gstbasesrc.c:3075:gst_base_src_loop:<wpesrc0> error: streaming<br>
> stopped, reason error (-5)<br>
> ERROR: from element /GstPipeline:pipeline0/GstWpeSrc:wpesrc0:<br>
> Internal data stream error<br>
> With more debugging seems to be related to:<br>
> GST_MESSAGE<br>
> gstelement.c:2191:gst_element_message_full_with_details:<wpesrc0><br>
> start<br>
> 0:00:01.310356869 23620 0x561a8f22e4a0 INFO GST_ERROR_SYSTEM<br>
> gstelement.c:2222:gst_element_message_full_with_details:<wpesrc0><br>
> posting message: Internal data stream error.<br>
> 0:00:01.310396995 23620 0x561a8f22e4a0 WARN structure<br>
> gststructure.c:2006:priv_gst_structure_append_to_gstring: No value<br>
> transform to serialize field 'gerror' of type 'GError'<br>
> <br>
<br>
What's the pipeline for this error? ^^^<br>
<br>
> More details<br>
> Using ubuntu 18.04<br>
> I installed the latest stable dependency from <a href="http://webkit.org" rel="noreferrer" target="_blank">webkit.org</a><br>
> <br>
> Using gst-build with 1.16: I'm unable to build. getting this error:<br>
> git/gst-build/build/../subprojects/gst-plugins-<br>
> bad/ext/wpe/gstwpesrc.cpp:502: undefined reference to<br>
> `gst_gl_display_wayland_get_type'<br>
> <br>
<br>
This symbol should be in libgst-gl (AFAIK). Did you disable Wayland?<br>
<br>
> Using gst-build master: <br>
> Failing when running gl:<br>
> Got context from element 'wpesrc0': gst.gl.GLDisplay=context,<br>
> gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";<br>
> ** (gst-launch-1.0:22754): CRITICAL **: 13:08:05.161:<br>
> gst_egl_image_new_wrapped: assertion 'context != NULL' failed<br>
> <br>
<br>
WPE currently doesn't work on X11 environments. There's some on-going<br>
work in that direction though.<br>
<br>
Philippe<br>
<br>
> I'm able to run software only mode:<br>
> LIBGL_ALWAYS_SOFTWARE=true GST_DEBUG=3,wpesrc=7,wpe=7 gst-launch-1.0<br>
> -v wpesrc location="<a href="http://cnn.com" rel="noreferrer" target="_blank">http://cnn.com</a>" ! video/x-<br>
> raw,width=1280,height=720,format=BGRA,framerate=\(fraction\)30/1 !<br>
> videoconvert ! queue ! ximagesink sync=false async=false<br>
> <br>
> <br>
> FULL ERROR BLOB for 1.16 branch:<br>
> FAILED: subprojects/gst-plugins-bad/ext/wpe/libgstwpe.so <br>
> c++ -o subprojects/gst-plugins-bad/ext/wpe/libgstwpe.so<br>
> 'subprojects/gst-plugins-bad/ext/wpe/9fb9286@@gstwpe@sha/WPEThreadedV<br>
> iew.cpp.o' 'subprojects/gst-plugins-bad/ext/wpe/9fb9286@@gstwpe@sha/g<br>
> stwpesrc.cpp.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC<br>
> -Wl,--start-group -Wl,-soname,libgstwpe.so subprojects/gst-plugins-<br>
> base/gst-libs/gst/video/libgstvideo-1.0.so.0.1602.0<br>
> subprojects/gstreamer/libs/gst/base/libgstbase-1.0.so.0.1602.0<br>
> subprojects/gstreamer/gst/libgstreamer-1.0.so.0.1602.0<br>
> subprojects/orc/orc/liborc-0.4.so.0.29.0 subprojects/gst-plugins-<br>
> base/gst-libs/gst/gl/libgstgl-1.0.so.0.1602.0 /usr/lib/x86_64-linux-<br>
> gnu/libEGL.so /usr/local/lib/<a href="http://libWPEWebKit-1.0.so" rel="noreferrer" target="_blank">libWPEWebKit-1.0.so</a> /usr/lib/x86_64-<br>
> linux-gnu/<a href="http://libsoup-2.4.so" rel="noreferrer" target="_blank">libsoup-2.4.so</a> /usr/lib/x86_64-linux-gnu/<a href="http://libgio-2.0.so" rel="noreferrer" target="_blank">libgio-2.0.so</a><br>
> /usr/lib/x86_64-linux-gnu/<a href="http://libgobject-2.0.so" rel="noreferrer" target="_blank">libgobject-2.0.so</a> /usr/lib/x86_64-linux-<br>
> gnu/<a href="http://libglib-2.0.so" rel="noreferrer" target="_blank">libglib-2.0.so</a> /usr/local/lib/<a href="http://libwpe-1.0.so" rel="noreferrer" target="_blank">libwpe-1.0.so</a> /usr/lib/x86_64-<br>
> linux-gnu/libxkbcommon.so /usr/local/lib/<a href="http://libWPEBackend-fdo-1.0.so" rel="noreferrer" target="_blank">libWPEBackend-fdo-1.0.so</a><br>
> -Wl,--export-dynamic /usr/lib/x86_64-linux-gnu/<a href="http://libgmodule-2.0.so" rel="noreferrer" target="_blank">libgmodule-2.0.so</a><br>
> -pthread -lm /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-<br>
> linux-gnu/libX11-xcb.so /usr/lib/x86_64-linux-gnu/libxcb.so -Wl,<br>
> --end-group '-Wl,-rpath,$ORIGIN/../../../gst-plugins-base/gst-<br>
> libs/gst/video:$ORIGIN/../../../gstreamer/libs/gst/base:$ORIGIN/../..<br>
> /../gstreamer/gst:$ORIGIN/../../../orc/orc:$ORIGIN/../../../gst-<br>
> plugins-base/gst-libs/gst/gl:$ORIGIN/../../../gst-plugins-base/gst-<br>
> libs/gst/allocators' -Wl,-rpath-link,/home/fturmel/git/gst-<br>
> build/build/subprojects/gst-plugins-base/gst-libs/gst/video -Wl,-<br>
> rpath-link,/home/fturmel/git/gst-<br>
> build/build/subprojects/gstreamer/libs/gst/base -Wl,-rpath-<br>
> link,/home/fturmel/git/gst-build/build/subprojects/gstreamer/gst<br>
> -Wl,-rpath-link,/home/fturmel/git/gst-build/build/subprojects/orc/orc <br>
> -Wl,-rpath-link,/home/fturmel/git/gst-build/build/subprojects/gst-<br>
> plugins-base/gst-libs/gst/gl -Wl,-rpath-link,/home/fturmel/git/gst-<br>
> build/build/subprojects/gst-plugins-base/gst-libs/gst/allocators<br>
> subprojects/gst-plugins-bad/ext/wpe/9fb9286@@gstwpe@sha/gstwpesrc.cpp<br>
> .o: In function `gst_wpe_src_change_state(_GstElement*,<br>
> GstStateChange)':<br>
> /home/fturmel/git/gst-build/build/../subprojects/gst-plugins-<br>
> bad/ext/wpe/gstwpesrc.cpp:502: undefined reference to<br>
> `gst_gl_display_wayland_get_type'<br>
> collect2: error: ld returned 1 exit status<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>