[meta-freescale] i.MX6, Mesa, GLES2, Vivante GC320 + GC880

Gaëtan Carlier gcembed at gmail.com
Thu May 9 04:39:31 PDT 2019


Hi,

I have a board with a i.MX6 DL which has a Vivante GC320 (2D) and GC880 (3D) GPUs.
I successfully build an image on Debian 8 using rocko branches of the following meta: meta-poky, meta-yocto-bsp, meta-freescale, meta-etnaviv
The Kernel used is imx_4.9.88_2.0.0_ga with CONFIG_DRM_VIVANTE enabled

The following packages were built :
    - eglinfo-x11 armv7ahf_neon_imx 1.0.0
    - libdrm-armada0 armv7ahf_neon 0.1+git0+6b461c163b
    - libdrm-etnaviv1 armv7ahf_neon 2.4.83
    - libegl-mesa armv7ahf_neon_imx 17.1.7
    - libgl-mesa armv7ahf_neon_imx 17.1.7
    - libglapi0 armv7ahf_neon_imx 17.1.7
    - libgles1-mesa armv7ahf_neon_imx 17.1.7
    - libgles2-mesa armv7ahf_neon_imx 17.1.7
    - mesa armv7ahf_neon_imx 17.1.7
    - mesa-demos armv7ahf_neon_imx 8.3.0
    - xf86-video-armada armv7ahf_neon 0.1+git0+a4306d9717_f64d77abbb
    - xserver-xorg armv7ahf_neon_imx 1.19.3

Now that I am using Debian 10, I had to switch to Warrior branch but when I try to build the image, I have several errors due to mesa-demos or any other OpenGL demos packages because nothing provides virtual/libegl. I try several configuration enabling X11, disabling X11 and only use gles2, ... but each time there is an different error "Nothing provides virtal/xxx". Sometimes it talks me about imx-gpu-viv package.
On Warrior branch, Mesa is now 19.x and meta-etnaviv is just used to have the xorg.conf file as everything else is now upstreamed in mesa, libdrm and kernel


conf/local.conf is the clean/original generated when I called "source oe-init-build-env".
conf/bblayers.conf only has the following meta enabled : meta, meta-poky, meta-yocto-bsp and meta-freescale. 

The command I used is :
MACHINE=imx6qdl bitbake core-image-x11

Here is the resulting error:
ERROR: Nothing PROVIDES 'virtual/egl' (but /home/gc/Documents/projects/dev_git/imx28/poky/meta/recipes-gnome/gtk+/gtk+3_3.24.5.bb, /home/gc/Documents/projects/dev_git/imx28/poky/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb DEPENDS on or otherwise requires it). Close matches:
  virtual/kernel
  virtual/perf
  virtual/mesa
NOTE: Runtime target 'matchbox-terminal' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['matchbox-terminal', 'gtk+3', 'virtual/egl']
NOTE: Runtime target 'packagegroup-core-x11-base' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-x11-base', 'matchbox-terminal', 'gtk+3', 'virtual/egl']
ERROR: Required build target 'core-image-x11' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-x11', 'packagegroup-core-x11-base', 'matchbox-terminal', 'gtk+3', 'virtual/egl']


The goal is also to use the kernel 5.x

Thank you for your help.

Best regards,
Gaëtan.


More information about the meta-freescale mailing list