summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-03-29meta-agl-core: update westonScott Murray9-340/+11
Update weston bbappend for weston 10.0 in poky master, and remove now upstreamed patches. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5d10435ec9b7c18bb36e8a88f6853f1628e5b052
2022-03-29meta-agl-core: update systemd patchesScott Murray3-142/+0
Remove patch for now upstreamed fix. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2f4441e8936df72edea2b1256fd06bed6fd8c2b1
2022-03-29Declare layer compatibility with kirkstoneScott Murray7-7/+7
For tracking upstream, we need to update the layer compatibility. Bug-AGL: SPEC-3819 Change-Id: Ic1bc22653e59b2891d77d44cdd409a805e5cc332 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-03-24pipewire: Backport crash fixScott Murray2-0/+121
Backport revert done post-0.3.47 to fix crashes seen in MPD. See upstream discussion here: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2147 Bug-AGL: SPEC-4294 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I48bf5bc632ad50daa43a3e8125ec8885f7f3a537 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27297 Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com> 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
2022-03-23Master branch is now needlefishJan-Simon Moeller1-2/+2
With the 'marlin' release branch being cut, master is now open for changes to the upcoming 'needlefish' release. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ifdae048c4b89a6dc7acf9e26cdfc0f123e0e0230 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27273 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2022-03-18wayland/agl-compositor_git.bb: Bump SRCREVMarius Vlad1-1/+1
Another bump update for agl-compositor, addresses a small issue found while using the cursor + some left-overs which have been added with the previous update. Since the last SRCREV update, the following changes has been added: - cec4cf8fe409c layout: Address all other callsites w/ dirty+surface damage - 62e020b90b062 layout: Inflict surface damage - b06ffcc3ca1ed layout: Remove left-over comment - f24765124d3a5 Fix potential memory leak - 9cc8100eef72b meson.build: Don't set the dependency type for wayland-scanner - 26c37c4140ce5 Fix potential memory leak Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id2ba7019777da1c06fdecec5a174c8bfeae1a7f3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27252 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>
2022-03-18Fix potential memory leak of two pointers (xwayland and client)duerpei5-0/+324
This backports four patches from weston to solve a memory leak problem These four patches are: https://gitlab.freedesktop.org/wayland/weston/-/commit/5a6604a7a2e52e5cd84c1f53724b3f7c325b5dff.patch https://gitlab.freedesktop.org/wayland/weston/-/commit/f53c05d3c2c19c139c52e9bd621c2654dd3dac69.patch https://gitlab.freedesktop.org/wayland/weston/-/commit/e2583ca0844bd7a8ce4fc94da9ad67edf49ffd45.patch https://gitlab.freedesktop.org/wayland/weston/-/commit/8740037a93c7c4400cc381ecf3009d1e4014be07.patch The following is the valgrind log: 160 bytes in 1 blocks are definitely lost in loss record 39 of 66 at 0x484B64C: calloc (in /usr/lib/valgrind/vgpreload_memcheck-arm64-linux.so) by 0x4A73C87: ??? (in /usr/lib/libweston-desktop-8.so.0.0.0) by 0x4A7184F: weston_desktop_create (in /usr/lib/libweston-desktop-8.so.0.0.0) by 0x487096B: ivi_desktop_init (in /usr/lib/agl-compositor/libexec_compositor.so.0.0.0) by 0x486F5E7: wet_main (in /usr/lib/agl-compositor/libexec_compositor.so.0.0.0) by 0x48B010F: (below main) (in /lib/libc-2.31.so) In agl-compositor/src/composiotr.c "ivi->desktop->compositor->xwayland" is zalloced by wet_main()->ivi_desktop_init()->weston_desktop_create()->weston_desktop_xwayland_init() "ivi->desktop->compositor->xwayland->client" is zalloced by wet_main()->ivi_desktop_init()->weston_desktop_create()->weston_desktop_xwayland_init()->weston_desktop_client_create() "ivi->desktop->compositor->xwayland" and "ivi->desktop->compositor->xwayland->client" The memory pointed to has not been released Now, I want to free the memory pointed by the two pointers. What can do this is the function of weston_desktop_xwayland_fini() in 0003-libweston-desktop-add-weston_desktop_xwayland_fini.patch And the submission of this patch depends on the first three patches, so I submitted these four patches. Bug-AGL: SPEC-4291 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I3b1140e88eadad9e378c2bb43221026e280ecd90 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27257 Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2022-03-16Update distro configuration after releaseJan-Simon Moeller1-2/+2
Stabilization cycle open for Magic Marlin (final) 13.0.0 . Bug-AGL: SPEC-4268 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ifb3b39670535ea4014768e4bcde3d78770c660de Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27267 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-03-05Fix potential memory leakmarlin_12.93.0marlin/12.93.012.93.0duerpei2-0/+35
Bug-AGL:SPEC-4259 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I4be57103eee67d64893baccf878d2dbebd1f9cf5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27219 Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp> 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
2022-03-05Disable CONFIG_RELAY on BBE boardJan-Simon Moeller2-0/+2
The config option does provoke an Internal error at runtime. Disable it for the BBE. Bug-AGL: SPEC-4156 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I9c6c8a1279a3c4f40c383e036251f51bb4e9fc8e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27240 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-03-05pipewire: Update pw to v0.3.47 and wp to v0.4.8Ashok Sidipotu20-281/+2719
Highlights of Pipewire. - Removed check and warnings to catch leaked listeners on the proxy. - Fix critical bug where alsa devices would not show when the kernel was compiled without VERBOSE_PROCFS - Almost all limits on number of ports, clients and nodes are removed. - Many more bug fixes and imporovements. Highlights of Wireplumber. - Added bluetooth profile auto-switching support between A2DP and HFP modes - Better default audio sources and sinks selection - Backported a fix for a known issue with selecting the default devices on top of 0.4.8 (ae6c9a5e) - Many more bug fixes and imporovements. Change-Id: Id5414aed065593893a237437a8c77645cbf15804 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27220 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-03-02meta-app-framework: depend on weston-iniJose Dapena Paz1-1/+1
To allow different default layouts depending on target or kind of demo make app framework layer depend on weston-ini instead of the default one. This allows HTML5 demo, that runs in landscape, to initialize properly. Bug-AGL: SPEC-4250 Change-Id: I199a2bf27f65094fbebf62976c33968ce3841aaa Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27236 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
2022-02-26Update distro config for Magic Marlin Milestone 3Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-4268 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1e6216aa00b907fdadff757b4d13008c1b6b6cd2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27222 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-02-24meta-rcar-gen3/recipes-kernel: Add v4l2 vivid moduleMarius Vlad2-0/+7
Testing out video streaming would be much more easier if the vivid module was there to be used in the first place. Bug-AGL: SPEC-4244 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I423499c1cc67fa55585af88308312883a80a9d29 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27131 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>
2022-02-17Post-release update of distro configurationJan-Simon Moeller1-2/+2
MM m2 is out. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If2b8c67600fbd4a62c03ec4bb8268b00d81962a3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27207 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-02-17Remove IMAGE_FEATURES setting from agl-image-westonJan-Simon Moeller1-2/+0
This should be set down in the final images if required. We do not need it in the core image that will be reused. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic694e5a3209336adbb6e558ceb205c7cc306b8d8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27168 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>
2022-02-15meta-agl-bsp: BBMASK out rcar3 base-files and systemd modificationsScott Murray1-0/+4
To avoid breaking changes to systemd-tmpfiles' default behavior, disable the base-files and systemd bbappends in meta-rcar-gen3 with BBMASK. The changes in the BSP seem aimed at fixing an issue with a particular NFS root configuration that does not apply to upstream AGL, and break the documented expected behavior of systemd-tmpfiles with respect to configuring files/directories under /var/volatile. Additionally, this potentially improves shared state reuse across aarch64 machine builds. Bug-AGL: SPEC-4256 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I03807d2190a963f8cdf303d07f00fc1c099d230e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27200 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-02-15[RCAR] Update RCAR BSP to 5.9.0Ronan Le Martret2-17/+18
Update driver for the new RCAR BSP v5.9.0 From files: R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20220121.zip R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20220121.zip From URL: https://www.renesas.com/us/en/products/automotive-products/automotive-system-chips-socs/r-car-h3-m3-documents-software Bug-AGL: SPEC-4234 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ic7487f15502825747a2dd121b4aee61dc194d00c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27161 Tested-by: Jenkins Job builder account ci-image-build: 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>
2022-02-07Prepare Magic Marlin Milestone 2marlin_12.92.0marlin/12.92.012.92.0Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-4245 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If45ab3bab534233d5eb5ee608e08b50b8769852a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27157 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-02-07pipewiresink: set a default channel map if the number of channels is fixedAshok Sidipotu2-0/+78
-This allows remaping streams using pipewiresink to match the channel layout of the target device Bug-AGL: SPEC-4241 Change-Id: I4090187dc9977fc3d0ee440b601cb95f6864a9cf Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27130 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
2022-02-02[RCAR] Fix block device performance decreasedRonan Le Martret2-0/+3
* After the RCAR BSP 5.5.O, the block device performance decreased. The root cause is a change in the default kernel configuration of the BSP (CPU Frequency scaling) from (RCAR BSP 4.7.0): CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y \# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set To its new default (RCAR BSP 5.5.0) \# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y You can check current value at runtime using: cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor cat /sys/devices/system/cpu/cpufreq/policy4/scaling_governor To mediate the regression we do switch back to the PERFORMANCE governor. Bug-AGL: SPEC-4205 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I6d19d92dae9dd8c7977e2034215fce07d8318773 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27108 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2022-01-31meta-agl-bsp: meta-sancloud: Revert problematic kernel commitPaul Barker2-0/+49
Linux 5.10.y commit 4b21d4e820bb causes a backtrace to be printed on boot: [ 3.244915] ------------[ cut here ]------------ [ 3.249608] WARNING: CPU: 0 PID: 1 at block/blk-mq.c:3045 blk_mq_release+0x78/0xe8 [ 3.257337] Modules linked in: [ 3.260422] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.65-sc1 #1 [ 3.266670] Hardware name: Generic AM33XX (Flattened Device Tree) [ 3.272822] [<c010e880>] (unwind_backtrace) from [<c010b2bc>] (show_stack+0x10/0x14) [ 3.280681] [<c010b2bc>] (show_stack) from [<c0129160>] (__warn+0xec/0x104) [ 3.287740] [<c0129160>] (__warn) from [<c0b16b34>] (warn_slowpath_fmt+0x64/0xc8) [ 3.295302] [<c0b16b34>] (warn_slowpath_fmt) from [<c04ef948>] (blk_mq_release+0x78/0xe8) [ 3.303580] [<c04ef948>] (blk_mq_release) from [<c04e20f4>] (blk_release_queue+0xb0/0x120) [ 3.311889] [<c04e20f4>] (blk_release_queue) from [<c0573b84>] (kobject_put+0x90/0xfc) [ 3.319900] [<c0573b84>] (kobject_put) from [<c04f4eb8>] (disk_release+0xa0/0xd8) [ 3.327441] [<c04f4eb8>] (disk_release) from [<c06f8c30>] (device_release+0x30/0xa0) [ 3.335232] [<c06f8c30>] (device_release) from [<c0573b84>] (kobject_put+0x90/0xfc) [ 3.342929] [<c0573b84>] (kobject_put) from [<c072c474>] (nbd_dev_add+0x20c/0x260) [ 3.350551] [<c072c474>] (nbd_dev_add) from [<c112aa0c>] (nbd_init+0xfc/0x11c) [ 3.357824] [<c112aa0c>] (nbd_init) from [<c0101ef0>] (do_one_initcall+0x44/0x26c) [ 3.365445] [<c0101ef0>] (do_one_initcall) from [<c11010b8>] (kernel_init_freeable+0x1c4/0x224) [ 3.374196] [<c11010b8>] (kernel_init_freeable) from [<c0b23ad0>] (kernel_init+0x8/0x120) [ 3.382411] [<c0b23ad0>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c) [ 3.390023] Exception stack(0xc18dffb0 to 0xc18dfff8) [ 3.395106] ffa0: 00000000 00000000 00000000 00000000 [ 3.403329] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 3.411542] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 3.418203] ---[ end trace de955d2022fa8082 ]--- This commit was reverted in Linux 5.10.66 but the Sancloud kernel tree is based on Linux 5.10.65. For now we can simply carry the patch to revert this change in meta-agl-bsp. Bug-AGL: SPEC-4156 Signed-off-by: Paul Barker <paul.barker@sancloud.com> Change-Id: I448037f3273c6ee249facb14c42fe93fbfd0c27b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27120 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>
2022-01-30meta-app-framework: add agl-driver to pipewire groupAshok Sidipotu1-1/+2
- Update agl-session recipe to add agl-driver to pipewire group - Apps in the new framework can access pipewire services if agl-driver is a part of pipewire group. Bug-AGL: SPEC-4210 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Change-Id: Iba3856006b36c0182aaa0e36e8e98f85d9c49af3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27100 Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@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
2022-01-30config: fix wireplumber config issuesAshok Sidipotu2-3/+8
- AGL project not to take the wireplumber project upstream config files which are recently moved to /usr/share/wireplumber/. - create-items.lua to be loaded with correct arguments. Change-Id: I57200755d749e2222e90996cc034f66baca5568a Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27099 Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-01-30policy: fix record not workingAshok Sidipotu1-1/+11
Define a capture endpoint to get record working. Change-Id: I3356736676bf112249b078ffeb16548cfa3daea3 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27073 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> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27092 Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-01-30pipewire: update to pw 0.3.43 and wp 0.4.7Ashok Sidipotu10-55/+1447
Change-Id: I3e478f5e1215d128f0d76ffb2b18c278d90de266 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27022 Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-01-19meta-agl-core/recipes-graphics/wayland: Backport two fixes for libweston-8Marius Vlad3-0/+86
This backports two small fixes for some potential libweston crashes happening on the DRM backend tear down, or EGL initailization failure paths. Bug-AGL: SPEC-4197 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reported-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idc28bb7ef6d8fde8c149bb5eb35a2ba40a25706a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27068 Tested-by: Jenkins Job builder account ci-image-build: 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>
2022-01-19agl-compositor.service.in: Add default EnvironmentFileMarius Vlad1-0/+1
Debugging compositor protocol requires passing environmental variable to the compositor. This adds /etc/default/agl-compositor file which was in the past under /etc/default/weston filename, for this same purpose. Bug-AGL: SPEC-4219 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ia6231c6360625f0e194a246d0c392a0a05e8a5d9 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27084 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-01-19recipes-graphics/wayland/agl-compositor_git.bb: Do another SRCREV bumpMarius Vlad1-1/+1
As it seems I've broken the screenshoter for single ouputs, this bump is necessary to get it working again in CI. Specifically this bump includes the following changes: - 2ee86feebc8888d client/screenshooter: Compute the width/height for a single output - 838df78fe94e5bb agl-compositor: Add NULL check after creating surface/view Bug-AGL: SPEC-4217 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: If5ad858d2e9aed9f8fc074f7240b54334267538c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27083 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>
2022-01-17weston_8.0_aglcore.inc: Set-up app_id for toytoolkit appsMarius Vlad2-0/+86
Necessary to allow weston-terminal to be able to set-up an app_id. Bug-AGL: SPEC-4218 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I221ed0160d33136b0fd51ce9eb1277b0ce21b815 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27085 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-01-12recipes-graphics/wayland/agl-compositor_git: Bump agl-compositor SRCVREVMarius Vlad1-1/+1
The most notable change is an update in the agl-shell protocol and with a version increase. A few other bug-fixes have also made it. Specifically, since the previous update the following changes have added: - 471a12ee38098aaa agl-compositor:Add NULL check after zalloc in src directory - 18918978ba5c0f91 agl-compositor:Add NULL check after zalloc in screenshooter.c - 6371b14eb0abbb23 agl-compositor: Correct several spell issues in the protocol xml files - 53046f8863e0320d agl-compositor: Correct several spell or grammar issues in the README.md file. - fd4708c898aafc58 layout: Remove explicit damage call - d456a0c59a316f8f layout: Inflict damage on all subsurfaces - c0bc469e505b91e0 meson.build: Bump compositor version - 9e9c768ad6360ef5 shell: Refactor pending surfaces for existing pending ones - 6d4038380b39f204 src/desktop: Add a compositor destroy listener - 5101851ecb304e75 src/shell: Add set_app_property_mode request - e4f4aef1a5b1feb9 layout: Fix-up the positions when placing the pop-up/dialog - 52df92d73985dba8 shell: Fix passing maximized state from the start - b25020f9a5055c4c meson.build: Add a waltham-transmitter pkg-config pc file - e5016cbc47b46b86 meson.build: Conditionally build with headless support - d6f64b665a39e0bd meson.build: Clarify out-of-tree build error - 5b8d4c56e7d793cf clients/screenshooter: Fix taking screenshot on multiple outputs Note that with this bump update, starting with `c0bc469e505b91e0 meson.build: Bump compositor version` all clients using the agl-shell protocol will have to be updated to use agl-compositor-protocols-0.0.20 version. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ica7bb61f16664fb74f051fd7bf2e61120cb1dba7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27074 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>
2022-01-12Update distro configuration after releaseJan-Simon Moeller1-2/+2
Magic Marlin M1 is out. Update the distro configuration. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I9c33f9adb9565b7aacc5db52efbd458d2e0511de Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27076
2022-01-10meta-agl-core: gstreamer: Add ↵Vasyl Vavrychuk3-0/+64
0001-waylandsink-Fix-xdg_shell-fullscreen-mode.patch. It is needed to make waylandsink work with AGL compositor. Patch included conditionally to pass: meta-agl-core/scripts/run-yocto-check-layer.sh Bug-AGL: SPEC-4148 Change-Id: Iebe5595e468404483d7e599c6c4a664474271988 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26981 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-12-24Prepare Magic Marlin Milestone 1marlin_12.91.0marlin/12.91.012.91.0Jan-Simon Moeller1-3/+3
Magic Marlin Milestone 1 is v12.91.0 . Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If0edb4ead565b0deac1dffe482dca5f137522995 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27062 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-12-23Refresh ptest-runner patch for latest dunfellJan-Simon Moeller1-11/+19
This fixes WARNING: ptest-runner-2.4.0+gitAUTOINC+834670317b-r0 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz] Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I47e3bbc32ad324c989b298849d3792a59ef8a606 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26978 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-12-22pipewire: update to pw 0.3.40 and wp 0.4.5Ashok Sidipotu12-242/+354
Change-Id: Ie9e3fd0a67e6a5fa38543cb9b4cc54f2e0555813 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27040 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>
2021-12-22meta-app-framework: tweak agl-driver definitionScott Murray2-1/+4
Tweak agl-driver user definition in agl-session recipe to ensure it is a member of the video and display groups (the latter has been added back to the static group file). This is required to avoid agl-compositor startup failures on rcar3. The display group membership potentially could be dropped if we were to bbappend rcar3's gles-user-module recipe to tweak its udev rules. For now, take the most straightforward approach. Bug-AGL: SPEC-4161 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7237ade5d8680655f17716ac048349a476eb5f29 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27060 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-12-21meta-app-framework: agl-session: Ensure XDG_DATA_DIRS is setScott Murray2-1/+16
Add installation of a systemd user-environment-generator scriptlet to the agl-session recipe to ensure that XDG_DATA_DIRS is set to a reasonable default value. This is required for locating D-Bus activation .service files and icons. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5d1a72022ca97f25a915b64205bf70ab33516ec6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27048 Reviewed-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-12-17meta-app-framework: recipes-core: add applaunchd recipeArnaud Ferraris1-0/+28
Bug-AGL: SPEC-4160 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I7b2d5e660625091d665727d48a45eb1b7958904e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27015 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>
2021-12-17meta-app-framework: start agl-compositor in a systemd user sessionArnaud Ferraris7-0/+100
`weston-init` installs a system service for starting the compositor. As we want it to run as a user service, this patch replaces this package with `agl-compositor-init`. This involves: - resetting RDEPENDS from `weston-ini-conf` so it doesn't pull in `weston-init` anymore - making `agl-compositor-init` RCONFLICT with `weston-init` as it's still a RRECOMMENDS to `weston` `agl-compositor-init` installs a systemd user service and socket, and ensures agl-compositor is automatically started with the user session, so the compositor is automatically started on boot. It also adds a config fragment for the `agl-session@agl-driver` service (instance of `agl-session` for user `agl-driver`) for properly configuring the TTY to use for display. Bug-AGL: SPEC-4161 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: Ifb10a206cfa97c147283bc78c46f7f09209a9591 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26975 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account
2021-12-17meta-app-framework: add new agl-session recipeArnaud Ferraris3-0/+64
For the new App FW, we want to create a systemd user session, to be started on boot, which will be used to start the compositor and all user background services. This commit adds the corresponding target and service file (enabled by default) so the session is started on boot. Bug-AGL: SPEC-4161 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I51ca7e0c1a994c6798b20b2592bec56a07f41c98 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26974 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-12-09Add placeholder variable for meta-clang additionJan-Simon Moeller1-0/+3
meta-clang is a dependency of multiple layers. Thus to avoid double inclusions, add this placeholder and indirection. To add the clang layer, you have to define AGL_META_CLANG instead of changing BBLAYERS directly. Bug-AGL: SPEC-3852 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I32ae8b5027531c3fc7a38c15ff3c0269c85ed9b8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26984 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-12-08meta-app-framework: add new AGL feature and fix buildArnaud Ferraris3-5/+3
This layer uses a new `agl-app-fw` feature to guard bbappends, so this commit declares it in the conf include and makes sure it's used when the feature is enabled. Moreover, the `layer.conf` files referenced a non-existent `licenses` folder, causing build issues. This commit fixes this by not adding this folder to LICENSE_PATH. Bug-AGL: SPEC-4161 Change-Id: I3360b0f3b36413e741de2d2d3e4a98fff1e1e8db Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26973 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
2021-12-08weston: allow weston to be started from a systemd user sessionArnaud Ferraris2-0/+76
As part of the App FW rework, we want weston to be started from a systemd user session, which is allowed by this patch (backported from upstream). Bug-AGL: SPEC-4161 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I23961eaebb65bdbdcfd8c3d01ff1941f978385ec Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26968 Tested-by: Jenkins Job builder account ci-image-build: 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>
2021-12-07meta-agl-bsp: ti: Refresh ti-sgx-ddk-km patchPaul Barker1-8/+8
After updating the meta-ti layer to the TI CoreSDK 08.00.00.004 release, the patch to the ti-sgx-ddk-km recipe (aka PowerVR drivers) needs refreshing. Bug-AGL: SPEC-4156 Signed-off-by: Paul Barker <paul.barker@sancloud.com> Change-Id: I18034ea967c96f867e30399e8f3045b066ffd2b7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26970 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-12-07Update SDK installation path variable nameJan-Simon Möller1-2/+2
Upstream YP changed the variable for the SDK installation folder. in https://git.yoctoproject.org/poky/commit/?h=dunfell&id=67dbe8a1c2b485d0cec174d28107b0ac8ea77d5f thus adapt our distro configuration. Bug-AGL: SPEC-4172 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I4e327593fe498fb44caa74e6e361631c3767d4a7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26972 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-12-02Add templates for new application framework componentsJan-Simon Moeller3-0/+7
Setup the templates. Bug-AGL: SPEC-4161 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I4ea66291413dac8ddfc98f0536afd8f823b38391 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26946
2021-12-02Add sublayer for new application framework componentsJan-Simon Moeller2-0/+53
Setup the layer and a scripts/run-yocto-check-layer.sh . Bug-AGL: SPEC-4161 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I762773107ada7263b854b2f9ea54d1f11adf1487 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26945 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-11-20Follow-up removal of deprecated recipes after appfw removalJan-Simon Moeller16-299/+0
A follow-up cleanup to the previous changes. - the aws+azure binders are deprecated in master, thus remove meta-iot-cloud - meta-security is no longer a dependency - rm agl-sota (due to meta-updater deprecation) - rm agl-sign-wgts feature - cleanup poky-agl.conf Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I274179ab1fb74b274e955bd9a3eeccccac615770 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26870 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2021-11-18Fix a couple of override syntax issuesScott Murray2-5/+5
Fix a couple of spots where use of the old-style override syntax has accidentally been added. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7f4d5b0ba0bf813f3e72b783e30cadc5ba0e030d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26874 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>