aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-graphics/wayland
AgeCommit message (Collapse)AuthorFilesLines
2020-07-14meta-agl-bsp: Update weston-ini-conf fragmentsScott Murray5-17/+1
Remove ivi-shell and ivi-extension related configuration fragments, and update the core.cfg fragment to remove related configuration, they are now unnecessary with the new compositor. Also remove commented out old gst-record tweak from the bbappend. Bug-AGL: SPEC-3469 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I67b0530c2e2929d07d2032de25d0e5e4706dbbb7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25009 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: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-05-26Cluster demo support updatesScott Murray2-6/+6
Changes include: - Add agl-weston-remoting feature that sets "weston-remoting" distro feature. The intent is to replace agl-gstrecorder in meta-agl-devel with something more generic. - Add weston remoting initialization timing patch to weston bbappend in meta-agl-profile-graphical, conditional on "weston-remoting" distro feature. - The 0004-unconditionally-include-mman.h.patch weston patch is no longer required after the SMACK labeling changes, remove it as cleanup. - Enable the weston "remoting" PACKAGECONFIG in weston bbappend, also conditional on "weston-remoting". A redefinition of the "remoting" PACKAGECONFIG option is required to fix a recipe bug that will have a fix sent upstream. - Rename virtualoutput.cfg weston.ini fragment to remote-output.cfg to better reflect its current contents. Bug-AGL: SPEC-3395 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9c0579670d81296492b3b8bed93aafb3f7ffc15c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24567 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>
2020-01-22meta-agl-bsp: remove weston and wayland-protocols backportsScott Murray7-402/+0
Remove weston 6.0.0 and wayland-protocols 1.17 backports, as they are no longer required. oe-core now has weston 7.0.0 and wayland-protocols 1.18. Bug-AGL: SPEC-2932 Change-Id: I351c44616a0f47b128e10371bf05f16b0bfe054f Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-10-20weston-ini-conf: update virtualoutput.cfgScott Murray1-1/+1
Update virtualoutput.cfg weston.ini fragment to use the 640x720 size expected by tbtnavi. Bug-AGL: SPEC-2913 Change-Id: I46abf9d6d78671772951e52e4f80cac20720edcf Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-11Update weston ini file to adopt remoting pluginHarunobu Kurokawa1-7/+4
Bug-AGL : SPEC-2420 To use remoting plugin, we should use new section in weston.ini. Example) [remote-output] name=remote-1 mode=384x368@30 host=192.168.10.30 port=5005 Man) https://gitlab.freedesktop.org/wayland/weston/blob/master/man/weston-drm.man#L149 https://gitlab.freedesktop.org/wayland/weston/merge_requests/7 Change-Id: Ifc271867dd2b1f2fe1794a08af188006f7b7779b Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-06-07Fix : do_patch waring weston 6.0.0Harunobu Kurokawa1-5/+5
Backport weston patch to Fix do_patch warning. http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch -- WARNING: weston-6.0.0-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: Applying patch 0001-make-error-portable.patch patching file configure.ac Hunk #1 succeeded at 126 with fuzz 2 (offset 17 lines). patching file libweston/weston-error.h patching file libweston/weston-launch.c Now at patch 0001-make-error-portable.patch Bug-AGL: SPEC-2499 Change-Id: If80c4e71be1f58362c78fec9ca6c2ca29d224c39 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-05-29Add weston 6.0.0 for WM and HS rewriteJan-Simon Möller7-0/+402
As requested for the WM and HS rewrite. Tested on m3, minnow, qemux86-64, rpi3. (cherry picked from commit fda5568cf4bc268088c9d1f925007d682bb7ef5d) Multiple commits to applied at once. Bug-AGL: SPEC-2444 Change-Id: I3f74b40213d4c4a65400a53fe9c57f52fe3b6096 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-04Upgrade to thudScott Murray2-2/+1
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-07Fix missing ivi-id-agentTadao Tanikawa2-3/+4
The ivi-id-agent was missing because its configuration wasn't updated although it is changed by the following patch of wayland-ivi-extension in meta-agl-demo. 22c9537 wayland-ivi-extension: Added ivi-id-agent by mtey Change-Id: I6faf18735cc0a2b7caea97a77fab3e11eaedcc49 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-12-06weston-ini-conf: update gst-record logicScott Murray2-9/+5
The logic to handle the "virtual-output" and "gst-record" DISTRO_FEATURES seems to be unfinished, this update replaces the "virtual-output" usage with just "gst-record", as the former does not seem to exist in the AGL codebase. The virtualoutput.cfg file has been updated with the arguments from the virtual output section in the replacement .ini file from the mapviewer-demo recipe in meta-agl-demo, but some further investigation is required into tweaking things to produce a final .ini file that matches that one. These changes are a first step to getting to that end goal. Change-Id: Ib99e0717ed1e66016c6e936a3c398addcb6adfb7 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 262b016588cb153520362cf0aed3715e43d86672)
2018-08-08weston.ini: set proper configuration to panel-positionHarunobu Kurokawa1-1/+1
"panel-location" configuration is old. The current weston uses panel-position. Change-Id: Iae50bc72c4ece64effe0b9b5f57e8d5e76057478 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2018-07-24Enable weston to use systemd notifyTadao Tanikawa1-0/+1
Enable weston to use systemd notify to reduce causes of race condition between window manager and homescreen. Bug-AGL: SPEC-1471 Change-Id: I6431b5d52f38b982f6691b2961938664cc4f0544 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller12-31/+76
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-13wayland: weston-ini-conf: change virtual.cfg to 1080p and rotate 270 degreesMatt Ranostay1-2/+3
Rotate screen to horizontal orientation allow 1080p output that mirrors a LCD panel Change-Id: I7b8a6a9841b726f68087a4f5bb18ed80517e4e9a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-02-20Fixes for meta-agl-bsp for rockoJan-Simon Möller1-0/+4
These changes are included: - dra7xx-evm,meta-ti: disable gstreamer-plugins-bad on vayu until fixed - meta-boundary: has no rocko branch, remove the folder - meta-intel: generalize the libva bbappend - general: remove the lua bbappend as it is upstream - general: re-add fix for kernel-devsrc (see https://gerrit.automotivelinux.org/gerrit/#/c/11209/) Documents fixme's in meta-agl-bsp/ROCKO.FIXMEs. Change-Id: I3df32632558d503c3ce343f907a1ee1e15ae7e26 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-20weston-ini-conf: Rework to use fragments to construct weston.iniTom Rini3-43/+24
Switch to constructing the weston.ini from fragments of files instead of variables and variable flags. This allows for much easier tracking of signatures by leveraging existing mechanisms. Update the Readme to explain how to do the various operations with fragments as well. Note that for QEMU we do not need to pass -show-cursor as it's already provided and we do want to change the VGA driver to one that reliably provides DRM support. For the HDMI connected screens, rather than name them by vendor name them first for connection and then required transformation for correct orientation. For board-specific options, move them to the board directories. When we need to change existing cfg options, rather than replace them the proper location to do this in is the do_configure function. Bug-AGL: SPEC-964 Change-Id: I2cceb4fd64f51eb2ab1d47419b77153cf02d7c12 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11375 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> 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>
2017-03-30Generate weston.ini dynamicallyRonan Le Martret2-21/+17
* remove weston-intel.ini * add new package weston-ini-conf * the list of the sections of weston.ini is described in variable flags WESTONSECTION * each section is described in variable flags WESTONSECTION * each output screen is described in agl_screen variable Bug-AGL: SPEC-477 Change-Id: I3d25ab49018e3842c916993ba8b9bcc2428d5170 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-23Removed wl-shell-emulator from AGLRonan Le Martret1-1/+1
Since CES2017, AGL doesn't use 'layer-add-surfaces' command. wl-shell-emultor.so is only required by 'layer-add-surfaces'. So we can remove wl-shell-emultor from AGL. Bug-AGL: SPEC-341 Change-Id: I0cad29ff1534e8d3fd4b94f8a13490b9fa19918e Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-15Disable Weston DRM backend in QEMUScott Murray1-1/+4
Since the Weston DRM backend does not work with the video card implementations in VirtualBox and VMWare player, and has some outstanding issues on QEMU that have resulted in GenIVI not enabling it[1], disable it for now. A comment has been added to the QEMU weston.ini indicating that the DRM backend can be re-enabled to potentially gain higher performance. Additionally, the common weston.service systemd unit has been modified to add the --tty option to weston-launch to start weston on /dev/tty1. This is now required to avoid console messages writing on top of the HomeScreen in QEMU, and is harmless to operation on the other platforms. [1]: https://github.com/GENIVI/meta-genivi-dev/pull/34 Bug-AGL: SPEC-405 Change-Id: Ic0c0adeb15baf392e3ffa0bbd26c62d060df1ef5 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2016-12-01Add wl-shell-emulator.so to weston.ini to porter and QEMU as well.Anton Gerasimov1-1/+2
CES2017 demo depends on it. Change-Id: I9a01d106175fcfaba74195c9c6efe6e8f2bda4a5 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-25Use IVI-shell instead of desktop-shell as default in weston.iniBocklage, Jens1-5/+3
Using IVI-shell as default for following platforms: - QEMU - Renesas - Raspberry Pi The IVI-shell is needed to run the CES 2017 demo. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-24Make weston variables machine-specificJan-Simon Möller1-3/+8
These variables need to be conditional to qemu* (intel-corei7??) and should not pollute other targets. Use OVERRIDES here to avoid cut-n-paste. Change-Id: I6eec3de2da0143c0a3ee40beaf73ba77acfe0a3d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-05Enable the DRM backend for Weston on QEMU-x86/x86-64Tadao Tanikawa2-0/+42
The DRM backend is the native Weston backend for systems that support the Linux kernel DRM, kernel mode setting(KMS), and evdev input devices. This patch set the DRM backend as default and also enable bochs display vga interface for qemu std vga. To use the DRM backend for Weston, the option "-vga std" should be set into qemuparams for runqemu script, like below: qemuparams="-vga std" Change-Id: I04591999a0a3f7205e42585150e8f50e7414f9ac Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-01-21Update build configurations for MesaTadao Tanikawa1-16/+3
No longer Gallium EGL driver (gallium-egl) is needed. Change-Id: Ic3d9abc1c3c0a25a3d4ec9daa330646b8c86e291 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-01-15Support MinnowBoard MAXTadao Tanikawa1-0/+2
To configure for MinnowBoard MAX, use 'intel-corei7-64' as MACHINE. E.g. set up build environment by meta-agl's script: $ source meta-agl/script/envsetup.sh intel-corei7-64 [build-dir] There are instructions to write image into SD card and boot system at "http://elinux.org/Minnowboard:MinnowMaxYoctoProject". Change-Id: I19062482848bb6157791ab698bf92984e24a6d9a Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-09-22Support QEMU build on Poky > 1.7 (weston, gallium-egl)Manuel Bachmann1-1/+1
Allow to build newer versions of Weston. "gallium-egl" disappeared from Poky > 1.7 (because it disappeared from upstream Mesa, too). Still try to detect and build it if it exists, but do not fail otherwise. Change-Id: I01c3988e2da6a4fe66a80e5a5b1262cc6c1da727 Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-07-22Support wayland/weson with GSES on emulated machine, QEMU(x86-64)Tadao Tanikawa1-0/+14
To boot weston image on emulated machine QEMU, a new sub-layer `meta-agl-bsp` is added. When bitbake agl-image-weston or agl-image-ivi With this layer, weston GLES can run on QEMU with GLES support. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>