Age | Commit message (Collapse) | Author | Files | Lines |
|
We don't really support section entries with the same name, so rather
than appending a new key entry value under the same section, use sed to
edit the configuration file in place.
Fixes 6a8a33f99a66ae1
Bug-AGL: SPEC-4528
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I12b982dd7e6dd8d11e5fb373c8cba0b1e762c485
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28019
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>
|
|
This patch adds a way to tick dynamically activate-by-default to false,
and provide a safe migration towards disabling by default activation
entirely.
We do this with just only the Qt toolkit and will proceed with
WAM/chromium once that has support as well for this.
Bug-AGL: SPEC-4528
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3573ea92d3ea865db223bd01e58b9ec202cfa7ae
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27990
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
This SRCREV bump update for the AGL compositor includes two new protocol
updates, one that adds two new events, specifically bound_ok, bound_fail
which would allow clients to determine if they're in charge of managing
panels and background surfaces. The other protocol update fixes an issue
with activation by default of applications but also paves the way to
move out bits from the agl-shell-desktop protocol to just the agl-shell
protocol.
Note that the shell client supporting the latest change of the protocol
will need to add at least add stubs for the v2 of the protocol, even if
v2 isn't required to be supported at all. Updates to version 3 of the
protocol will be required once we'll switch out from activation by
default from true to false and finally remove support from the
compositor entirely and let the shell client be the one in charge
for activation.
Additionally, this bump includes a few fixes, most notable handling
remote surface roles much better, including migration, in real time of
applications from one output to another, making possible a
back-and-forth movement of applications.
In more detail the following changes have been included:
- d08a5b2010f6e6 desktop: Do not attempt to send terminate event
- 0512e7251611e7 protocol/agl-shell.xml: Add an app_state event -- app state notification
- bb730ca304a5f6 layout: Handle dynamic application/surface movement between outputs
- b92397ef12626a shell: Remove the black curtain installed on outputs
- 372eb222b17bbc layout: Detect when an application should be migrated to other outputs
- 39c91d5ccae3b6 desktop: Avoid sending the dimensions for the first output
- a99d56dad0ad4a layout: State explicity the output
- fc783c19e6f6b9 layout: Use view's mapping once we placed the view in the hidden layer
- e1b15f95e834ac desktop: Install a black background for REMOTE roles
- bb79d12c92fa6e desktop: Include REMOTE role in initial configuration
- 3e72564852a6f3 agl-shell: Add bound_ok and bound_fail events and a default destructor
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I25c53e9d69270651cd40c7ee9ec3edce28f899a6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27989
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
This allows clients to query the output name and description name as
seen by the compositor. Previously this was only possible only with
xdg_output_manager extension but a recent update to the core wayland
protocol allows us to do just that.
Patch is posted upstream
https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/987, but
will take some time to get in, as we're in the process of a release.
Bug-AGL: SPEC-4530
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I709b941a220e9906078944ee585435df7141d448
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27949
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>
|
|
This was recently integrated into libweston 11 pre-release, and should
be removed once yocto updates its libweston version to at least 11.
For the time being we'll rely on these to have split type of windows.
Bug-AGL: SPEC-3906
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7bc5caa6126d36d843d0f00cde56c020fa3f97dc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27906
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Change-Id: I3a67f2dca0148be04d96e5261a4bef4030e93fbf
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27852
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>
|
|
When using -c populate_sdk, then the -dev packages are installed.
There is a hard dependency of the -dev package on the package.
As we have multiple subtypes here and switch using ALTERNATIVES, this
collides in this corner case.
Fix it by not creating a -dev package in the first place as
it is not needed here anyway.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I21326c9edc5cb7571ed94593eae1075cf56353db
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27841
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
|
|
Most notable in this this bump update, is the ability to receive focus
(xdg-shell and input) even though there isn't any keyboard attached in the
system. More than that, this update also includes a few fixes related to
remote apps placement to different outputs and a fix on how we activate by
default applications, in various circumstances.
Specifically, this AGL compositor bump includes the following changes:
- 2cc479fd8f3e53265 layout: Add a wrapper for adding the view to the hidden layer
- baf8a28e6329fdb6c shell: Fix a typo when adding surface to pending list
- 1797ef75adcb4c586 compositor: Allow passing continue-without-input
- c859ca5a97d53a00c shell: Make sure that app_id is valid before checking it
- 89440e0ffdfea2568 layout: Keep track of popup state to handle activation
- 89f67c5cf793bc69c compositor: Perform activation from keybindings
- 8cc1032b2f5542028 compositor: Pass flags when adding keybindgs
- 9cccfe829aab45fd2 layout: Add a way common way activate views
- 394b5da7676612600 shell: Extract some common functions
- cac00851d454fcfe6 input: Migrate ivi_seat to ivi_compositor header
- 2844fde1df83707f3 input: Remove keyboard listener keyboard focus activation
- b4a52c732dbf3863b compositor: Properly dispose of fullscreen views at shutdown
Bug-AGL: SPEC-2982
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I83fd9513114a6ffd4cb98a8506063544ccce377a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27696
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>
|
|
The following four patches are submitted in
https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27257
to fix a potential memory leak problem.
Now that Weston has been updated to 10.0,
the original memory leak problem has been solved,
and the following four patches are no longer required
Bug-AGL: SPEC-4438
Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: Ibe4191a2a902ddac9f9a32d4f6239ae5761894a4
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27665
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
|
|
A bug-fixing update, includes the following changes:
- 0b21156c3b4f0493 Fix compilation error due to missing wl_output_listener fields initializers.
- 22f8d43e58594012 Fix no reaction to 'Ctrl+C'.
- 6ebbb41822da663b Remove unneeded wl_display_flush.
Bug-AGL: SPEC-4324
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ieb68a256f891af5507e261a46e2e645ea5bf0608
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27484
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>
|
|
This SRCREV bump is a bug-fixing update: includes some fixes with
fullscreen surface roles, uses libweston's _fini calls to verify and
check-up and if cleaned up correctly when shutting down the compositor,
and finally, does some minor clean-ups.
Specifically, the following changes have been added since the last
update:
- 1304d412eb2bcefd4 shell: Do not set none role for applications w/o appid
- 43bdf9a42bac33df1 shell: Let the output destroy handler handle layer fini
- a89fbd6702dd82c4b desktop: Document the repaint schedule
- 5274f6ea9da2f119f Revert "desktop: No need to schedule a compositor repaint"
- 71deafe03f41738bf shell: Added missing layer fini calls
- 41791c9fa1839e93a compositor: Proper indentation
- 40f5e3bbfac73375b desktop: Remove dead code
- 8f85581e96bc71512 desktop: No need to schedule a compositor repaint
- c40f46aa4d2644b18 meson.build: Bump up meson version
- 7a7b46bd7040b2814 layout: Inform client to resize for fullscreen roles
- 13ac8bab43fffd002 layout: Send dimensions when setting up property as fullscreen
- 2cd345013ccaaccd7 layout: Do perform a view update transform when unmapped
- b13e185e7214218ca layout: Make the view mapped at activation completion
- 7ecc8c2ee8a776bb1 compositor: Rename activated_by_default to mapped
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3f5735fad1ea99fa6ce388fbb73796436f956bf6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27450
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>
|
|
Bumps agl-shell-activator to include the following changes:
- b1006c97511b6e6ed script/agl-activator: No need for the script
- 69bda7298f3ee3199 main: Handle agl-shell-desktop events
- 81f41152446b315b7 meson.build: Update compositor protocols version
Bug-AGL: SPEC-4324
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I46b7470f7731eaa83cf0dc0ef6e722d0124a8c82
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27384
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Remove the aglnext override that was added on the next branch to
switch the couple of affected libweston users (agl-compositor and
waltham-transmitter-plugin) to forked next branches for handling
Weston 9.0 and 10.0 changes. Now that those changes have been
merged to the master branches in the respective repositories, this
is no longer required. As well, bump the SRCREVs to pick up the
Weston update changes.
Bug-AGL: SPEC-4343
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7a4598a9e776aefa3ec7b2bf13b2e89c086c0681
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27418
|
|
Remove backport of weston-init changes done for Marlin release,
they are not required with post-hardknott releases of Yocto.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I81e32fa082df174b3a8a705ac51085176bddb4b8
|
|
Add a "aglnext" OVERRIDE in the distro configuration, and use it
to select the "next" branches in the agl-compositor and
waltham-transmitter-plugin recipes, and use AUTOREV for their
SRCREV. The latter will allow rebasing the next branches in
those repositories as next branch updates occur without requiring
SRCREV updates every time.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4f2a57fface53374d9428b5af1c6ad02edfde7eb
|
|
Update weston-ini-conf recipe to handle weston 9.0 in poky master.
The changes are to handle the flip of the meaning of 90 and 270
degree rotations in the transform option in weston.ini, and the
rename of its values to "rotate-X" instead of just the number of
degrees.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2bb316a195f7eb3733ff757a565535317db1da08
|
|
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
|
|
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>
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Changes/rework to get weston and agl-compositor starting again:
- Since an upgrade to a newer Yocto release is in the near future,
update weston-init and associated files to effectively backport
the new weston startup behavior added in 3.3/Hardknott as our
new base. The changes mean weston or agl-compositor will by
default start as a "weston" user that replaces the "display"
user that had been added previously in AGL. The goal is that
any new work done on top of this base should hopefully work
on 3.5/Kirkstone without further substantial rework.
- Add new agl-compositor-init recipe that replaces the previous
weston-init bbappend in meta-agl-demo. Having it as a separate
recipe in core so weston or agl-compositor "just work" in simple
test images seems like a better approach.
- As part of the above, drop the --log option to agl-compositor
in its command-line to address SPEC-4112.
- Add SYSTEMD_DEFAULT_TARGET definition to agl-image-weston and
in a new core-image-weston bbappend to result in agl-compositor
and weston starting automatically in the corresponding images.
This is required with the new weston-init behavior until we
upgrade past 3.3/Hardknott, when "weston" in IMAGE_FEATURES
can be used instead.
Bug-AGL: SPEC-4121, SPEC-4112
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia64894416846569abf8e744006ef26637279a895
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26782
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
GitHub is dropping unauthenticated git protocol access in
January 2022, per:
https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
While a workaround in the BitBake git fetcher is forthcoming, not
specifying protocol=https for github.com git:// SRC_URIs will start
resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade
path, go ahead and update our affected SRC_URIs. Note that this has
been done by running the scripts/contrib/convert-srcuri.py script
from latest poky, which also makes git branch specification explicit
since the git fetcher is likely to require that in the future due
to widespread switches from master to main branches.
Bug-AGL: SPEC-4126
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I1b5003a79de5283f88bb51f2decadbabeaff8ed5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26779
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>
|
|
- Create a TRANSMITTER_OUTPUT_MODE variable with a known default
- Use this to update the transmitter-output.cfg fragment
- Users can redefine this variable based on their needs
- While at it do the same for HOST and PORT
Bug-AGL: SPEC-4030
Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I32374186bdce3171a1f7ad4026e10c6448edaec6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26609
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
|
|
This bumps up SRCREV to include 'compositor: Do not allow vt-switching by default'
Bug-AGL: SPEC-4063
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I45c174499373ad8fe9a8aaadac34abc7ff723a38
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26605
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>
|
|
This is mostly the result of running a slightly customized version
of the convert-overrides.py script from poky with additional
overrides added. A few minor fixups were done by hand afterwards
during a review of the changes.
The intent of these changes is to minimize the effort to keep the
"next" branch that builds against poky master up to date and tested
in preparation for the switch to the next Yocto LTS release in
early 2022.
Bug-AGL: SPEC-4052
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia3bf63b7cb1aa1d95ada373d1a3ab56def0a125d
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26564
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>
|
|
Seems that re-shuffling of recipes missed out the transmitter-output
file when using waltham-remoting (in AGL_FEATURES).
Bug-AGL: SPEC-4047
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I589960eb13532cfaab66a6d32ca79a8628398563
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26553
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
This bump brings no functional change, it just re-factors some of the
code in the compositor to match a bit more to what upstreaming into has
in weston, and paves the way to add support for testing, and with it, to
include headless backend loading. The bump would need changes in the
recipe so it will have a couple of follows-up, to compile the headless
back-end and install a run-time shared library.
Note this change squashed headless-backend support as well to make CI
happy (Bug-AGL: SPEC-3964) and Install the run-time shared library (Bug-AGL: SPEC-3964)
In more detail, the following changes have been included:
- de7cdb0314af949 compositor: Avoid loading systemd-notify plug-in
- ae60166cd931609 meson.build: Install run-time shared library to a specific path
- 0bef8700f21b9e7 main: Split of main() from wet_main()
- 65361f9f7979056 main: Copy cmd line args and print them
- ccda88821b5bd9a main: Teach agl-compositor to load additional modules
- 61dff3ff317c4d6 main: Add support for loading the headless-backend
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I49bbb216cb723db6a104d9e2753f5ddeb9bdd9f0
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26442
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>
|
|
Bug-AGL: SPEC-4015
v2 (jsmoeller): simplify protocols recipe
v3 (jsmoeller): pkgconfig needs to be in the protocols package
v4 (mvlad): Re-phrase the commit description
v5 (mvlad): leave DEPENDS alone
v6 (smurray): Untagle commit message
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I21fa9b40ad07871b956abcbb4e79c8f5d742522c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26490
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
|
|
This adds the recipe for agl-activator/agl-shell-activator, a simple
tool that switches (already started) applications. It assumes the first
output, but can be enhanced to support use multi output if needed.
Bug-AGL: SPEC-3817
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I32f8bb246d75591cd7fc4f7d4b4047ee2b8f1b09
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26348
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>
|
|
We're only using the seat initialization parts for
waltham-transmitter-plugin so add them only there. So far there's only a
user for it (the transmitter-plugin) so it is easier to just build it
conditionally for now.
Bug-AGL: SPEC-3879
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3af5578c319c361babf3fc5497517f2b075a4271
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26244
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>
|
|
With the last SRCREV bump for agl-compositor we no longer need the patch
that made a private function, public.
Bug-AGL: SPEC-3641
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3f58f88b8b33fad5eff1812112acef00306f1cb5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26279
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>
|
|
The major change in this bump, besides some smaller fixes, is that the
compositor would send to the client (before attaching a buffer to a surface)
the initial surface dimensions, thus not needing any resizing code for the
client to handle, making this a nice optimization to have to in.
Obviously, this happens only for regular clients, w/ the client shell,
still required to handle the resizing of its buffers.
With this bump we also remove an external dependency patch (which should
come as a follow-up to this) and increase the compositor version.
In detail the following changes have been added:
- 68d184f9d541a47 meson.build: Do a release update before libweston9 integration
- 483d363b9e724a0 layout: Remove weston_output_damage dependecy
- e35c7858a788b46 layout: Fix split role sending invalid dimensions
- 80febb3fbcebe88 desktop: Tell clients to use current geometry area from start
- 46e2d5e441dfb9f desktop: Send remove event only if output and app_id is set
- d85915199c8a321 Notify about application destruction
- fd860492da6fb07 Allow unregistered applications in rba
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Iaed23aae27695db51260b7b04e3d9e0a5a053aa2
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26278
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>
|
|
Bitbake now warns if the path in the S variable definition has a
trailing '/', remove it.
Bug-AGL: SPEC-3819
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib1f24e03a0878b895b3bd08d2579b0e7b379a2b2
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26095
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>
|
|
This update is needed to allow unregistered/unknown applications in/to the
RBAModel json to be displayed. By default no application would be allowed. This
can be tweaked by modifying the weston.ini file. By default it is off/not set.
In detail this update includes the following the changes:
- fd860492da6fb07f Allow unregistered applications in rba
- 47386558dbc95387 Use parameterized constructor of RBAArbitrator
- 79bc7999332d55b7 Update architecture diagram with a small legend
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I6249fd934868b6c064cf9f183e3db5282ffdc2bf
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26024
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>
|
|
Rework to change the weston-ini-conf-landscape configuration to be
no rotation, and add a new weston-ini-conf-landscape-inverted
configuration with the 180 degree rotation that was being used as
landscape before for the cluster demo (which has an inverted screen
installation).
Bug-AGL: SPEC-3791
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia5179b26b30b484157e4d911ee07fe08f02415d8
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25993
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>
|
|
Bug-AGL: SPEC-3738
Change-Id: I7b501696bdb7ec13abe67d07c0c29128d0068ee3
Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25935
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>
|
|
- To hide unnecessary internal interfaces from user, reconstructed
public files of librba.
- Removed installation of internal header files.
Bug-AGL: SPEC-3738
Change-Id: If54a4601b65b04fedb93712906a12f78d75dd2e8
Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25934
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
|
|
The build system is able to determine if it can build support for
loading the plug-in when waltham depedency is satified. We add
that based on AGL_FEATURES.
Bug-AGL: SPEC-3601
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id7279fddc12c78472ae22a480626106a00ea30db
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25699
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
And remove waltham-transmitter_git recipe.
v6 (mvlad): plain rebase to new folder structure (actually remove
waltham-transmitter_git recipe).
v5 (jsmoeller): plain rebase to new folder structure
Bug-AGL: SPEC-3601
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie18f1c8b91e5d7a222d38b2e451de6d045c1e3bd
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25455
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
And with it, build remoting plug-in when weston-waltham-remoting AGL
feature is set.
agl-compositor will use the remoting plug-in to create a remote output
so we need the remoting plug-in built as well as weston-remoting distro
feature.
v8 (mvlad): plain rebase to new folder structure, use AGL_FEATURES
instead of DISTRO_FEATURES
v7 (mvlad): plain rebase to new folder structure
v6 (jsmoeller): plain rebase to new folder structure
Bug-AGL: SPEC-3601
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Idf591e3f6954bdaafe917e5ceb93fde134dde8db
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25454
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Update the PACKAGECONFIG line to include run time dependencies next to the compile time dependencies.
Without these there is not policy file in the image leading to:
[14:54:42.539] Sending ready to systemd
[14:54:43.126] Unable to find /etc/rba/RBAModel.json file!!
[14:54:43.126] libwayland: error in client communication (pid 851)
[14:54:43.244] Unable to find /etc/rba/RBAModel.json file!!
[14:54:43.244] libwayland: error in client communication (pid 837)
Bug-AGL: SPEC-3738
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I95052f51c24957c89aaa8da4385b7bf878eebf03
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25903
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
|
|
Bumps agl-compositor to latest changes to include support for RBA (role
base arbitration policy) and make screenshoting debug feature a bit easier.
- e1e8c07e202ffc Added rba policy implementation
- 838efcb58cbe08 meson.build: Fix building with cross SDK
- c5d2c447df7c07 main: Add activate_by_default ini option
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I6935daa51730a34dcc1bce8705409d7f6e96264b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25890
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
- Changes related to install specific file of rba,
add PACKAGECONFIG option for rba policy.
Bug-AGL: SPEC-3738
Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Change-Id: If9697fce3be8c238c363558fddec53bff5da8df6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25845
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
- Required for agl-compositor rba policy
- RBAModel.json will be install using rba-config recipe file
Bug-AGL: SPEC-3738
Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com>
Change-Id: I05244dcceb8f0ba56865ce1edf1563b90bdfbae3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25821
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|