Gstreamer + Clutter + Wayland

Nicolas Dufresne nicolas at ndufresne.ca
Fri Apr 19 19:56:49 UTC 2019


Le ven. 19 avr. 2019 15 h 40, horai <ivo.hora at seznam.cz> a écrit :

> Anyway,
>
> I would like to ask a peculiar question?
> Does it make any sense to try to run realtime video stream or RPI3B+
> utilizing the combination of Wayland/Weston on top of VC4 as graphical
> stack
> and video rendering in GTK Window using Clutter stage utilizing COGL (GLES
> 2.0) decoding the stream either with v4l2h264dec?
>

I would like to say yes, hence the reason I trying to help. I don't really
understand why it is so slow compared to X11. Normally Wayland bring tear
free videos, performance is generally similar.


The only thing I wanted to gain was delay increase and performance boost
> compared to the same application I am running on top of X11 but unluckily I
> am facing something totally different despite all the promising videos and
> information on Web. Moreover I encountered few people stating that Wayland
> support was dropped from Raspberry (or Raspbian) foundation in favor of
> X11,
>

That one is confusing. Wayland protocol does not require GL. So at some
point, a dispmanx (Broadcom 2d interface) renderer has been added to
Weston. It worked quite well, but never became official graphic interface.
It quickly became abandoned code and was later dropped by Weston
maintainers. Now that VC4 mesa driver is there, the generic GL renderer in
Weston can be used. The only down side, is that Weston does not yet support
using the 50 overlays available on the RPi display driver. Support for that
would give massive boost to waylandsink use cases. I am pretty sure this is
something coming and RPi should will be a good platform to support this.

maybe they know why they decided like this (of course if these rumors are
> right).
> I am not that skilled to see whether there are totally obvious obstacles
> why
> not to even dare to use Wayland for this purpose, actually Wayland on
> Raspberry.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190419/450a7f77/attachment-0001.html>


More information about the gstreamer-devel mailing list