| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstream project has issues with new glibc dropping __libc_dlopen_mode
and __libc_dlsym functions, which were initially marked as
GLIBC_PRIVATE.
Since according to [1] there is no solution for upstream at the moment,
exclude the NXP fork of apitrace from builds.
meta-oe has similar exclusion commit ba94b0fef ("apitrace: Exclude from
builds with glibc 2.34+") for upstream component.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Link: [1]: https://github.com/apitrace/apitrace/issues/756
|
|
|
|
|
|
|
|
|
|
| |
Adds fixes for _imx, _imxdpu, _imxdrm, _imxgpu, _imxgpu3d,
virtual PREFERRED_PROVIDER versions
Fix other places for imx/imxdpu/imxdrm overrides
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With 'use-nxp-bsp' xwayland must not be configured to use glamour. Set
the now available package configs accordingly.
Prevents compile time errors like:
| ../xwayland-21.1.1/hw/xwayland/xwayland-present.c:61:49: error: invalid application of 'sizeof' to incomplete type 'struct xwl_present_window'
| 61 | xwl_present_window = calloc (1, sizeof (struct xwl_present_window));
...
| ../xwayland-21.1.1/hw/xwayland/xwayland-present.c:450:14: error: implicit declaration of function 'xwl_glamor_pixmap_get_wl_buffer' [-Werror=implicit-function-declaration]
| 450 | buffer = xwl_glamor_pixmap_get_wl_buffer(pixmap);
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As it breaks the build on master since [1]. Move bbappend files to
dynamic layers since recipes were moved to meta-gnome
Fixes:
ERROR: No recipes in default available for:
/home/bdx-iot/ci/meta-freescale/recipes-graphics/clutter/clutter-1.0_%.bbappend
/home/bdx-iot/ci/meta-freescale/recipes-graphics/cogl/cogl-1.0_%.bbappend
[1] - http://git.openembedded.org/openembedded-core/commit/?id=c4f167d05f58f35a6b94e8dbc4721ab67e7e71eb
Signed-off-by: Pierre-Jean Texier <texier.pj2@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
affects the following SoCs:
-mx6q
-mx6dl
-mx6sx
-mx6sl
-mx7ulp
-mx8qm
-mx8mm
-mx8mp
-mx8qxp
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
|
|
|
|
|
|
|
| |
glamor acceleration for i.MX 8 with GPU was dropped accidentally.
Fixes: f5d3b67
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
| |
This partially reverts 676349ec07308ab9e7a62a2474506b8f1c66a603 .
While there's no explicit runtime dependency, without a kernel module,
nothing that uses EGL / OpenGL ES works. One example is weston, which,
without that kernel module, does not run at all.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
|
|
|
|
|
| |
xserver-xorg-wayland was replaced in OE-core with a standalone xwayland
recipe, so the xwayland dependency has to be adapted.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
The package libgal-imx does not have a runtime dependency on
kernel-module-imx-gpu-viv, so drop it.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
- drop redundant FILESEXTRAPATHS_prepend line
- co-locate SRC_URI mods
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
The patch 0003-Remove-check-for-useSIGIO-option.patch is applied for
both imxgpu and imxgpu2d overrides. imxgpu is enough.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Inspired by [1-2]
[1] https://gitlab.freedesktop.org/mesa/mesa/-/issues/4584
[2] https://gitlab.freedesktop.org/mesa/mesa/-/issues/3721
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
|
|
|
|
|
|
| |
Not necessary any more / sources are finally gone
Signed-off-by: Andreas Müller <schnitzeltony@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>
|
|
|
|
|
|
|
| |
Show a warning instead of raising an error when uncomment function can't
found the text. This allows using a custom weston.ini file in bbappend.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
| |
Enable glamor (the default) so legacy x11 apps will get GPU
acceleration.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The removal of swrast support from mesa also removes dri support from
mesa for i.MX with DRM, so disable dri.
glx support depends on dri, so disable glx.
xwayland breaks without glx, so backport a patch that fixes the break.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.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>
|
|
|
|
|
|
|
| |
Fix error "Commented setting '#use-g2d=1' not found"
when building for some imx machines.
Signed-off-by: Vinicius Aquino <voa.aquino@gmail.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>
|
|
|
|
|
|
|
| |
eglretrace was not available for i.MX 6 and 7 on framebuffer or wayland.
For wayland, waffle is enabled for 6 and 7, matching i.MX 8.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
| |
- Add repaint-window for all i.MX 8 to support 4K display
- Add enable-overlay-view option as comment
- Enable touchscreen_calibrator
- Update transform values which were re-worked for weston 9.0
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>
|
|
|
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
0001-weston-launch-Provide-a-default-version-that-doesn-t.patch update taken
from NXP BSP.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
This package uses EULA v17 October 2020.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
This package uses EULA v17 October 2020.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
imx-gpu-viv provides the OpenCL C++ headers which meta-openembedded also
provides in the opencl-clhpp recipe. Add opencl-clhpp to PROVIDES and
have a PREFERRED_PROVIDER_opencl-clhpp decide on which to build.
libgbm-imx got additional shared objects, set FILES accordingly.
This package uses EULA v17 October 2020.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
|
|
|
|
| |
NXP release imx_5.4.70_2.3.0.
Drop the explicit PACKAGE_ARCH setting. This is done by
fsl-dynamic-packagearch.bbclass.
The musl-ioctl.patch has been upstreamed.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
| |
Both the machines do support g2d and this fix graphical artifacts
when using a mouse
Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since opencv depends on virtual/opencl-icd, restore virtual/opencl-icd to the
recipes provided so imx-gpu-viv is properly selected. Fixes:
```
ERROR: Nothing PROVIDES 'virtual/opencl-icd' (but /opt/work/upstream/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_4.5.0.bb DEPENDS on or otherwise requires it). Close matches:
virtual/libc
```
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>
|
|
|
|
|
|
|
|
| |
The existing OpenCL recipes opencl-headers and opencl-icd-loader are dependencies
for clinfo. In order to build clinfo with imx-gpu-viv as provider, fix imx-gpu-viv
to provide the same recipe names.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit includes the following changes:
- f13d40a3 compositor-drm: Add environmen variables configuration in weston.ini
- 1e1f6fb5 compositor-drm: display will be blank when weston restart with rotate
- 27cde525 gl-renderer: Video playback always flashes and jitteres on the top-right corner
- e08a9c3d g2d-renderer: UI is abnormal using G2D compositor
- 81a7538f gl-renderer: mm06 has performance dropped
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
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 i.MX GPU package libvulkan-imx is missing at runtime because it is
dynamically loaded and has no implicit mechanism for inclusion in the
rootfs. Add the package explicitly.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|