recipes-graphics: Update weston to fix Matrix GUI
cover recipes-graphics: Update weston to fix Matrix GUI
Hi All,
This series of patches fix the Matrix GUI Issue,
Issue:
After the target board is booted, by default the Matrix GUI Demo is not getting displayed on the display device connected to the target board.
The root cause of the Matrix GUI demo issue is that there are two Weston system services running in the filesystem. Below are the two services,
1. Weston systemd service
2. Weston initscript service
The Matrix GUI demo runs on top of the Weston service. Since there are two Weston services running, it causes the Matrix GUI demo to not work properly.
Fix:
Both Weston services (systemd and initscript) which has the same command and does the same job. So, remove the weston systemd services from the filesystem. This fix displays the Matrix GUI in the connected display device.
Priya N S (2):
wayland: weston: Disable weston systemd service
weston-init: Update initscript for weston-calibration
.../recipes-graphics/wayland/weston-init.bbappend | 5 ++++- meta-arago-distro/recipes-graphics/wayland/weston-init/init | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.19.1.windows.1
PATCH 1/2 wayland: weston: Disable weston systemd service
Disable the weston systemd service since there is a weston initscript that performs touchscreen calibration and other customizations.
--- .../recipes-graphics/wayland/weston-init.bbappend | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend +4 -1
@@ -1,6 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PR_append = ".arago10" +PR_append = ".arago11" SRC_URI_append = " \ file://runWeston \
@@ -11,10 +11,13 @@ SRC_URI_append = " \ do_install_append() { install -d ${D}${bindir} install -m 755 ${WORKDIR}/runWeston ${D}${bindir} + rm -rf ${D}${systemd_system_unitdir} install -d ${D}${sysconfdir}/profile.d install -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir} install -m 0644 ${WORKDIR}/wayland_env.sh ${D}${sysconfdir}/profile.d/ } +FILES_${PN}_remove = "${systemd_system_unitdir}/[email protected]" FILES_${PN} += "${sysconfdir}/profile.d/* ${sysconfdir}/weston.ini" +SYSTEMD_SERVICE_${PN}_remove = "weston@%i.service"
Signature · 1 line
2.19.1.windows.1
PATCH 2/2 weston-init: Update initscript for weston-calibration
In reply to Priya N SIncrease the sleep time before starting the weston-calibrator. It takes some time for the completion of the runWeston script. If the weston-calibration is started before the completion of the runWeston script, the weston-calibrator will fail.
--- meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend | 2 +- meta-arago-distro/recipes-graphics/wayland/weston-init/init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend +1 -1
@@ -1,6 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PR_append = ".arago11" +PR_append = ".arago12" SRC_URI_append = " \ file://runWeston \
meta-arago-distro/recipes-graphics/wayland/weston-init/init +1 -1
@@ -79,7 +79,7 @@ case "$1" in echo echo "*** To continue, please complete the touchscreen calibration" echo -n "*** by touching the crosshairs on the LCD screen" - sleep 1 + sleep 2 CAL_VALUES=`weston-calibrator|cut -c21-` echo 'SUBSYSTEM=="input", ENV{WL_CALIBRATION}="'$CAL_VALUES'"' > $WS_CALUDEV_FILE echo "."
Signature · 1 line
2.19.1.windows.1
+ Denys, Ryan (for the series)
Quoted 30 lines · Priya N S
Hi All,
This series of patches fix the Matrix GUI Issue,Issue:
After the target board is booted, by default the Matrix GUI Demo is not getting displayed on the display device connected to the target board.
The root cause of the Matrix GUI demo issue is that there are two Weston system services running in the filesystem. Below are the two services,
1. Weston systemd service
2. Weston initscript service
The Matrix GUI demo runs on top of the Weston service. Since there are two Weston services running, it causes the Matrix GUI demo to not work properly.Fix:
Both Weston services (systemd and initscript) which has the same command and does the same job. So, remove the weston systemd services from the filesystem. This fix displays the Matrix GUI in the connected display device.Priya N S (2):
wayland: weston: Disable weston systemd service
weston-init: Update initscript for weston-calibration.../recipes-graphics/wayland/weston-init.bbappend | 5 ++++- meta-arago-distro/recipes-graphics/wayland/weston-init/init | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-)
meta-arago / na / 20211026134145.57608-1-priya.ns
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: FAIL
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago] [dunfell PATCH 0/2] recipes-graphics: Update weston to fix Matrix GUI
- Submitter: From: "Priya N S" <[email protected]>
X-Google-Original-From: Priya N S <[email protected]>
- Date: Date: Tue, 26 Oct 2021 19:11:43 +0530
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 4c96fe07567b59e377c0ac030d5ad39199097ff6
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master
- Commit Author: LCPD Automation Script <[email protected]>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202508010100
- Commit SHA: 644f8b47f0eef26bda636717f5838871ec67d138
Patches
----------------------------------------
FAIL - [meta-arago] [dunfell PATCH 1/2] wayland: weston: Disable weston systemd service
error: patch failed: meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend:1
error: meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend: patch does not apply
Applying: wayland: weston: Disable weston systemd service
Patch failed at 0001 wayland: weston: Disable weston systemd service