| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
OE-Core mesa has been upgraded to version 21.2.1, which has all patches
included.
Drop all patches from the layer as they are not applicable anymore and
remove them from SRC_URI.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Addresses [1]
* all patches were taken from mesa's main branch and applied cleanly
* On X11/xfce first tests were performed without any patches: At least we do not see
a mouse pointer which is similar behavior as seen when introducing first
patch series.
* On X11/xfce moving windows is faster now / gtk-based applications still show
tiny artifacts / Qt/QML based application run without issues / glmark2-es2
results in 158 which is similar to mesa 21.0.3
* Could not test my weston images (use sddm as dm): All native recipes inheriting
cmake_qt5 are broken due to MACHINE_SOCARCH_FILTER - will open an issue for
that.
[1] https://github.com/Freescale/meta-freescale/issues/795
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
|
|
|
| |
Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Without this series mouse pointer was not visible and screen was updated only
when mouse was moved.
Patch series was suggested in [1]
[1] https://gitlab.freedesktop.org/mesa/mesa/-/issues/4584
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
|
|
|
|
|
|
| |
* armada sources are gone finally
* glmark2-es2 performance is almost doubled 87 -> 162
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
* we have several options to start an x-session. To not touch all, set
environment variables globally
* Inspired by [1]
[1] https://gitlab.freedesktop.org/mesa/mesa/-/issues/3721
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
|
|
|
|
|
|
|
| |
With swrast no longer supported, align the DRM parts with the other
non-DRM GPU parts, dropping osmesa, swrast, and dri, and restoring
gallium. This undoes 3b0fc73.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For NXP BSP, building graphics software for a part without GPU can fail with a
dependency issue:
```
ERROR: Nothing RPROVIDES 'libgl' (but /home/r60874/gatesgarth/sources/poky/meta/recipes-gnome/gtk+/gtk+3_3.24.22.bb, /home/r60874/gatesgarth/sources/poky/meta/recipes-graphics/cogl/cogl-1.0_1.22.8.bb RDEPENDS on or otherwise requires it)
```
This is fixed by adding a third case configuration using the default gallium and dri.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On dunfell parts without DRM (i.MX 6 and 7) break because dri is enabled:
```
| meson.build:455:4: ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa
```
The break does not occur on master since dri is effectively disabled if no dri
drivers are configured. Disabling dri outright is still a better implementation
on master, and of course is required on dunfell.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Seems swrast won't disable hardware acceleration and is still needed to prevent
a build break in xserver-xorg.
```
| Package dri was not found in the pkg-config search path.
| Perhaps you should add the directory containing `dri.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'dri' found
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OSMesa was originally added for i.MX 8 only. This limitation was recently dropped
accidentally. Additionally, the 8DualXLite has no GPU and fails to build:
```
| In file included from ../../../mesa-demos-8.4.0/src/osdemos/osdemo32.c:14:
| ../../../mesa-demos-8.4.0/src/util/glut_wrap.h:9:12: fatal error: GL/glut.h: No such file or directory
| 9 | # include <GL/glut.h>
| | ^~~~~~~~~~~
| compilation terminated.
```
Fix the OSMesa configuration by limiting it to parts with DRM.
Also, adding swrast prevents the use of hardware acceleration. Drop swrast.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
| |
Enabling OSMesa and disabling Gallium is needed when using use-nxp-bsp,
if we don't do this mesa raises error:
Problem encountered: building dri drivers require at least one windowing
system or classic osmesa
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
The SoCs supported by meta-freescale does not use vc4 and then we can
drop it from the features.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I2b8e04c54644315401315c442a5e2cec8624c3f3
|
|
|
|
|
|
|
| |
The mainline BSP can use same settings for all SoCs reducing the
complexity.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
The Freedreno allows the i.MX53 SoC to run using the mesa as
rendering, thus providing GPU support.
Change-Id: I9bf08503f8c6020d50a2395fc27b15cb797cbba6
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
The override imxgpu was added some time ago since it is
possible to have 3D support without 2D support.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
This allows a Weston build with swrast enabled to
successfully build and boot on imx8m-evk board.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After mesa update to 19.1.0, the OSMesa is not anymore explicitly set to
'classic' rather than defaults to 'none'. If the DRI driver is included
in the build and neither gl nor 'classic' osmesa is used - this causes
the build to fail.
This commit disables the gallium for mx8mm, sets the dri drivers to
swrast and explicitly defines the 'classic' osmesa to be built.
gallium is disabled since current support state of i.MX8M Mini GPU in
gallium is unknown.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using etnaviv,kmsro,vc4 as GALLIUMDRIVERS with imx25pdk machine
fails with error:
-----
/
| {standard input}: Assembler messages:
| {standard input}:252: Error: selected processor does not support `vldm ip,{q0,q1,q2,q3}' in ARM mode
| {standard input}:253: Error: selected processor does not support `vst1.8 d0,[lr],r8' in ARM mode
| {standard input}:254: Error: selected processor does not support `vst1.8 d1,[r3],r8' in ARM mode
| {standard input}:255: Error: selected processor does not support `vst1.8 d2,[lr],r8' in ARM mode
| {standard input}:256: Error: selected processor does not support `vst1.8 d3,[r3],r8' in ARM mode
| {standard input}:257: Error: selected processor does not support `vst1.8 d4,[lr],r8' in ARM mode
| {standard input}:258: Error: selected processor does not support `vst1.8 d5,[r3],r8' in ARM mode
| {standard input}:259: Error: selected processor does not support `vst1.8 d6,[lr]' in ARM mode
| {standard input}:260: Error: selected processor does not support `vst1.8 d7,[r3]' in ARM mode
| {standard input}:476: Error: selected processor does not support `vldm ip,{q0,q1,q2,q3}' in ARM mode
| {standard input}:477: Error: selected processor does not support `vst1.8 d0,[lr],r8' in ARM mode
| {standard input}:478: Error: selected processor does not support `vst1.8 d1,[r3],r8' in ARM mode
| {standard input}:479: Error: selected processor does not support `vst1.8 d2,[lr],r8' in ARM mode
| {standard input}:480: Error: selected processor does not support `vst1.8 d3,[r3],r8' in ARM mode
| {standard input}:481: Error: selected processor does not support `vst1.8 d4,[lr],r8' in ARM mode
| {standard input}:482: Error: selected processor does not support `vst1.8 d5,[r3],r8' in ARM mode
| {standard input}:483: Error: selected processor does not support `vst1.8 d6,[lr]' in ARM mode
| {standard input}:484: Error: selected processor does not support `vst1.8 d7,[r3]' in ARM mode
| {standard input}:659: Error: selected processor does not support `vldm r5,{q0,q1,q2,q3}' in ARM mode
\____
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mesa 19.0.0 remove imx from gallium drivers and add kmsro, vc4 is
a kmsro dependency, so we need to enable too.
mesa commit 41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2
Author: Rob Herring <robh@kernel.org>
Date: Thu Jan 24 14:03:54 2019 -0600
Switch imx to kmsro and remove the imx winsys
The kmsro winsys is equivalent to the imx winsys, so we can switch
to it and remove the imx one.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
Signed-off-by: André Draszik <andre.draszik@jci.com>
|
|
|
|
|
|
|
|
| |
Now that wayland 1.15 provides libwayland-egl, the main mesa recipe
removes libwayland-egl from its install, so no need to repeat that here.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
The condition for GLES support was incorrect and would
remove GLES for parts with both 2D and 3D. Fix the condition
so GLES is removed only for parts with 2D and no 3D.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
usr/include/KHR is a directory, remove using rm -rf command.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
Use imxgpu override for GPU 2D or 3D condition
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
This makes use of new imxgpu override as future i.MX8M addition
requires it as i.MX8M has 3D GPU but no 2D.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
- Remove wayland-egl.pc
- Remove KHR headers
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Fix variable order and remove references to non-existent
packages.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
The gbm provide is virtual/libgbm, not gbm. Fix it.
Change-Id: Iead2f2f1bc320136f9f75730e69afe8c7ec59b11
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
The file /usr/lib/pkgconfig/wayland-egl.pc is installed by imx-gpu-viv
and we need to remove from mesa.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
to change just the PACKAGECONFIG[x11] setting (without
expansion), instead of overwriting EXTRA_OECONF (with
expansion).
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
This enables the Gallium backend and its Etnaviv driver.
Change-Id: I8557932299f54d77d10015ea125cd26322c7c07b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
The recipe was still using the mx6 specific overrides, which is
wrong. We should use the feature overrides so more SoCs can be dealt
in the generic way.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
| |
Redo configuration using machine overrides extender.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Configure the package using the existence of 2D and/or
3D hardware.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
If distro features contains wayland, we assume a wayland backend
and configure the package accordingly.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Changes to the package configuration should be applied only
to i.MX builds.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
The recipe has been reworked to use the 'imxgpu2d' feature
override. This override has been taken as it is the common only on the
matching overrides.
Change-Id: Id9b66b2c8f7c9ebff3f7ee9413700a6b42b8278d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Update patch Add-OpenVG-demos-to-support-wayland.patch due to
changes applied in OE-Core:b851cb0a.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The mesa-gl is not in sure for the i.MX6 SoC from Quad, DualLite,
SoloX and SoloLite families. The full featured, but trimmed, mesa is
used instead.
This fixes following warning:
,----
| NOTE: multiple providers are available for runtime libgl-mesa-dev (mesa, mesa-gl)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match libgl-mesa-dev
| NOTE: multiple providers are available for runtime mesa-driver-swrast (mesa, mesa-gl)
| NOTE: consider defining a PREFERRED_PROVIDER entry to match mesa-driver-swrast
`----
Change-Id: I082b8f7a739e4ea3cfe5f1760c7163d118e9883c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|