aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
2019-10-24vc-graphics: Clarify license conditionsPaul Barker1-1/+1
The license text matches the 'Broadcom-RPi' custom license used in bcm2835-bootfiles. Signed-off-by: Paul Barker <paul@betafive.co.uk>
2019-09-04eglinfo: Drop bbappendKhem Raj2-4/+0
eglinfo has been removed from OE-Core since aa36510ebe Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-28mesa: Enable vc4, v3d, kmsro gallium driversKhem Raj1-3/+2
This enables new v3d driver which needs kmsro as dependency Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-15mesa: Add v3d and kmsro driver as wellAndrei Gherzan1-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>
2019-08-06xorg-xserver: Adapt bbappend to latest OE-coreKhem Raj1-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>
2019-07-28userland: Upgrade to latestKhem Raj20-67/+98
Fix build with glibc 2.30 Forward patches to 20190724 release Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-04firmware: Rename firmware inc file to raspberrypi-firmware.incAndrei Gherzan1-1/+1
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-24vc-graphics: Don't install sbin directorydir1-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>
2019-05-29userland: Update to 20190501Khem Raj19-47/+47
Forward port the patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-18userland: use default PACKAGE_ARCHMartin Jansa1-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>
2019-03-05mesa-gl: Delete only KHR/khrplatform.hKhem Raj1-8/+1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-05cairo: Enable egl/gles2 with userlandKhem Raj1-0/+3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24userland: Upgrade to latest as of 20190114Khem Raj19-42/+44
Forward port the patches package vcfiled init scripts Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24mesa-gl: Provide virtual/libgbmKhem Raj1-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>
2019-02-24mesa-gl: Let userland provide libEGL and GLESv2 when vc4 graphics is not usedKhem Raj1-0/+11
When vc4graphics is not used then useland graphics provides these libraries Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18userland: Use original name libegl-mesa in rdepsKhem Raj1-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>
2018-12-18userland: do not provide libgl1Ming Liu1-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>
2018-12-01userland: rprovide debiannamed librariesKhem Raj1-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>
2018-11-21userland: Update to latest masterKhem Raj19-305/+345
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-21userland: Merge userland-nogl into userland itselfKhem Raj2-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>
2018-11-07userland-nogl: Add recipe which does not include GL librariesKhem Raj19-0/+87
This is needed when mesa is providing these libraries especially when using vc4graphics Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-02xorg-server: Do not install 10-noglamor.confKhem Raj2-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>
2018-10-02mesa: Build swrast gallium driver along with vc4Khem Raj1-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>
2018-08-16piglit,kmscube: Disable when using userland graphics driverKhem Raj2-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>
2018-07-16userland: Define missing GLES2 defines needed for westonKhem Raj3-6/+47
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-16Revert "userland: drop now obsolete backport khronos typedef patch"Khem Raj2-0/+36
This reverts commit e713c3f60d74fbb864122f8f11a80ca302d53da3.
2018-07-16mesa-demos,piglit,packagegroup-core-tools-testapps: Remove dependency on ↵Khem Raj3-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>
2018-07-07userland: Update to latest as of 20180702Khem Raj1-2/+2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-04userland: drop now obsolete backport khronos typedef patchHugo Hromic2-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>
2018-06-27meta-raspberrypi: use `_%` suffix instead of specific versions for bbappendsHugo Hromic1-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>
2018-06-27userland: fix backport khronos typedef patchHugo Hromic1-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>
2018-05-16wayland: only remove libwayland-egl if not using vc4graphics, e.g. when ↵Hugo Hromic1-4/+5
using userland Related to PR #247. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-05-14userland: bumped version and backport khronos typedef for ↵Hugo Hromic2-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>
2018-05-14wayland: do not install libwayland-egl from waylandHugo Hromic1-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>
2018-05-04xserver-xf86-config: Disable glamor for vc4 in generalKhem Raj1-6/+5
We need this fix across 32bit and 64bit with vc4/mesa Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-04-23Drop unnecessary dependencies and tasksPaul Barker1-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>
2018-04-06mesa: enable dri3 explicitlyAndreas Müller1-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>
2018-03-08userland: Add wayland support for libbrcmEGLKhem Raj1-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>
2018-03-08userland: Update to master as of 20180219Khem Raj1-2/+2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-02-02userland: Update to latest masterJeff Wannamaker17-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>
2017-12-18userland: Use commit date as PVPaul Barker1-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>
2017-11-15userland: Update to latest revisionKhem Raj16-63/+62
Forward port patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-10-28userland: RPROVIDES is missing libeglFrancesco Giancane1-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>
2017-10-20weston: remove rpi-backend configuration switchFrancesco Giancane1-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>
2017-09-20xserver-xf86-config: Disable glamor for the modesetting driver on pi64Khem Raj2-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>
2017-09-08userland: Update to current master HEADAndrei Gherzan1-1/+1
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-07-27recipe: anchor regexps in COMPATIBLE_MACHINEMartin Jansa2-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>
2017-07-27weston: use just one append and one bb.utils.containsMartin Jansa1-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>
2017-07-14userland: Add missing EGL_CAST definesAndrea Galbusera2-0/+33
Needed by libepoxy Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-05-24userland: Update to latestKhem Raj1-1/+1
Signed-off-by: Khem Raj <raj.khem@gmail.com>