summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-08-28wireplumber: Enable v4l2 monitorAshok Sidipotu1-1/+1
The monitor scans for the V4L2 camera devices and registers pipewire device nodes for them. This effectively enables AGL to talk to cameras. Bug-AGL: SPEC-4881 Change-Id: Ia1d989da229304b1b514d6b25ebbc2530503d370 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29117 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-08-17gstreamer1.0-plugins-bad_%.bbappend: Added a title/appidsandbox/nguyentanloc27/spec4808Marius Vlad3-0/+334
This is necessary to display gst-launch application which uses its own xdg-shell toplevel window. Any other application that creates its own toplevel window would *not* have this problem. There's a patch specific for rcar-gen3, as they have their own gstreamer fork. Bug-AGL: SPEC-4870 Change-Id: Ic899d9c5518a50bb426237775f54c8bf34474cc9 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29115 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account
2023-08-17agl-compositor_git.bb: Bump agl-compositor SRCREVMarius Vlad1-1/+1
This SRCREV bump update is necessary to avoid a circular dependency between libweston and the AGL compositor. This update includes Xwayland support (and a few fixes related to that) and an update for using logging scopes to match with that we have in upstream. Note that Xwayland requires to build with Xwayland enabled and have a working Xwayland image (which requires a bit of tweaks to make it work). In more detail, the following changes have been added since previous bump: - a68408367cf desktop: Fix Xwayland build - 5ec94158612 compositor: Use the logging context when iterating over scopes - f3ae1a25e24 layout: Check against app_id being valid - 26700fa20ab layout: Determine xwayland surface in a generic fashion - 8033c46081b compositor: Add XWayland basic support Change-Id: Ib4aa552eec776a5badafb56bbdd2f780eb0ff331 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29101 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-08-17weston_10.0_aglcore.inc: Update logger scopes iteratorMarius Vlad3-92/+228
With the actual patch that made in upstream. Bug-AGL: SPEC-4861 Change-Id: Ifbee85ce7ae2b38c56613694b5c9934c93341566 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29064 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-08-16CI: upgrade UNINATIVE_VERSION on YP 4.0.11 to fixed versionJan-Simon Moeller1-4/+6
UNINATIVE_VERSION 4.1 does have the fix for patchelf. Uprev to the new version as it will become the standard soon. Bug-AGL: SPEC-4875 Change-Id: I20d3ea5322e185b630a451368a8d1602eb40106b Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29124 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-08-08CI: downgrade UNINATIVE_VERSION on YP 4.0.11Jan-Simon Möller1-0/+8
The update to YP 4.0.11 came with a new UNINATIVE tarball. This led to problems in CI. Downgrade the tarball till we either fix the tarball or uprev the builders. Bug-AGL: SPEC-4875 Change-Id: Icd31c16f91af526454dede09a0620df9a374c534 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29103
2023-08-04Update distro configuration for Quirky QuillbackJan-Simon Moeller1-4/+4
Change for the upcoming AGL release 'Quirky Quillback'. Bug-AGL: SPEC-4873 Change-Id: I5c000ce0020a3b5efafbf2258258545c81a03839 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29098 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-07-19Prepare Prickly Pike Milestone 2pike_15.92.0pike/15.92.015.92.0Jan-Simon Moeller1-2/+2
Change config to release mode. Bug-AGL: SPEC-4852 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic129b58d9063727cd3450d33de3af620400738e9 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29055 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-07-18Prepare Prickly Pike Milestone 2Jan-Simon Moeller1-3/+3
Update the distro manifest. Bug-AGL: SPEC-4852 Change-Id: Idfccb3f4ff7d9b075148193a0633ba59ee82f6f2 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29042 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-07-18[agl][cef][applaunchd] Make it possible to switch between chromium and cef ↵Roger Zanoni1-1/+2
backends Bug-AGL: SPEC-3872 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: I574c8c19b977f29a9d73b7d7e5261494d9d2676f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29048 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-07-18meta-agl-bsp: remove now unnecessary workaroundsScott Murray8-129/+0
Remove our usrmerge workarounds since meta-rcar-gen3 now has been fixed. Also remove now unnecessary workarounds for the "display" user and weston systemd unit naming. Bug-AGL: SPEC-4854 Change-Id: Ieaebb24385f9d75eaad012043993dcfc733aa01a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29043 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-29meta-agl-core: add Upstream-Status tag to patchesJan-Simon Moeller7-0/+17
This fixes the build in the YP autobuilder. Bug-AGL: SPEC-4850 Change-Id: Ic9840c399fc8158ddc17eba0e293d8ca0894beb7 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29039 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-06-22weston-ini-conf: Add activate-by-default=false by defaultMarius Vlad2-2/+1
As all our platforms (flutter, qt, html5) are now capable of starting and activating windows on their own, we can turn off the implicit activation by default from the compositor. We would remove it entirely from the configuration file once we won't have any code in the compositor. Make it default for now. Change-Id: I43df54cd2bba5f05612989b02ce99c63f93a5c2d Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29018 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-22weston-ini-config: Fix gRPC missing in other imagesMarius Vlad1-3/+1
Flutter images in particular were affected because we only added the gRPC proxy in just the no-activate case. Change-Id: I32ee2ef739147e6cee3063004b98611ea7fd8198 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29017 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-21meta-app-framework: update applaunchdScott Murray2-1/+2
Update the applaunchd SRCREV to pick up: c32fe42 Add sd_notify call Also change the applaunchd systemd unit to use Type=notify so that the calling of sd_notify in applaunchd will work as intended. Bug-AGL: SPEC-4843 Change-Id: Iee326fa24de0a1a33f92dcff3bf29d2be13252a1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29034 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-16Prepare Prickly Pike Milestone 1.1pike_15.91.1pike/15.91.115.91.1Jan-Simon Moeller1-1/+1
Respin of Prickly Pike Milestone 1 to include - polkit-rule-agl-app: try to prevent transaction error - meta-agl-core: fix polkit dependencies - polkit-rule-agl-app: add useradd class and USERADD_PARAM - Add explicit applaunchd systemd dependencies - meta-app-framework: make applaunchd polkit dependency explicit - recipes-graphics/wayland/agl-compositor_git: Bump SRCREV This fixes the flutter images and a build issue seen in CI around packaging of polkit-rule-agl-app due to the polkit group requirement. Bug-AGL: SPEC-4824 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1f154d0cd650648b116211a632c81dfa6f749d27 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29025
2023-06-16recipes-graphics/wayland/agl-compositor_git: Bump SRCREVMarius Vlad1-1/+1
The SRCREV bumps fixes for handling the activation area. In more detail the following changes have been integrated: - ffdbb335ee72a5b layout: Give ini config precedence over agl_shell - e089e3ba1b7581a shell: Don't reset the activation area always - 07c332f0b8c3297 layout: Add a fallback for reading activation-area Change-Id: Ib6a0bf15330290a464bf61b948f7ca7f69c8968f Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29013 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-16meta-app-framework: make applaunchd polkit dependency explicitScott Murray2-3/+5
Since there seems to be no inherent dependency in the shipped systemd default or polkit unit files with respect to polkit availability with respect to network.target, we do seem to need to make applaunchd's dependency on polkit explicit to guarantee systemd DBus API access works. As well, it seems worthwhile to enforce the systemd and polkit DISTRO_FEATURES being present if someone attempts to build applaunchd, so update the recipe to do so. Bug-AGL: SPEC-4840 Change-Id: I1cc998ac7c6234de0bb857d4c4fda00d847e00bf Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29020 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-16polkit-rule-agl-app: add useradd class and USERADD_PARAMpike_15.91.0pike/15.91.015.91.0Jan-Simon Moeller1-1/+4
The only diff left to e.g. polkit and systemd is the USERADD_PARAM. Add it into the recipe. Bug-AGL: SPEC-4824 Change-Id: I7eb2862dc5c40577a1c3311ac9b7a7cc43c5be2a Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29023
2023-06-16meta-agl-core: fix polkit dependenciesScott Murray13-19/+22
As part of the systemd user session removal, some changes were made to attempt to fix pulling in polkit for core-image-weston, agl-image-weston, and agl-image-compositor so that the compositors would correctly start up in the resulting images. Unfortunately, just gating the dependency on polkit being in DISTRO_FEATURES breaks the usecase of using poky and meta-agl-core with our poky-agl distro configuration without also pulling in the meta-oe layer. This combination is used for testing meta-agl-core on the Yocto Project autobuilder, so that broke and was reported by upstream. To fix this usecase, the polkit dependency logic has been shifted to weston-init and agl-compositor-init via bbappends that are only used when meta-oe is present via our existing BBFILES_DYNAMIC set up. Since the dependency on polkit stems from a combination of the compositor PAM configuration from the -init packages and having systemd, pam, and polkit in DISTRO_FEATURES, this seems more correct, anyways. Other changes: - The explicit pam DISTRO_FEATURES checking that was added in the previous cleanup has been removed; it is actually redundant due to weston and weston-init having checks. Using the .inc file for that from upstream has been added to the agl-compositor and agl-compositor-init recipes to match the weston recipes and make the dependency visible in our tree. - There is no further need for our bbappend to core-image-weston, so it has been removed. Bug-AGL: SPEC-4836 Change-Id: Ia3052023dfb06d1c2190a03c72606ab4b27bbdd2 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29014 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-14polkit-rule-agl-app: try to prevent transaction errorJan-Simon Moeller1-3/+5
While creating the final filesystem we see this error in CI: Running transaction test Error: Transaction test error: file /etc/polkit-1/rules.d conflicts between attempted installs of polkit-rule-agl-app-1.0-r0.11.corei7_64 and polkit-0.119-r0.11.corei7_64 ERROR: Logfile of failure stored in: /w/workspace/release-jjb-pike-snapshot/MACHINE/qemux86-64/label/agl-test-slave/repoclone/output/tmp/work/qemux86_64-agl-linux/agl-demo-platform-crosssdk/1.0-r0/temp/log.do_rootfs.44779 NOTE: recipe agl-demo-platform-crosssdk-1.0-r0: task do_rootfs: Failed Try to work this around. Bug-AGL: SPEC-4837 Change-Id: I855bfe88651cc5e738630936639e599523eb811c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29016 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-06-12Prepare Prickly Pike Milestone 1Jan-Simon Moeller1-3/+3
Update the distro manifest. Bug-AGL: SPEC-4824 Change-Id: Iac55421a7a45ead25f021a8cece1813bf88e6015 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28986 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-06-12Remove systemd user session and clean up packagegroups and imagesScott Murray45-374/+278
Remove the use of a systemd user session to align with how upstream runs Weston, and to allow using all systemd sandboxing features with the compositor and homescreen, launcher, etc. applications. The changes for this touched enough packagegroups and images that further rework was done to address some of the cleanup described in SPEC-4813, see below for details. Changes: - Remove agl-session and update various recipes that were manually adding dependencies to the user session it created. The compositor (be it weston or agl-compositor) and Wayland clients now run in the system session as non-root users. - Revive agl-users recipe, this time living in meta-agl-core, with the purpose of creating the agl-driver user. For simplicity, agl-compositor is always run as the agl-driver user, as opposed to trying to wrangle running it as different users depending on build configuration. This can potentially be made more configurable if a downstream user has a usecase to be able to specify another user. - Fully split agl-compositor's systemd unit with a tweaked fork of the weston-init recipe and unit which lives in meta-agl-core. This will be easier to maintain than the attempt to reuse weston-init for builds without meta-app-framework that was done previously. - Create packagegroup-agl-graphical-compositor, distinct from the weston packagegroup. This should make it more straightforward for downstreams that want agl-compositor or weston. - Rename agl-image-agl-compositor to agl-image-compositor to remove redundancy. - Tweak the logic for the inclusion of a few debug packages (e.g. agl-shell-activator) to ensure they only show up in images when agl-devel is enabled. - Split weston-terminal and the required icon resources into separate packages in our weston bbappend to avoid pulling in weston just to get the terminal for testing. - Add a agl-core-image.bbclass to use as a base for images. - Move our cross-SDK configuration to a agl-crosssdk.bbclass to ease reuse. - Remove various empty packagegroups. - Unify image .inc files with their .bb files as a simplification, and to move towards more how upstream Yocto Project does things. - Split pipewire tools into their own -devel packagegroup. - Remove rcar3 additions to packagegroup-agl-graphical-multimedia, as that packagegroup is not machine-specific. They will be added back in via a change in meta-agl-demo. If a downstream user desires a platform-specific packagegroup for such packages in meta-agl-core, this can be revisited, though a different implementation should be used. - Replace some :append usage with += to avoid creating problems for downstream users. Bug-AGL: SPEC-4714, SPEC-4813 Change-Id: I55b29bf749f0d5d50993a362c665bce62b785f67 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28996 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-05Use new weston-ini-conf scheme and remove old per-machine filesJan-Simon Moeller9-21/+33
The previous commit used an old file. Use the new generated version. Bug-AGL: SPEC-4822 Change-Id: Ic1b7018ce2840332c0e051101ce854b90f96ecae Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28985 Tested-by: Jenkins Job builder account
2023-06-05wayland/agl-compositor_git.bb: Bump SRCREVMarius Vlad1-1/+1
This SRCREV bump update formally removes SMACK and Waltham and modifies the client screenshooter client to generate a PNG screenshot for each output -- rather than creating an image for all outputs. In more detail to following changes have been added since the previous SRCREV bump: - 69bd3ddac4b23 policy-deny: Remove SMACK support - 0ed8064b0de23 compositor: Remove Waltham support - e0a1dcc548087 clients/screenshooter: Add the output name to screenshot name Change-Id: Ic951fdeddc3abff8b1f80be45896f1fdfb67bced Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28980 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-05Fix orientation for dual-hdmi setup on pi4Jan-Simon Moeller2-1/+14
The weston-ini-conf was not ready for dual-screen setup. Fix it. Bug-AGL: SPEC-4822 Change-Id: I75d8810fb9e58aadeceabeadf44ceedff4749d6e Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28984 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-06-02applaunchd: update Flutter app systemd template unitScott Murray1-1/+5
Applications built with newer meta-flutter package their bundles in a directory hierarchy containing the Flutter SDK version and multiple runtime flavors (release, debug, profile). Rework our applaunchd systemd template unit to work with that. FLUTTER_VERSION and FLUTTER_RUNTIME environment variables are used in the ExecStart command line, with working defaults defined in the unit. The unit also includes sourcing a global /etc/default/flutter environment file as well as a per-application one to give us hooki for setting the version based on the value of FLUTTER_SDK_TAG in meta-agl-flutter. Bug-AGL: SPEC-4819 Change-Id: I4879760bfd9c01f29daf25d6cd4a3c70d07429fd Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28979 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-31agl-session: remove agl-driver user from applaunchd groupDenys Dmytriyenko1-3/+2
Previously agl-driver user was part of applaunchd group for D-Bus activation to work woth the correct access rights. Now that D-Bus activation has been removed from applaunchd, agl-driver user no longer needs to be in the same group with applaunchd. Bug-AGL: SPEC-4801 Change-Id: Ia473b391432d8c797cd38c0841f7fe655dcdb8e6 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28930 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-31applaunchd: bump SRCREV for D-Bus removalDenys Dmytriyenko1-2/+2
Update to the latest version of applaunchd that has D-Bus services removed. Since D-Bus definitions are no longer installed, update FILES list accordingly. Bug-AGL: SPEC-4801 Change-Id: Ia502e62ab7797c509433ced5347c3ebaf8e09e7c Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28929 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-30Ensure all layers do pass yocto-check-layer and run-yocto-check-layer.sh scriptsJan-Simon Moeller10-115/+97
Ensure the layers do pass again and that the scripts are up-to-date. Bug-AGL: SPEC-4680 Bug-AGL: SPEC-4681 Bug-AGL: SPEC-4682 Bug-AGL: SPEC-4683 Bug-AGL: SPEC-4684 Change-Id: I5ab1bc49dc361a7fc30a62c5c82d286e66bad72e Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28875 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-30Fix up i.MX8MQ EVK configurationScott Murray14-76/+94
Changes: - Since linux-fslc-lts does not boot on the EVK at the moment, and both it and linux-fslc still do not have support for the HDMI output, switch back to using linux-fslc-imx with tweaks to use etnaviv as we did pre-kirkstone. - A bbappend has been added for linux-fslc-lts since that was missed in a previous upgrade, and even though we are not using it now, it is possibly useful for other i.MX variants. - A machine template for using the NXP BSP with the Vivante GPU driver, imx8mq-evk-viv, has been restored, as testing shows it now works with the current panel-less homescreens. As before, the intent of this configuration is for testing or as an example of potential production use of meta-freescale where NXP support is available. - Start up of Bluetooth support has been disabled, as it currently causes kernel oopses or panics (both have been seen in testing). This happens with both machine templates. SPEC-4807 has been opened to track this issue. Bug-AGL: SPEC-4799 Change-Id: I38e4e720643714541efb0fed08d5ab64545bb02d Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28925 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-30recipes-graphics/wayland/weston_10.0_aglcore.inc: Backport libweston11 ↵Marius Vlad2-1/+70
buffer release patch This is a backport from libweston 11 to would perform a synchronous commit that disables the output. Further more this removes our global state hammer regarding the such that we don't disable a CRTC that has a pending flip. Bug-AGL: SPEC-4772 Change-Id: I2631c818fd3a3192e293436fc4898f4a3de8b85d Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28906 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-29Remove unnecessary group change at meta-agl-bsp for R-CarNaoto Yamaguchi1-2/+0
Current AGL run each process by agl-driver user, that user need access permission for GPU. The old AGL use display group to accept access for GPU, but current agl-driver user join to video group that is default group for GPU. This patch remove unnecessary group change at meta-agl-bsp for R-Car. Bug-AGL : SPEC-4797 Change-Id: Ife20dea685035b336675304a5c6fc292ed83deb6 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28890 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-18Use backported Rust 1.68 toolchain by defaultScott Murray1-0/+1
Add the kirkstone/rust-1.68 mixin layer from meta-lts-mixins into the AGL default base so that the newer Rust toolchain is available by default to all builds. This seems the most straightforward way to integrate it and have it available for use in builds that may or may not include meta-agl-demo. It also ensures that build shared state and any binary packagefeed work do not get impacted by having a mix of different versions across builds. Bug-AGL: SPEC-4762 Change-Id: I7d01f4a015de6b342b47ef6e78f62da9bb34ec5f Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28902 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-09meta-ti-bsp: linux-bb.org: add bbappend to apply AGL config fragmentsDenys Dmytriyenko1-0/+2
Add bbappend to apply AGL kernel config fragments to the new linux-bb.org kernel recipe used in meta-ti-bsp for Beagle platforms now. Bug-AGL: SPEC-4785 Change-Id: I2ca57d4a70b296fd00e72520ada267d96a149a21 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28857 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-08recipes-graphics/wayland/agl-shell-activator_git: Bump SRCREVMarius Vlad1-1/+1
To include the lastest agl-compositor changes, related to set_app_output request. Bug-AGL: SPEC-4673 Change-Id: I4c057182d5d39904a2b1b3a464fa29c927776cab Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28809 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-08recipes-graphics/wayland/agl-compositor_git: Bump agl-compositor SRCREVMarius Vlad1-1/+1
This update includes further gRPC API support, adding the ability to now move windows dynamically between different outputs. Further more this includes also the ability to susbcribe to the drm-backend debug scope (which is being created by the drm-backend module) and to also list other possible debug scopes the AGL compositor can subscribe. In more detail the following changes have been added since the previous update: - 01171e9abf8a13 compositor: Let the user know about the debug scopes available - cea026b06a9073 compositor: Add support for subscribing to libweston scopes - 0fef26d32431e7 shell: Add the ability to dynamically move application window - 998097db427c6a layout: Fix no-op check due to invalid checks - d5d2af73456fba desktop: Look for app_ids after the initial commit - b80044887e9750 src: Send out the output name for the remote role - 456f3fed4ff45b layout: Split remote from desktop role - 4a1684308bd6a1 grpc-proxy: Added set_app_output request Change-Id: I99f96aa983495b1eee2034de39526893085c7c0f Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28806 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-08waltham: Drop waltham supportMarius Vlad14-345/+1
Given than we don't really have any users and more importantly no maintainers it would be best to remove Waltham support entirely from the tree. The AGL compositor will shortly follow-up to remove supporting code. Bug-AGL: SPEC-4669 Change-Id: I4df495bb873d70f380dcc09cb083686f11f0b2e2 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28805 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-08weston_10.0_aglcore: Add helper iterator to loop over debug scopesMarius Vlad2-1/+91
This is helpful for users to list the available scopes, that other compoments of libweston subscribed to. Bug-AGL: SPEC-4593 Change-Id: Idec02efe997104f6af8164281eee0f2e46f996bf Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28804 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-05[R-CAR] meta-agl-bsp: correct vspm-if package nameHarunobu Kurokawa3-3/+3
kernel-module-vspmif package name is no longer used. We should correct kernel-module-vspm-if in these files. Bug-AGL: SPEC-4780 Change-Id: I782319295fa0607a97971188a0322398a187b680 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28782 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-05meta-agl-bsp: Use pixman renderer on qemuarm/qemuarm64Hiroyuki Ishii2-0/+6
Using GL-renderer on qemu without any acceleration support such as kvm results pretty much higher cpu consumption. To avoid it, we'll use pixman-renderer on qemuarm and qemuarn64. Bug-AGL: SPEC-4165 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: Iaffe1bd624d6f1c6df9af67e33cc1fa2168293ac Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27066 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-03agl_bbe.inc: remove old graphics preferencesDenys Dmytriyenko1-20/+0
Latest TI graphics completely redone its dependencies and preferences to be aligned with upstream and use Mesa packages as proper providers for GBM, EGL, GLES, etc. components. There's no more need for local workarounds to adjust graphics settings. Note: SGX is currently set in meta-ti-bsp to fall back to software rendering and will be fixed later. Rogue in newer K3 devices is fully functioning though. Bug-AGL: SPEC-4723 Change-Id: I072a5e25bdbb444db8e7d4b87a1f181c349240ea Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28744 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-03agl_beaglebone.inc: remove old graphics preferencesDenys Dmytriyenko1-21/+0
Latest TI graphics completely redone its dependencies and preferences to be aligned with upstream and use Mesa packages as proper providers for GBM, EGL, GLES, etc. components. There's no more need for local workarounds to adjust graphics settings. Note: SGX is currently set in meta-ti-bsp to fall back to software rendering and will be fixed later. Rogue in newer K3 devices is fully functioning though. Bug-AGL: SPEC-4723 Change-Id: Ifb6f594c6203924aa1b90f421d475b716c61a796 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28743 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2023-05-03meta-ti-bsp: don't apply mesa virgl patch for TI pvr graphicsDenys Dmytriyenko2-0/+2
Latest TI graphics now uses Mesa, but it uses a slightly newer and patched version of Mesa for SGX and Rogue GPUs. Since generic mesa virgl patch from meta-agl-bsp/core already exists in that version of Mesa, need to skip applying it here. Bug-AGL: SPEC-4723 Change-Id: I795e2bf41bea8305be25418de7cc3262aefb3b4a Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28742 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-03meta-agl-bsp/core: mesa: generic patches should be y-c-l safeDenys Dmytriyenko2-2/+2
SPEC-4724 added a generic backported patch to mesa. But instead of adding it directly to mesa_%.bbappend, it should have been added to mesa_agl.inc which is only active when "aglcore" feature is enabled, making it yocto-check-layer safe. Bug-AGL: SPEC-4723 Change-Id: I226cba14de917f6e4109d1dc1df364cb74e7ee45 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28741 Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-03meta-ti-bsp: ti-sgx-ddk-um: drop systemd service workaroundDenys Dmytriyenko2-37/+0
Latest TI graphics package uses udev rules to initialize the driver and does not install legacy SysVinit rc.pvr script unless udev isn't available. No need for systemd service workaround anymore. Bug-AGL: SPEC-4723 Change-Id: I3ce5d270357578086152d87fb2cf91512691e1a9 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28740 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-03meta-ti-bsp: mesa: drop unneeded bbappendDenys Dmytriyenko1-7/+0
Latest TI graphics libraries for SGX and Rogue GPUs no longer include Mesa pieces, but rather build on top of proper Mesa packages (although patched). Remove local bbappend disabling GBM. Bug-AGL: SPEC-4723 Change-Id: I8a4ba82d0e7540d6fe2da7efdcefab7a2dc77c6b Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28739 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-03weston-ini-conf: Add grpc-shell-server to no-activate iniMarius Vlad2-0/+7
This embeddeds the grpc-proxy configuration file into the no-activate configuration file, rather than creating a new no-activate-grpc-proxy, or no-activate-landscape-grpc-proxy. The grpc-proxy.cfg file is just a rename of grpc-server.cfg from meta-agl-demo/ tree, introduced with 1b347d8823, '[weston-ini-conf] Fix dependency issue with grpc in meta-agl-core'. Bug-AGL: SPEC-4776 Change-Id: Ie6183887cdb7b6e3f7cb431f01edb8da75e05946 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28738 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-28files/group: add sgx group with static ID for new systemdDenys Dmytriyenko1-0/+1
Yocto Project 4.0.9 now comes with systemd v250, which uses sgx group: https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=3fd47697df858d4093d9cb4c6a378fc07aa4d064 Note: here sgx is not related to Imagination PowerVR GPU, but rather means Intel Software Guard Extensions: https://en.wikipedia.org/wiki/Software_Guard_Extensions Bug-AGL: SPEC-4768 Change-Id: I3f8656b5e859f1126388f52d9f8b54bfac0734a7 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28720 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-27Add templates for gitlab issues and merge requestsJan-Simon Moeller2-0/+4
Notify users to use jira.automotivelinux.org and gerrit.automotivelinux.org in the default messages. Bug-AGL: SPEC-4774 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I05f485dd60d89839f6e64602b55f170fbbb58515 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28715 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account