<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 20 mai 2019 14 h 10, horai <<a href="mailto:ivo.hora@seznam.cz">ivo.hora@seznam.cz</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, I filed a bug here:<br>
<a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/609" rel="noreferrer noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/609</a><br>
<br>
Hopefully they will understand.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">They means me in this case, I'll try and make a patch for this soon. I haven't used a RPi recently, can you point me to some links on which distro I should flash ? That's only in case I can't reproduce on IMX.6 or DB410c.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Actually, I tried to run the following pipeline with v4l2h264dec in Wayland,<br>
but with Gstreamer 1.14:<br>
 gst-launch-1.0 -e filesrc location=/home/pi/jellyfish-15-mbps-hd-h264.mkv !<br>
matroskademux ! h264parse ! v4l2h264dec capture-io-mode=dmabuf ! waylandsink<br>
<br>
It is much faster than anything else in X11 (I was not able to fix<br>
glimagesink in 1.16), but I am facing a lot of following warnings:<br>
0:00:18.246613271   857 0x74213550 WARN             waylandsink<br>
wlvideoformat.c:<br>
137:gst_video_format_to_wl_dmabuf_format: wayland dmabuf video format not<br>
found<br>
<br>
Would you be please so kind and give me a hint how to remove this warning<br>
and take advantage of dma fully? I guess the dma is not used in this case as<br>
it consumes a lot of CPU power.</blockquote></div></div><div dir="auto"><br></div><div dir="auto">Was this one once per stream or spammy (every frame) ? I can also fix this one to be once.</div><div dir="auto"><br></div><div dir="auto">In this case, it means your compositor does not advertise the format to be supported using dmabuf, but waylandsink is smart and will use the dmabuf FD to pass the buffer to the compositor without copy. The compositor still need to use slow GL upload, but since it has nothing else to do, it's likely smoother.</div><div dir="auto"></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>