aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2020-04-29weston: Align 8.0.0.imx recipe with 8.0.0Tom Hochstein
Update license file data and move i.MX customizations to unique lines for simpler diff. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24waffle: Fix x11 build without GBM supportTom Hochstein
For i.MX 6 and 7, building x11_egl failed with the following: ``` In file included from ../waffle-1.6.0/src/waffle/surfaceless_egl/sl_window.c:35: ../waffle-1.6.0/src/waffle/surfaceless_egl/sl_platform.h:30:10: fatal error: gbm.h: No such file or directory 30 | #include <gbm.h> | ^~~~~~~ ``` The failure is not surprising since i.MX 6 and 7 don't support GBM. What is surprising is surfaceless_egl is built even if it is disabled. The meson dependency for surfaceless_egl was incorrectly tied to x11_egl, so fix that, plus add a dependency on GBM. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24waffle: Add missing dependency on EGLTom Hochstein
For Wayland builds without XWayland support, the following build break was happening: In file included from /home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/egl.h:39, from ../waffle-1.6.0/src/waffle/egl/wegl_context.h:31, from ../waffle-1.6.0/src/waffle/egl/wegl_util.c:28: /home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:144:10: fatal error: X11/Xlib.h: No such file or directory 144 | #include <X11/Xlib.h> | ^~~~~~~~~~~~ compilation terminated. This happens because the egl.pc configuration is missing. Fix the mising dependency. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24waffle: Disable GBM support for i.MX 6 and 7 GPUTom Hochstein
GBM is not available on i.MX 6 and 7 GPU, so disable support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24imx-gpu-apitrace: Enable egl and waffleTom Hochstein
Add egl and waffle as common configuration. The unique configuration for 8M and 8M Nano is no longer required. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24imx-gpu-apitrace: Add config options for EGL and GUITom Hochstein
Also, remove x11-egl option since it is a derivative of egl, x11, and waffle, and is no longer needed. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24imx-gpu-apitrace: Don't package binaries separatelyTom Hochstein
The libraries are not useful without the binaries, so putting them in separate packages is wrong. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-24imx-gpu-apitrace: Rebase fork on 9.0.0Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-20imx-dpu-g2d: Upgrade to 1.8.3Tom Hochstein
c27d26b MGS-5479 remove g2d_multiblit_test 9730281 MGS-5435 [QNX] G2D - child and parent window can not rotate correctly 73354dc MGS-5103 add YUV mode for BT.601 and BT.709 43ff464 MA-16215 Avoid change input parameter value in g2d_blitEx 807cf04 MGS-5403 enable G2D tile-status feature Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16weston: upgrade recipe to version 8.0.0 from NXPAndrey Zhizhikin
Upgrade weston recipe version 6.0.1 -> 8.0.0 with following modifications performed: - Transition build system to meson, replace autotools references with meson options; - Align recipe with the latest version from oe-core, include all configuration changes done upstream into this recipe; - Drop patches applied upstream and those related to autotools; Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16wayland-protocols: upgrade to 1.18 from NXPAndrey Zhizhikin
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16imx-gpu-g2d: update to 6.4.0.p2.0Andrey Zhizhikin
Update recipe to p2 stepping to include support for kernel 5.4.3 from NXP. Updated component use V10 of NXP EULA, therefore license md5 has been modified to match the version. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16libdrm-imx: update component to lf-5.4.yAndrey Zhizhikin
This update includes one commit, which introduced the support for NV12_10LE40 format together with new HDR10 metadata required for kernel 5.4 update. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16imx-gpu-viv: Remove invalid insane skipsTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Add missing package libnn-imx-devTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: CleanupTom Hochstein
Clean some file name redundancies and changes. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Enable valgrind annotations for libgalTom Hochstein
Suggest valgrind runtime for libgal, which has enabled annotations. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Remove OpenVX support for 8M MiniTom Hochstein
i.MX 8M Mini doesn't support OpenVX, so remove it from the recipe in this case. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Add gl31.h to i.MX 8M Nano installTom Hochstein
i.MX 8M Nano supports OpenGL ES 3.1. In fact, all 8M support it except for 8M Mini, so use that in the logic. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: OpenGL is not provided for framebufferTom Hochstein
The GPU drivers have never provided OpenGL for framebuffer. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16imx-gpu-viv: Upgrade to 6.4.0.p2.0Tom Hochstein
Key Features of the Vivante 6.x Driver Series - Full support for Khronos OpenGL ES 3.2 API. The new OpenGL ES 3.2 and OpenGL ES Shading Language 3.20 specifications bring AEP, plus additional functionality, into core OpenGL ES. Vivante OpenGL ES 3.2 implementation has passed Khronos OpenGL ES 3.2 Conformance Test. And Vivante GC7000XS* GPU core has been certified by Khronos as an OpenGL ES 3.2 compliant product. - Backward Compatible with 5.x and 4.x Drivers. Existing OpenGL ES 3.x/2.0 applications can run on these drivers without any changes. 6.4.0 P2 GA ====================== Key Features: - Vulkan 1.1 - OpenVX 1.2 - OpenCL and OpenVX bridged support. - GPU accelerated ML support - Upgrade to weston 7.0 - OpenCV 4.0.1 - Chromium v74 - Support for renderdoc 1.2 - vProfiler/vAnalyser through new Vivante IDE - Support for Android 10 - Support for TFlite 1.3 - NNCTS 1.2 - Optimize command buffer size, so the memory usage per context will be lower Known Issues : LF-308 wl_display_connect Failure reported during VPU and GPU stress power management test. LF-868 [MX6SX-SDB]GPU: weston stopped abnormally during stress suspend resume test. LF-459 [8QM] GPU/xwld:Vulkan sdk demo 'ObjectSelection' flicker on display. LF-178 GPU/XWLD: some tests failed in OpenCV performance test. LF-262 GPU:Some qt5 demos not work. QT5.3 have regressions. Require qt3d update in QT5.4 and later LF-836 GPU/XWLD: met version mismatch when using renderdoc remote test LF-861 some tests failed in OpenCV stress test. LF-423 ML/AI:Some dnn_vxc cases showed out-of-range recognition rates. LF-844 [6QP_SD] GPU/FB: Bloom_FB cannot be killed by ctrl c randomly. LF-1109 [8QM] GPU/Vivante IDE tool: vpd file of OpenVX import failed to VSI IDE LF-1110 [8QM] GPU/Vivante IDE tool: some binary of sample project cannot work after building successfuly in vCompiler test LF-936 [MX8MQ/MM/MN]GPU:no desktop UI and weston@root.service load fail after run low bus freq test.100% LF-88 [8QXP_MEK/8QM/8MM_EVK] GPU/XWLD: apitrace tool can not work properly See also: https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-zeus Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-03-30imx-gpu-apitrace: x11: make python3 compatibleMax Krummenacher
When building for fslc-x11 python code generation still fails, e.g.: | File ".../imx-gpu-apitrace/7.1.0-r0/git/wrappers/glxtrace.py", line 70 | print ' if(_glXGetCurrentDisplay == &glXGetCurrentDisplay ){' Convert python2 print statements to python3. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-03weston-init.bbappend: Fix missing space in variable assignmentTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-02-15mesa: Allow to use Etnaviv with i.MX8Frieder Schrempf
Currently the settings for i.MX8 are fixed to only allow to use OSMesa for offscreen rendering. Actually etnaviv is usable on i.MX8MM an it should therefore be possible to let Gallium be enabled instead of unconditionally disabling it. Therefore we introduce the USE_OSMESA_ONLY variable, that can be set to "no" for i.MX8 if etnaviv should be used just like for i.MX6. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
2020-02-15mesa: Use PACKAGECONFIG to enable Gallium driversFrieder Schrempf
We don't need to manipulate the GALLIUMDRIVERS variable. Setting the correct PACKAGECONFIG options is enough as the main recipe handles the rest. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
2020-02-12wayland-protocols: Switch to i.MX fork for sourceTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-01-23imx-gpu-apitrace: update recipe to use python3Andrey Zhizhikin
Add component patches to be able to build it with python3. Python2 has been dropped in oe-core, therefore the package source should be updated to include python3 support. Patches were cherry-picked from the upstream at [https://github.com/apitrace/apitrace] from the [python3] branch. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-01-09libdrm imx: fix building libdrm-vivanteMax Krummenacher
The recipe updates pulled in from upstream now builds with meson but the libdrm imx fork does not provide meson build information. Patch the imx fork to get the ability to build with meson. Change the recipe to actually configure libdrm-vivante and to deploy it into its own package. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-08weston-init: use g2d for i.MX8M Nano SoCAndrey Zhizhikin
Use 2D acceleration for i.MX8M Nano SoC. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-01-08xf86-video-imx-vivante: fix compile by updating to 6.4.0Max Krummenacher
Using the current HEAD fixes the following compile error: | vivante_gal/vivante_gal_surface.c:493:38: error: 'gcvPOOL_CONTIGUOUS' undeclared (first use in this function); did you mean 'gcvSURF_CONTIGUOUS'? | 493 | surf->mVideoNode.mPool = gcvPOOL_CONTIGUOUS; | | ^~~~~~~~~~~~~~~~~~ meta-fsl-bsp-release sets version to 6.4.0.p0.0 for this git hash, follow that here. Changelog: MGS-4783 [#ccc] Integrate EXA patches for 6.4.0 beta Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-23mesa: Fix glcorearb.h collision with imx-gpu-vivMihai Lindner
Fix ERROR: The file /usr/include/GL/glcorearb.h is installed by both mesa and imx-gpu-viv, aborting. Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-23imx-gpu-viv: Upgrade to 6.4.0.p1.0Mihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-22weston: refresh patch files to resolve hunksAndrey Zhizhikin
Refresh patches in this layer so they could be cleanly applied, this has been done via devtool. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2019-12-16imx-gpu-g2d: Upgrade to 6.4.0.p1.0Mihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-16imx-gpu-apitrace: Update to 09579e67Mihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-16imx-dpu-g2d: Upgrade to 1.8.2Mihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-16libdrm: Upgrade to 2.4.99.imxMihai Lindner
Refresh recipe base from poky, drops patches no longer used. Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-12-16weston: Upgrade to 6.0.1.imxMihai Lindner
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2019-11-23recipes: Use features_check instead of distro_features_checkKhem Raj
distro_features_check is now deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-19weston-init: Keep the logic to edit weston.ini to meta-freescaleKhem Raj
This logic does not work across multiple layers even OE-Core machines dont build with it. For now its best to keep this confined to meta-freescale machines Idea is good but it needs to align with OE-core's methods where currently in OE-Core we expect machines to override weston.ini completely per machine, this logic sort of goes against it. However it has some goodness to it, eg. adding options based on DISTRO_FEATURES which OE-Core could have too but maybe implemented differently. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-18weston: Move xwayland config to weston.iniTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-11-18weston: Replace copies of weston.ini with logicTom Hochstein
Install a common base weston.ini and then customize it in the recipe by specifying custom options. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-11-18weston: Use G2D as default renderer for 7ULPTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-11-18weston: Move use-g2d option for 8M Mini to weston.iniTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-11-18weston-init: Move weston.ini install to weston-initTom Hochstein
OE-core now installs weston.ini from weston-init, so align our recipe to do the same. The IVI dynamic layer now has a copy of the weston.ini file that is normally produced by the weston build. The AGL dynamic layer now uninstalls the weston.ini installed upstream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-11-04weston: Improve weston.ini selection logicTom Hochstein
Add a variable WESTON_INI_INSTALL_FILE to make it easy to customize the selection of the weston.ini file. The main recipe now performs only a generic install of the selected file. For AGL and IVI, we use the BBFILES_DYNAMIC mechanism to specify no file and an IVI-specific file respectively. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-11-01weston: fix the test condition for agl buildsAndrey Zhizhikin
Fix the variable test condition, wich is used during inclusion of weston.ini file in the agl and non-agl builds. Since for non-agl build there is no algprofilegraphics in the collection, variable expands to an empty string and test condition evaluates to true for both agl and non-agl builds. This causes the weston.ini file to be installed regardless of whether the agl is found or not. Usage of a different condition check (lenght instead of empty) eliminates this issue. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2019-10-09xserver-xorg: Fix missing space in SRC_URI_append assignmentTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-10-09mesa-demos: Remove workaround now that eglut_wayland event loop is fixedTom Hochstein
The eglut_wayland event loop is properly fixed, so the simple workaround patch is no longer necessary. https://gitlab.freedesktop.org/mesa/demos/commit/c539078c5fa592134f6f8a95be51c8eb318f5c39 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-10-09imx-gpu-viv: fix build with libvulkanMax Krummenacher
vulkan-loader and imx-gpu-viv both provide a libvulkan.so with the same soname. (The vulkan-loader provides the vulkan-loader while imx-gpu-viv provides the instalable client driver for the Vivante GPU). readelf -a .../recipe-sysroot/usr/lib/libvulkan.so | grep soname 0x000000000000000e (SONAME) Library soname: [libvulkan.so.1] readelf -a .../recipe-sysroot/usr/lib/vulkan/libvulkan_VSI.so | grep soname 0x000000000000000e (SONAME) Library soname: [libvulkan.so.1] This leads to the following build error. | # ERROR: gstreamer1.0-plugins-bad-1.14.imx-r0 do_package: gstreamer1.0-plugins-bad-vulkan: Multiple shlib providers for libvulkan.so.1: libvulkan-imx, vulkan-loader (used by files: ...libgstvulkan.so) | # ERROR: gstreamer1.0-plugins-bad-1.14.imx-r0 do_package_qa: QA Issue: /usr/lib/gstreamer-1.0/libgstvulkan.so contained in package gstreamer1.0-plugins-bad-vulkan requires libvulkan.so.1()(64bit), but no providers found in RDEPENDS_gstreamer1.0-plugins-bad-vulkan? [filed] Fix this by changing the soname of the Vivante provided libvulkan. With this change we can drop the /usr/lib/vulkan install directory and install directly in /usr/lib/. This additionally allows to reenable QA warnings for the libvulkan-imx package. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>