aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2022-07-31userland: Bump revision to the current HEADAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-04userland: Update to latest as of 20220323Khem Raj
Fix build with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-04xserver-xorg: remove xshmfence configure optionMingli Yu
After the commit [1] introduced in openembedded-core layer, some configure options is't carried over include xshmfence option, so remove the xshmfence configure option to silence the below warning. WARNING: xserver-xorg-2_21.1.1-r0 do_configure: QA Issue: xserver-xorg: invalid PACKAGECONFIG: xshmfence [invalid-packageconfig] [1] https://git.openembedded.org/openembedded-core/commit/?id=e05abd87ee5d23750c641d0129d9c83db68ee2e8 Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
2021-12-03mesa: Enable building vulkan driverJoel Winarske
Support to enable building Mesa Broadcom v3d Vulkan Driver Upstream support Merged in master 2021-11-07 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ddcaf3596227a32628b436f4130f4c0b1541a4be Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
2021-11-29weston-init: Add --continue-without-input option to westonKhem Raj
launching with --continue-without-input helps starting weston without keyboard/mouse Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-07recipes: Update SRC_URI protocols for githubMarcel Hamer
Use protocols=https for GitHub SRC_URIs using the conversion script in openembedded-core. Signed-off-by: Marcel Hamer <marcel@solidxs.se>
2021-08-19xserver-xf86-config: Correctly append to FILES:${PN}Tom Rini
When updating FILES:${PN} based on an override you must use FILES:${PN}:append:OVERRIDE as the syntax otherwise you will end up replacing the contents of FILES:${PN} entirely. Update to use this syntax correctly and then only add "${sysconfdir}/X11/xorg.conf.d/*" Reported-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Tom Rini <trini@konsulko.com>
2021-08-09userland: package man pages in PN-docMartin Jansa
* last userland upgrade in: https://github.com/agherzan/meta-raspberrypi/commit/2a25b7ef8bb7b366a93dbe42d40ebf3923d1fccc brings this upstream commit: https://github.com/raspberrypi/userland/commit/45a0022ac64b4d0788def3c5230c972430f6fc23 which results in: ERROR: userland-20210623-r0 do_package: QA Issue: userland: Files/directories were installed but not shipped in any package: /usr/man /usr/man/man1 /usr/man/man7 /usr/man/man1/raspistill.1 /usr/man/man1/raspividyuv.1 /usr/man/man1/dtparam.1 /usr/man/man1/raspivid.1 /usr/man/man1/tvservice.1 /usr/man/man1/vcmailbox.1 /usr/man/man1/raspiyuv.1 /usr/man/man1/dtoverlay.1 /usr/man/man1/vcgencmd.1 /usr/man/man1/dtmerge.1 /usr/man/man7/raspicam.7 /usr/man/man7/raspirev.7 /usr/man/man7/raspiotp.7 /usr/man/man7/vcmailbox.7 Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. userland: 17 installed and not shipped files. [installed-vs-shipped] it's incorrectly installed in /usr/man by CMake as discussed in upstream move it to /usr/share/man where it's picked by default FILES:${PN}-doc Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-06userland: Update to latest master branchKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-04Manually fix conversionMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-04Convert to new override syntaxMartin Jansa
This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-18libva: Fix for when using `userland`matt-hammond-bbc
https://github.com/agherzan/meta-raspberrypi/issues/842 Fixes failing build of libva when using `userland` recipe. Same as: https://github.com/agherzan/meta-raspberrypi/commit/ac16b0e9d713bcc4ee0e976259064d1a318a5aac Signed-off-by: Matt Hammond <matt.hammond@bbc.co.uk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-12userland: Correct PV after SRCREV updatePersian Prince
2021-04-03userland: Update to latest masterKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-03mesa-gl: Use GALLIUMDRIVERS instead of DRIDRIVERS for passing swrastKhem Raj
latest mesa errors out ../mesa-21.0.0/meson.build:21:0: ERROR: Options "swrast" are not in allowed choices: "auto, i915, i965, r100, r200, nouveau" Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-14raspidmx: Disable for all non-rpi hostsKhem Raj
Currently its only disabled when vc4graphics is in use but this recipe actually needs userland and therefore can not be used for non-rpi machines as well. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-13raspidmx: addTrevor Woerner
Add a recipe to build a set of dispmanx examples. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-12-11userland: fix invalid packageconfigTrevor Woerner
Fix the "allapps" PACKAGECONFIG to avoid the QA warning/error: userland-20201027-r0 do_configure: QA Issue: userland: invalid PACKAGECONFIG: allapps [invalid-packageconfig] Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-12-04libglu: Fix build with userland graphicsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-04userland: Fix weston build with userland graphicsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-02mesa-gl: Enable swrast dri backend for rpi/userlandKhem Raj
After mesa switched build system to meson, the logic to generate dri related artifacts changed too, which means when no dri backend is enabled then dri drivers and corresponding headers dont get generated and hence we end up with missing pkgconfig files e.g. dri.pc which usually will come from full mesa3d package, but in rpi when userland is used we only build GL pieces of mesa. This patch therefore enables swrast dri backend when using userland, which gives us the needed header and .pc files to build packages like Xorg server, since EGL driver will come from userland, the dri backend would be unused and hence should not be effective at runtime. Addresses issue report with https://github.com/agherzan/meta-raspberrypi/pull/773 there is no need to check for graphics stack since mesa-gl is only used with userland graphics Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Trevor Woerner <twoerner@gmail.com>
2020-11-30userland: add knob for ALL_APPSTrevor Woerner
The userland sources include a bunch of sample applications. Add an "allapps" PACKAGECONFIG to allow the user to build the additional optional applications. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-11-25userland: Upgrade to latest as of 20201027Khem Raj
refresh patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-21userland: Apply format-overflow warning patch for gcc aloneKhem Raj
This warning is gcc specific and causes build failures when building with clang, lets therefore remove it when build is using clang compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-17Revert "mesa: querying dma_buf modifiers for specific formats"Luis Alfredo da Silva
This reverts commit 84cb8538cd22586fc82daba38458909cedfec2db. Fixes: - https://gitlab.gnome.org/GNOME/mutter/-/issues/1421 - #711
2020-08-28libsdl2: Add userland dependency when not using vc4graphicsKhem Raj
Needed to provide KHR/khrplatform.h header Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-28xserver-xorg: Depend on userland when vc4graphics is disabledKhem Raj
This helps in getting right headers, we have made a choice to let userland provide KHR/khrplatform.h when using it instead of mesa-gl which could have been another provider, xserver-xorg's glx implementation depends on virtual/libgl which in case of rpi-without-vc4 driver is provided by mesa-gl, as a result, compilation fails since no one is providing this header in this case. Fixes errors like usr/include/GL/glext.h:56:10: fatal error: KHR/khrplatform.h: No such file or directory | 56 | #include <KHR/khrplatform.h> | | ^~~~~~~~~~~~~~~~~~~ Fixes issue #391 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-14userland: Update to 2020-06-24 top commitKhem Raj
Forward port patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-03userland: Fix build with gcc10Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-03userland: Update to 20200316 snapshotKhem Raj
- Refresh patches - userland now needs to create symlinks for egl.pc,glesv2.pc and vg.pc when vc4 is not used Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-12mesa: Fix patch fuzzKhem Raj
Fixes ERROR: mesa-2_20.0.1-r0 do_patch: Fuzz detected: Applying patch 0001-dri2-query-dma-buf-modifiers.patch patching file src/gallium/state_trackers/dri/dri2.c Hunk #1 succeeded at 1366 with fuzz 1 (offset -2 lines). Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10mesa: querying dma_buf modifiers for specific formatsrkhan467
mesa wl_drm protocol is the backend for wayland server side which requires the dmabuf modifiers for some DRM formats on specific devices like RPI. Currently there is no support of giving any dmabuf modifiers on wl_drm protocol. This dma_buf modifiers allows EGL implementations to add extra attributes to drm_fourcc format. Upstream-Status: Pending Signed-off-by: Balaji Velmurugan <balaji.velmurugan@ltts.com>
2020-01-24userland: add pkg-config for openmaxil and add virtual/libomxil to PROVIDESMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-24vc-graphics: Clarify license conditionsPaul Barker
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 Raj
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 Raj
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 Gherzan
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 Raj
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 Raj
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 Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-24vc-graphics: Don't install sbin directorydir
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 Raj
Forward port the patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-18userland: use default PACKAGE_ARCHMartin Jansa
* 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 Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-05cairo: Enable egl/gles2 with userlandKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24userland: Upgrade to latest as of 20190114Khem Raj
Forward port the patches package vcfiled init scripts Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24mesa-gl: Provide virtual/libgbmKhem Raj
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 Raj
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 Raj
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 Liu
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>