summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* eglinfo: Drop bbappendKhem Raj2019-09-042-4/+0
| | | | | | eglinfo has been removed from OE-Core since aa36510ebe Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Enable vc4, v3d, kmsro gallium driversKhem Raj2019-08-281-3/+2
| | | | | | This enables new v3d driver which needs kmsro as dependency Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Add v3d and kmsro driver as wellAndrei Gherzan2019-08-151-1/+1
| | | | | | | | Videocore 5/6 support was added as a separate driver in mesa: v3d. Enable this so we can have it available for Raspberry Pi 4. Also, this driver depends on kmsro. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* xorg-xserver: Adapt bbappend to latest OE-coreKhem Raj2019-08-061-9/+1
| | | | | | | | There is no need to override complete packageconfig but just the openGL part, this ensures that any common change in oe-core reflects for rpi as well and does not cause the packageconfigs to go stale Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latestKhem Raj2019-07-2820-67/+98
| | | | | | | Fix build with glibc 2.30 Forward patches to 20190724 release Signed-off-by: Khem Raj <raj.khem@gmail.com>
* firmware: Rename firmware inc file to raspberrypi-firmware.incAndrei Gherzan2019-07-041-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* vc-graphics: Don't install sbin directorydir2019-06-241-4/+0
| | | | | | | Newer versions of the PI firmware don't contain a sbin directory anymore. This patch removes the then failing attempt at installing. Signed-off-by: Diez Roggisch <diez.roggisch@ableton.com>
* userland: Update to 20190501Khem Raj2019-05-2919-47/+47
| | | | | | Forward port the patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: use default PACKAGE_ARCHMartin Jansa2019-04-181-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * drop MACHINE_ARCH which was added in: https://github.com/agherzan/meta-raspberrypi/commit/592274937b774b4d98045eef1ef820a5c27253fd * the recipe is using MACHINE_FEATURES but if everybody either enables or disables vc4graphics for all rpi MACHINEs it isn't causing it to be MACHINE_ARCH any more than all other rpi overrides used in this layer. * raspberrypi3-64 is the only one with vc4graphics by default, but it has different TUNE_PKGARCH than other rpi MACHINEs). Unfortunately not without its own set of issues: http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281328.html * fixes userland and everything which depends on it (qtbase, qtwebengine..) to be effectivelly MACHINE_ARCH === Comparing signatures for task do_package_write_ipk.sigdata between raspberrypi2 and raspberrypi3 === ERROR: qtbase different signature for task do_package_write_ipk.sigdata between raspberrypi2 and raspberrypi3 NOTE: Starting bitbake server... Hash for dependent task userland/userland_git.bb.do_packagedata changed from dcfe9e7982ce1e231f06293c1e568d77384f167358fe88debe761290483244a0 to baa4d4164b0045f46c966e773cfeeed87f2c491c3dbd368af7cf4cd63ce39177 Unable to find matching sigdata for /OE/build/luneos-master/webos-ports/meta-raspberrypi/recipes-graphics/userland/userland_git.bb.do_packagedata with hashes dcfe9e7982ce1e231f06293c1e568d77384f167358fe88debe761290483244a0 or baa4d4164b0045f46c966e773cfeeed87f2c491c3dbd368af7cf4cd63ce39177 ERROR: 1 errors found in /OE/build/luneos-master/webos-ports/tmp-glibc/sstate-diff/1555500556/signatures.raspberrypi3.do_package_write_ipk.sigdata.log bitbake-diffsigs tmp-glibc/sstate-diff/1555495762/r*/*/userland/do_fetch NOTE: Starting bitbake server... basehash changed from d767ab01261472a220e0ec80b01bc33e60764d56b5880ab3153afd42ea734703 to e57e594d7e4219f22778ccc5d8c102deeeaff64586e0f71cd90964fa2ace4e1c Variable MACHINE value changed from 'raspberrypi2' to 'raspberrypi3' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mesa-gl: Delete only KHR/khrplatform.hKhem Raj2019-03-051-8/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cairo: Enable egl/gles2 with userlandKhem Raj2019-03-051-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latest as of 20190114Khem Raj2019-02-2419-42/+44
| | | | | | | Forward port the patches package vcfiled init scripts Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa-gl: Provide virtual/libgbmKhem Raj2019-02-241-0/+1
| | | | | | | | We specificially enable building libgbm via packageconfig but then the PROVIDES is hardcoded in main recipes, we make that change here so when using userland as graphics driver, we can build wayland apps Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa-gl: Let userland provide libEGL and GLESv2 when vc4 graphics is not usedKhem Raj2019-02-241-0/+11
| | | | | | | When vc4graphics is not used then useland graphics provides these libraries Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Use original name libegl-mesa in rdepsKhem Raj2018-12-181-1/+1
| | | | | | | | | This avoids a missing rdep errors seen sometimes when switching compilers or graphic driver providers ERROR: userland-20181120-r0 do_package_qa: QA Issue: /usr/lib/libWFC.so contained in package userland requires li bEGL.so.1, but no providers found in RDEPENDS_userland? [file-rdeps] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: do not provide libgl1Ming Liu2018-12-181-1/+1
| | | | | | | The userland should only provide egl libraries rather than gl libraries, or else it will cause conflicts with other libgl providers like mesa. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* userland: rprovide debiannamed librariesKhem Raj2018-12-011-2/+2
| | | | | | | | | | | | | | | | These names are mapped to mesa equivalent rproviders when using vc4 rdep should be on libegl1 which is then mapped to libegl-mesa since thats what provides libegl1 when using mesa. The libegl is not a global name for this library Fixes ERROR: userland-20181120-r0 do_package_qa: QA Issue: /usr/lib/libWFC.so contained in package userland requires libEGL.so.1, but no providers found in RDEPENDS_userland? [file-rdeps] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to latest masterKhem Raj2018-11-2119-305/+345
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Merge userland-nogl into userland itselfKhem Raj2018-11-212-91/+11
| | | | | | | | | Control the installs via MACHINE_FEATURES and avoid almost duplicate recipe Adjust other recipes to depend on userland now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland-nogl: Add recipe which does not include GL librariesKhem Raj2018-11-0719-0/+87
| | | | | | | This is needed when mesa is providing these libraries especially when using vc4graphics Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xorg-server: Do not install 10-noglamor.confKhem Raj2018-10-022-11/+0
| | | | | | | This causes glamor APIs to be disabled and glxgears run very slow like 1FPS, without this it speeds up to 55.5fps Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Build swrast gallium driver along with vc4Khem Raj2018-10-021-1/+1
| | | | | | | | | | | | | | when running -ctestimage target, it fails because of errors it finds in Xorg logs | Log: /mnt/a/yoe/build/tmp/work/raspberrypi3-yoe-linux-gnueabi/core-image-sato/1.0-r0/target_logs/Xorg.0.log | ----------------------- | Central error: [ 14.760] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory) Therefore we enable swrast gallium drivers to make xorg happy Signed-off-by: Khem Raj <raj.khem@gmail.com>
* piglit,kmscube: Disable when using userland graphics driverKhem Raj2018-08-162-0/+5
| | | | | | | These packages need stuff from mesa which is not available in userland implementation as of now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Define missing GLES2 defines needed for westonKhem Raj2018-07-163-6/+47
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "userland: drop now obsolete backport khronos typedef patch"Khem Raj2018-07-162-0/+36
| | | | This reverts commit e713c3f60d74fbb864122f8f11a80ca302d53da3.
* mesa-demos,piglit,packagegroup-core-tools-testapps: Remove dependency on ↵Khem Raj2018-07-163-1/+5
| | | | | | | | | | mesa-demos mesa-demos demand libgles1 and userland driver does not have it, therefore make it conditional on choice of graphics driver, remove it when using userland driver and keep it when using vc4 graphics driver. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to latest as of 20180702Khem Raj2018-07-071-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: drop now obsolete backport khronos typedef patchHugo Hromic2018-07-042-36/+0
| | | | | | | | The patch introduced in 237e0c7 is now fixed upstream in gstreamer-base-1.14.1, hence drop it. See: <https://github.com/GStreamer/gst-plugins-base/commit/2f3ff84f4082097a36732a91734121fb209efb84> Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* meta-raspberrypi: use `_%` suffix instead of specific versions for bbappendsHugo Hromic2018-06-271-0/+0
| | | | | | Keep naming consistency and ensure they are still applied when the upstream recipes are updated. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* userland: fix backport khronos typedef patchHugo Hromic2018-06-271-3/+3
| | | | | | | | The patch in 237e0c7 used a define guard that clashes with an actual feature of Khronos (EGL_KHR_stream). This makes some packages such as `qtbase` to think that the outdated Krhonos in userland has newer features. This fix uses a more specific name for the relevant define guard (EGL_KHR_uint64_typedef). Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* wayland: only remove libwayland-egl if not using vc4graphics, e.g. when ↵Hugo Hromic2018-05-161-4/+5
| | | | | | | | using userland Related to PR #247. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* userland: bumped version and backport khronos typedef for ↵Hugo Hromic2018-05-142-2/+38
| | | | | | | | | | | | | | | EGL_EXT_image_dma_buf_import The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos. However, the older version included in userland does not provide it. This patch backports the missing typedef from recent Khronos into userland. See: <https://www.khronos.org/registry/EGL/api/EGL/eglext.h> Submitted to userland in <https://github.com/raspberrypi/userland/pull/467> Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* wayland: do not install libwayland-egl from waylandHugo Hromic2018-05-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wayland was updated recently in Poky, and now includes `libwayland-egl`: commit 8097bf7012a0d97d3b8b48eceb5dc20cc4ae7ca9 Author: Denys Dmytriyenko <denys@ti.com> Date: Tue Apr 10 15:06:09 2018 -0400 wayland: upgrade to 1.15.0 Official announcement: https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html | libwayland-egl is now part of libwayland, and will presumably be removed | from mesa in the not too distant future. Update mesa recipe by removing corresponding libwayland-egl entries. (From OE-Core rev: 6e5952fcfc13ff4b63c9376bd41a1dbba957f425) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> However, the `userland` ships its own version of the library (see issue #243). Until further testing, for now discard the version in `wayland` in favour of the version in `userland`. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* xserver-xf86-config: Disable glamor for vc4 in generalKhem Raj2018-05-041-6/+5
| | | | | | We need this fix across 32bit and 64bit with vc4/mesa Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Drop unnecessary dependencies and tasksPaul Barker2018-04-231-0/+2
| | | | | | | | | | | | | | We have a few recipes which only deploy files that go into the boot partition and do not create packages to be installed into the rootfs. These recipes don't need to run the usual packaging tasks so we can drop them to speed up the build a little. We also have a bunch of recipes that don't need the usual toolchain as they just copy files or invoke native commands like `mkimage`. So to speed up the build a little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency on the toolchain. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* mesa: enable dri3 explicitlyAndreas Müller2018-04-061-1/+5
| | | | | | | | Currently oe-core enables dri3 only for x11 AND vulcan. Although patch enabling dri3 by default in oe-core was sent out, make sure here dri3 is enabled - whatever oe-core suggest in the future. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* userland: Add wayland support for libbrcmEGLKhem Raj2018-03-081-240/+213
| | | | | | | | | | | | | These renames are recently added https://github.com/raspberrypi/userland/commit/dd98890106c3c6145f640c4cfb825be937282a93 Some packages e.g. libSDL2 has started using the new names and are resulting in undefined symbols e.g. | /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/libsdl2-mixer/2.0.2-r0/recipe-sysroot/usr/lib/libb rcmEGL.so: undefined reference to `wl_resource_post_error' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to master as of 20180219Khem Raj2018-03-081-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to latest masterJeff Wannamaker2018-02-0217-51/+197
| | | | | | | | | | Add patch to allow multiple wayland clients per process userland has limit of one wayland client per process and thereby allow compositors to launch multiple wayland client apps Signed-off-by: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Use commit date as PVPaul Barker2017-12-181-2/+4
| | | | | | | This gives us a package version which can be reliably expected to move forwards not backwards. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* userland: Update to latest revisionKhem Raj2017-11-1516-63/+62
| | | | | | Forward port patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: RPROVIDES is missing libeglFrancesco Giancane2017-10-281-1/+1
| | | | | | | | | | | userland package is the Raspberry Pi provider for the openGL stack. If selected, it shall provide the gles2 and egl stacks in conjunction with mesa-gl. libegl was missing in the RPROVIDES variable, thus some run-time dependencies were not met when using userland as provider. Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
* weston: remove rpi-backend configuration switchFrancesco Giancane2017-10-201-2/+0
| | | | | | | | | | | | | | | | | rpi-backend.so was an attempt to create a specialized weston backend to be used on raspberry pi like platforms. At the moment, this backend's support has been dropped in favor of using the standard drm backend, as the vc4 driver is now mainline in mesa and in kernel (for kernel support). As a result, weston on raspberry pi does not require the rpi-backend.so anymore, nor it is buildable (weston's configure complains about unrecognized configuration switch). This patch enables weston to natively run on the DRM backend. Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
* xserver-xf86-config: Disable glamor for the modesetting driver on pi64Khem Raj2017-09-202-2/+13
| | | | | | | Fixes a xorg server crash with musl see details https://github.com/voidlinux/void-packages/issues/6091 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to current master HEADAndrei Gherzan2017-09-081-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* recipe: anchor regexps in COMPATIBLE_MACHINEMartin Jansa2017-07-272-2/+2
| | | | | | | | | * bitbake is using re.match, so raspberrypi actually matches with anything ^raspberrypi.* which currently works, but it will also match with hypothetical raspberrypi-is-no-more-this-is-banana-now MACHINE which isn't intended by this COMPATIBLE_MACHINE. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* weston: use just one append and one bb.utils.containsMartin Jansa2017-07-271-9/+9
| | | | | | | | | * drop duplicated --enable-rpi-compositor and WESTON_NATIVE_BACKEND=rpi-backend.so * use rpi override, adding --enable-rpi-compositor unconditionally breaks other MACHINEs with: configure: WARNING: unrecognized options: --enable-rpi-compositor * use just one append and one bb.utils.contains to save some bitbake cycles while parsing Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* userland: Add missing EGL_CAST definesAndrea Galbusera2017-07-142-0/+33
| | | | | | Needed by libepoxy Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* userland: Update to latestKhem Raj2017-05-241-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa-gl: Enable gbm for rpiKhem Raj2017-05-111-0/+1
| | | | | | | weston needs gbm support which is not in userland Signed-off-by: Khem Raj <raj.khem@gmail.com>