summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
3 daysagl-compositor.bb: Bump SRCREVMarius Vlad1-1/+1
This bumps SRCREV to fix-up some spurios debug messages we're seeing when client commits its buffers. Since the lastest update the following changes have been added: - fe4f20c layout: Check for valid app_id on previous app - 7ba8fc2 src: Remove 'mapped' of ivi_surface and use the weston ones - bddc726 layout: Add missing mappedness checks Change-Id: Iff7164917b8535e66feb32f37f032bcb62aa4ba2 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30737 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>
9 daysagl-compositor-stream-pipewire: Add an artificial wait out timeMarius Vlad1-0/+5
This improves the preceived time on the receiver side to display incoming frames. In testing, the sender gstreamer pipleine starts much faster that receiver one. Besides that, the receiver client has an additional delay time when starting up as it waits for the gRPC proxy server to have a ready channel available, thus increaseing that start-up time. If the sender side starts the gstreamer pipeline prior to the receiver one, it won't actually get a frame renderered, and displaying a black screen. Users will notice that black screen for over a minute when the client (in this case tbtnavi) renders something on the screen which would also show if tbtnavi client starting just then, which in reality happpend far sooner. Any other client would alleviate this issue if they would continuously update the screen. This artifical delay would make the gstreamer pipeline start a bit later, overall improving the time when tbtnavi would be displayed on the receiver side, pretty much a few seconds after xdg-cluster-recevier started as well. Bug-AGL: SPEC-5235 Change-Id: Ib71ca64212dc37314ccab3d33fbb6ad0400be828 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30681 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
9 daysAdd PACKAGECONFIG for drm lease patch to agl-compositor recipeNaoto Yamaguchi1-0/+1
The drm lease support patch for agl-compositor is mantaind out of tree patch around passed years. It was cause some break of container build. A drm lease patch for agl-compositor merge into agl-compositor tree. This patch move PACKAGECONFIG from meta-agl-drm-lease to meta-agl. Bug-AGL: SPEC-4889 Change-Id: I01ef036b90038cfa038418b9586d06931056da78 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30682 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
9 daysagl-compositor: Bump SRCREV to enable drm-lease supportNaoto Yamaguchi1-1/+1
Since the last update, the folowing changes have been added: - 2218de5 Add drm-lease support Bug-AGL: SPEC-4889 Change-Id: Icb3894dde1e5603a73aa5bb958e9b75445a6642f Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30717 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 daysweston: Add weston_get_backend_type from Weston 14Marius Vlad2-0/+80
This helper is from Weston 14 and helps identify the outputs created by other remote back-ends (like PipeWire/RDP/VNC) which we can further use to further differentiate between different types of back- ends. Bug-AGL: SPEC-5324 Change-Id: Ie7537380eaa81a4c48d4ef5c09598ab102310842 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30680 Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-12-20weston: remove pipewire from PACKAGECONFIGScott Murray1-1/+0
Appending the pipewire feature to PACKAGECONFIG here is problematic since it adds a dependency on meta-oe, breaking using meta-agl-core on its own. Remove it in favor of adding it in meta-agl-demo instead. Bug-AGL: SPEC-5325 Change-Id: I22f0c8dff578d70040786d96173e768d9cc2990a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30695 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-12-13weston-init-conf: Remove explicit backend in ini fileMarius Vlad1-1/+0
There isn't a need to explictly specify the backend, we infer it when starting up. The default backend is the native, DRM one. Change-Id: Id202080646698438754b20d4ade867b48cc589bc Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30640 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-12-13agl-compositor-init-pipewire: Add a service for streaming PipeWire outputMarius Vlad2-0/+41
This should be started after compositor starts to automatically stream the pipewire output to the target. We add it under agl-compositor-init-pipewire as they belong together. Bug-AGL: SPEC-5234 Change-Id: I884c73e0d33045284224f439685a19990b1fcebc Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30638 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-12-13agl-compositor-init: Use no ordering for picking the last available drop inMarius Vlad1-1/+1
This renames agl-compositor.conf to 01-agl-compositor.conf to allow the last available drop in to be used. Otherwise we risk this to be last one available. Bug-AGL: SPEC-5235 Change-Id: I8518fc17826dd9518dd62218c65639695c6e7eb4 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30646 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-12-13agl-compositor-init-pipewire: Add a new packageMarius Vlad2-0/+28
That will enable both DRM+PipeWire backends. We depend on agl-compositor-ini as that contains the original systemd unit service, and it installs on its own a system drop in service file. Bug-AGL: SPEC-5235 Change-Id: I0a8319e979217275b1e29cc3aa6c12986639ddd8 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30619 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-12-13weston_aglcore.inc: Always build the PipeWire backendMarius Vlad1-3/+4
We need the PipeWire backend in agl-kvm-demo but it might be useful in other builds as well, so let's build it by default. Other users can just include the package when they require it. Furthermore, with this change we remove weston-remoting and with it we no longer build remoting plug-in when agl-weston-remoting feature is supplied. Bug-AGL: SPEC-5235 Change-Id: I140c46aa33ce832100f4e696aa3bcfef6d43522a Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30611 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-12-11agl-compositor: Bump SRCREV to get a few hot-fixesMarius Vlad1-1/+1
Bump SRCREV for picking up some hot-fixes related to PipeWire backend loading. Since the last update, the folowing changes have been added: - 0824eb5 compositor: Read modeline for PipeWire output - 71da04c compositor: Don't leak ivi_backend upon failure to load backend Bug-AGL: SPEC-5235 Change-Id: I848fae966a81ba7d957cacef12d7f5a2d81996aa Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30650 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2024-11-29agl-compositor: Bump SRCREV to pick-up latest changesMarius Vlad1-1/+3
This introduces a bunch of new features to the AGL compositor. Specifcally, the ability the load multiple backends at the same, and we have added support for PipeWire back-end. This allows streaming of output with Pipewire and using VNC/RDP for relaying input back the compositor, a functionality we had previously with Waltham. Some other changes is that we should be ready to use libweston 14 when that arrives. With this release we've now removed agl-shell-desktop private extension in favor of using gRPC proxy API. We also removed remoting plug-in in favour of using PipeWire for streaming. In more detail the following changes have been added, since the previous update: - 896f27c meson.build: Update meson version to 1.0 - 76a2aad clients/stream-pipewire-output: Add script to stream PipeWire output - 57099d3 layout: Move the logging and activation at first mapping - c8f2664 compositor: Add support for loading multiple back-ends - de6dfd2 compositor: Add support for loading PipeWire backend - 2487a38 compositor: Remove loading of remoting plug-in - c023bf5 desktop: Remove notification for mapping first time - f2ebad3 compositor: Remove agl-shell-desktop extension - d60ccb8 layout: Use weston_view_move_to_layer when adding to hidden layer - bb22f78 layout: Use weston_view_move_to_layer helper for de-activating views - 6d88952 layout: Use weston_view_move_layer for all other surface roles - c48b210 layout: Update layout to use weston_view_move_to helper - b6f811c layout: Update layout to use weston_view_move_to helper Change-Id: I90975e6e194b757507f8bc7433ab6e9debc3a8d2 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30595 ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2024-08-26agl-compositor: Bump SRCREV for agl-compositorMarius Vlad1-1/+1
Another bump for agl-compositor to pick up another fix for agl-kvm. In detail the following changes have been pushed since last SRCREV update. - c8ffca8f9c67114ca4 compositor: Add option to disable black curtains - ffe9193e75c998146b compositor: Align to the right the remoting output Bug-AGL: SPEC-5230 Change-Id: Idcd11d6cae69ed3b0df7637bd92965bc25e16ba0 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30225 Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp>
2024-08-01weston: remove upstreamed patchScott Murray2-61/+0
Remove weston patch that was included in the 13.0.1 release. Bug-AGL: SPEC-5218 Change-Id: I5dafa900b73e4594630ffceee2bb2918c1322eb0 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30155 Tested-by: Jenkins Job builder account
2024-07-31agl-compsitor: Bump SRCREV for agl-compositorMarius Vlad1-1/+1
This is just for picking a single fix for multiple outputs as seen with agl-kvm builds but as well when having multiple output connectors. In detail, since the last update: - c1610846f53a0d722da9 layout: Don't assume we have background surface set-up Bug-AGL: SPEC-5205 Change-Id: Ie4d9b0fd233774abdb37fc00d1dfa2ad0b6c50c1 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30148 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2024-07-30weston: Port small fix for always creating a hash tableMarius Vlad3-0/+85
This is a attempting for SPEC-5208 which brings in two changes from Weston main, which could potentially fix the issue. Bug-AGL: SPEC-5208 Change-Id: I7d350797bddae9e3aef1ab7c8816f8269f2a14e7 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30138 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-06-24weston-ini-conf: do not enable gRPC proxy by defaultScott Murray1-1/+2
Since building the agl-compositor gRPC proxy is only enabled when using meta-agl-demo, referencing it in the default Weston configurations when building meta-agl-core standalone is less than ideal. To avoid this, refactor the WESTON_FRAGMENTS variable to use a WESTON_FRAGMENTS_BASE variable for the non-display fragments, and drop "grpc-proxy" from it. The bbappend in meta-agl-demo can now just append it WESTON_FRAGMENTS_BASE to get the desired end result for the demo images. Bug-AGL: SPEC-5183 Change-Id: Ia351212023d1e426acc5be23a21b3de84660a024 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30006 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2024-05-22weston-ini-conf: (re)move Weston remoting supportScott Murray3-35/+10
Remove the support for generating configuration for the Weston remoting feature based on the weston-remoting DISTRO_FEATURE from our weston-ini-conf recipe and bbappend. Handling this has been moved from meta-agl-core to meta-agl-demo. As well, the agl-weston-remoting setup feature dependency on agl-demo has been removed as it is no longer required. Bug-AGL: SPEC-5138 Change-Id: I5a5e58dd9097e940d3925bf60ce4e1283d6529b9 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29902 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit 6919021006da1d42af9d588afded43ad35df8fcf) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29865
2024-04-26agl-compositor: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 18e93ca compositor: Use stdint for specifing integer storage 6366348 clients/screenshot: Add support for weston output capture d2510f1 compositor: Fix wet_process cleanup on compositor shuwdown 8e20d1c compositor: fix building with RDP disabled 18607e2 compositor: Add support for building Xwayland 50f3305 compositor: Fix RDP loading code 1624519 compositor: Fix loading nested X11/Wayland backends 4ac5ed1 compositor: Add more error messages 7ec377f layout: Fix panel initialization with no weston surface 8280cd4 compositor: Re-work the DRM and other backends loading phase ec6f2d3 layout: Migrate the layout save/restore to a more useful place 612ffac compositor/build: Remove HEADLESS backend 71f98b4 compositor: Don't reuse weston_compositor_create_output 780661c layout, shell: Use implicit layer move to add views to layers d27a207 compositor: Fix RDP and HEADLESS backends loading bf7c3de compositor: Adapt loading to latest version 0ca7f35 src: weston_process renamed to wet_process 48124d4 src: weston_compositor_load_backend now returns backend 6d27203 src: use weston_coord_* structures a0e1135 meson.build: update for weston 13 3ab2ba0 compositor: Fix building when x11 is not enabled a6ffcf3 meson.build, src: update for weston 12 7f8195b src: Make sure we don't die out when performing output hot-plugging 5921bee meson.build, src: update for weston 11 9da1611 meson.build: Fix wayland-scanner detection Bug-AGL: SPEC-4578 Change-Id: Ia67a208b4f76f92df9ec0448bca77e4b3c5e736a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29851 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-04-26weston: Add fix for using layer_entry_remove directlyMarius Vlad2-0/+61
Patch was proposed initially with a different fix upstream but was changed a bit later. Bug-AGL: SPEC-5105 Change-Id: I3fb6cc3d4a7b2a63b4296a2d36a998a55ccb8bc5 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29817 Tested-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2024-04-26weston: Remove unused patchesMarius Vlad2-259/+0
These have been fixed upstream so we can remove them entirely. Change-Id: I1be9aee59ae585b362667e5f9d101fd432327b54 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29818 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Scott Murray <scott.murray@konsulko.com>
2024-04-26weston: update bbappend for weston 13Jan-Simon Moeller2-3/+2
Update the bbappend to match latest YP versions. Bug-AGL: SPEC-5057 Change-Id: Ia123a68b55f2ba7cc2c7f292fcdb4d670f4509e1 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-04-26weston: Handle no pointer eventMarius Vlad2-0/+31
This should fix weston-stacking crashing if there's no pointer surface due to not getting any pointer event. There's an implicit assumption that we have pointer events if we also have keyboard input focus which in AGL shell we don't have. Bug-AGL: SPEC-4916 Change-Id: I2b043108bf41307779bf683f2685701653c1117f Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29263 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-04-26weston: Fix toytoolkit rotation missing from libweston12Marius Vlad2-1/+36
Turns out we missed a fix for libweston12, which we should've included it. Carry the fix until a new libweston12 point release will released. Bug-AGL: SPEC-4915 Change-Id: I77cda5ff5b19b5cd15cd2b82548a4af6a06ac32a Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29257 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-04-26weston: update patch for libweston for version 12Denys Dmytriyenko1-13/+13
Update libweston patch to apply to weston version 12 Bug-AGL: SPEC-4578 Change-Id: I25d808abc3082c504fe6df734df09601d1c761f0 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-04-26meta-agl-core: updates for Weston 12.0Jan-Simon Moeller4-259/+2
Rename local bbappend and remove backported and unused patches. Bug-AGL: SPEC-4850 Change-Id: Ibc61b7905611eb2a124c7339e8a4d0b3981d276c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> [patches updated] Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-04-24weston: handle upgrade to 11.0Scott Murray4-250/+2
Changes: - Renamed local bbappend for weston to handle upstream upgrade to 11.0.0. - The local PACKAGECONFIG definitions have been removed as they are now present upstream. - Removed backported patch. Bug-AGL: SPEC-4578 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3dc3c7042bf2ce8058df30ccd691232bf1d2a442
2024-04-16native-shell-client: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 099e06f Update agl-shell protocol version 2c4b60f Add gitlab issue/merge request templates Bug-AGL: SPEC-5110 Change-Id: I1725475b08e4bbfd536356c3e39ea64184a3baf8 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29837 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2024-03-07agl-compositor_git.bb: Bump SRCREV for agl compositorMarius Vlad1-2/+2
This SRCREV bump includes the split window functionality with gRPC as well as the ability to load the RDP backend. In more detail the following have been added since the previous bump: - d5ecd12729734b788 meson.build: Do another version bump - 45b9e2fc90aec09d1 compositor: Avoid compiler warning and build failure - e9ee3fd914b73019c meson.build: Bump version to 0.22.3 - 54631603ff050cb01 compositor: Add support for loading width/height/transform - a2a302d8aadc1afda main-grpc: Fix iterator going invalid at destruction time - e7ccf51adc37748d3 compositor: Add the ability to load rdp-backend.so - 754636273ffc6b872 layout/shell: Keep track of previous role - 16d8d1af63ea1bbda layout: Added sticky implementation for split windows - 3d6199ee18b4807a8 shell/layout: Add implementation for the width param - 70a2d75e8e35d94bf src: Don't attempt to split background role window - 000b725db81ae79ff grpc-proxy/shell: Add sticky parameter when setting up split window - b87f46acc5b0b252e grpc-proxy/shell: Add width for split window - 083ee3d2b88f49612 layout/shell: Reset split type of windows - 1cbb6bdec4d1c0440 shell: Reset active view to allow further activation - 594b5d1c6e1bc7eb8 layout: Specify the reason for not activating windows - 3f2cdeae25429b846 grpc-proxy: Extend AglShellSetSplit from gRPC proxy - 09fa5536e759792c8 layout/shell: Add basic support for split window - 8a7f3fbbf0fd94bb1 Add gitlab issue/merge request templates Change-Id: I61a3f9b553ed1416849dc5a1dccdcf1be7de6ee3 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29710 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-01-04agl-compositor_git.bb: Bump SRCREV for fixesMarius Vlad1-1/+1
This SRCREV bump includes a couple of fixes for avoid a hard-to-catch race between the gPRC proxy client the shell client. The update simplifies the whole "conversation" between gRPC client and the compositor. In more details the following changes have been added since the previous update: - e3f8379e48433d grpc-proxy: Add a prefix tag for debugging messages - ae3ef78cb1a01b grpc-proxy: Re-work bound_ok/bound_fail events handling - 071440ef54444c shell: Provide a better explanation for terminating the connection Bug-AGL: SPEC-4977 Change-Id: I6420441e7379f42c0455ffb78e3ea2867b5e332e Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29576 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2023-12-17agl-compositor_git: SRCREV bumpMarius Vlad1-1/+1
To pick up the latest fix for agl-compositor. It's a simple fix for setting up applications on different outputs. Change-Id: I63118c793faf0e7a4e68bfd15719c6939cca964d Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29538 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-12-17weston-ini-conf: Rename from TRANSMITTER to REMOTINGMarius Vlad1-6/+6
Just a rename as transmitter no longer exists. Change-Id: I719993864888aba54875227718549c3cb5b125e0 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29537 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>
2023-12-17transmitter-output.cfg.in: Remove the fileMarius Vlad2-10/+0
We no longer have the transmitter plug-in so remove the config file and the references from weston-ini-conf.bb Change-Id: I982dd2cda36166852f36c7edd9371d80a4d8c2bf Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29536 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-11-22native-shell-client: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 43c9077 Bump agl-shell protocol version Bug-AGL: SPEC-4973 Change-Id: I31f65e33a623b7ea6885d23e41d5c1bf4e583d93 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29457 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Marius Vlad <marius.vlad@collabora.com> ci-image-boot-test: Jenkins Job builder account
2023-11-16recipes-graphics/wayland/agl-compositor_git.bb: Bump SRCREVMarius Vlad1-3/+5
This SRC_REV bump updates the gRPC proxy API to address some start-up issues we're seeing when switching the qt homescreen shell client to using the start-up + activation procedure rather than relying on the wayland protocol to do that. A smaller fix for restarting the compositor, as well as functionality to dynamically move windows with it and scale windows was added in this update. The recipe changes does include a version bump for the compositor as well, making it easier to track down the compositor version. In more detail, the following changes have been added since the previous update: - bdc551314dc5 meson.build: Bump version to 0.0.22 - be197db866b8 grpc-proxy: Use smaller waiting time - 73e82a6f346d grpc-proxy: Start the gRPC server and waiting thread much sooner - 53b470c60986 grpc-proxy: Fix missing args LOG() - 0d2e33ded529 grpc-proxy/main-grpc: Don't fall trough assuming we have a wl_display - 994d8a30b27f grpc-proxy: Don't attempt to connect if there's no compositor running - d8e72099ecbc grpc-proxy: Terminate thread when we're exiting - ca537df2c529 grpc-proxy: Add dynamic scale of floating windows - 2edba91d3eab grpc-proxy: Add dynamic floating window movement Change-Id: Ic07b11e6334f14f60a1d71e48347a3d66f07b823 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29405 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-11-05weston-ini-conf: disable locking and idle timeoutScott Murray2-1/+2
Disable screen locking and the idle timeout in our weston.ini shell.cfg and core.cfg fragments, respectively. This makes the default configurations more useful for applications like the agl-ivi-demo-control-panel image, where there is only one fullscreen application running. These changes should only affect Weston based images using the desktop or potentially kiosk shells, and will have no effect with agl-compositor. Bug-AGL: SPEC-4952 Change-Id: I947e6f691f0acd4e9d4e3f8583210ec79edcfdb5 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29341 Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-27Add templates for Sifive unmatched boardJan-Simon Moeller1-0/+2
This adds the templates to build for the sifive-unmatched board. Currently we have to tweak the layer.conf to enable kirkstone to build. v2: Simplify addition and add patch to agl-compositor for -latomic v2: rename template to just the boardname to match all other boards v3: Drop patch and use LDFLAGS:append:riscv64 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" Bug-AGL: SPEC-4909 Change-Id: I6b6fd9e7f316c66c5a9160318c64028faf8f5dea Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29234 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-04Add attention description for service file changeNaoto Yamaguchi1-0/+4
When integrate some service in guest container, that need to drop tty dependency. AGL compositor has tty dependency at default. This dependency drop using drop-in config in meta-agl-demo layer. This patch add attention description for service file change to avoid break. Bug-AGL: SPEC-4888 Change-Id: Iaeae73b6d81c87f4d61d5829f49e8ab01f84a3f6 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29174 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-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-06-29meta-agl-core: add Upstream-Status tag to patchesJan-Simon Moeller5-0/+11
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-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-agl-core: fix polkit dependenciesScott Murray2-1/+6
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-12Remove systemd user session and clean up packagegroups and imagesScott Murray6-19/+141
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 Moeller5-0/+30
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-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>