From 284877cb63856744f2af7145d722d2ce9c6d9cb8 Mon Sep 17 00:00:00 2001 From: Grigory Kletsko Date: Wed, 2 Nov 2016 17:43:18 +0300 Subject: Add sharing screen support to Weston via h.264 This patch enables sharing screen support between IVI and meter cluster for CES2017 demo using weston. h264 streaming data on the surface can be sent to the different soc via rtp protocol. Change-Id: Ie4d00e369039e57a19940284a7d82aba684a4bf6 Signed-off-by: Grigory Kletsko --- .../recipes-graphics/wayland/weston/weston.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service (limited to 'meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service') diff --git a/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service b/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service new file mode 100644 index 0000000..4e75b68 --- /dev/null +++ b/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service @@ -0,0 +1,12 @@ +[Unit] +Description=Weston reference Wayland compositor +Conflicts=getty@tty1.service +After=dbus.service rc.pvr.service + +[Service] +ExecStart=/usr/bin/weston-launch -u root -- --idle-time=4294967 --gst-record +ExecStop=/usr/bin/killall -s KILL weston +Type=simple + +[Install] +WantedBy=multi-user.target -- cgit 1.2.3-korg From 2420779506844c8b8cf2f50d8f08b622dc6468f6 Mon Sep 17 00:00:00 2001 From: Toshi Umemura Date: Mon, 19 Dec 2016 17:31:24 +0900 Subject: Add exec to remove gst cache in weston.service When weston in IVI starts to send encoded display image to meter cluster, it also starts to use gstreamer to encode in CES2017 demo. If cache for gstreamer remains, weston sometimes failes to start. To avoid this, this patch adds ExecStartPre to remove the cache as a workaround. Change-Id: I0f3f90bbfbf9033452d27c1cc3ea358e0e2880f3 Signed-off-by: ynakamura --- meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service') diff --git a/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service b/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service index 4e75b68..db0fd29 100644 --- a/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service +++ b/meta-rcar-gen2/recipes-graphics/wayland/weston/weston.service @@ -4,6 +4,7 @@ Conflicts=getty@tty1.service After=dbus.service rc.pvr.service [Service] +ExecStartPre=/bin/rm -rf /home/root/.cache/gstreamer-1.0 ExecStart=/usr/bin/weston-launch -u root -- --idle-time=4294967 --gst-record ExecStop=/usr/bin/killall -s KILL weston Type=simple -- cgit 1.2.3-korg