[meta-freescale] [FEATURE meta-fsl-arm PATCH 07/15] glmark2: Refactor code to use the new overrides

Prabhu Sundararaj prabhu.sundararaj at nxp.com
Thu Sep 1 15:22:07 PDT 2016


That is right. Someone have to provide gles2 either mesa or Viv. For slevk, there is no 3D GPU, so Viv drivers will not work.
So the error is correct.

Best Regards,
Prabhu

-----Original Message-----
From: Otavio Salvador [mailto:otavio.salvador at ossystems.com.br] 
Sent: Thursday, September 01, 2016 5:19 PM
To: Otavio Salvador <otavio at ossystems.com.br>
Cc: Prabhu Sundararaj <prabhu.sundararaj at nxp.com>; meta-freescale Mailing List <meta-freescale at yoctoproject.org>; White Weng <white.weng at nxp.com>
Subject: Re: [meta-freescale] [FEATURE meta-fsl-arm PATCH 07/15] glmark2: Refactor code to use the new overrides

On Tue, Aug 30, 2016 at 10:55 AM, Otavio Salvador <otavio at ossystems.com.br> wrote:
> On Tue, Aug 30, 2016 at 10:50 AM, Prabhu Sundararaj 
> <prabhu.sundararaj at nxp.com> wrote:
>> For Sololite, there is no 3D HW accelerator, it have to use gl/gles provider from mesa.
>> If there is no GL/GLES provider, the app is not compatible.
>>
>> So no need of imxgpu2d for this case.
>
> Good but this should be a new patch; this one is to migrate current 
> recipe not to change its behaviour.

This does not work in this case. The mesa seems to not be providing the GLES.

Using the patch:

@@ -1,4 +1,2 @@
 PACKAGECONFIG_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES',
'wayland opengl', 'wayland-gles2', \
                                 bb.utils.contains('DISTRO_FEATURES',
'x11 opengl',     'x11-gl x11-gles2', '', d), d)}"
-PACKAGECONFIG_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES',
'wayland opengl', '', \
-                                bb.utils.contains('DISTRO_FEATURES',
'x11 opengl',     'x11-gl', '', d), d)}"

The build for imx6slevk triggers.

ERROR: Required build target 'glmark2' has no buildable providers.
Missing or unbuildable dependency chain was: ['glmark2', 'virtual/libgles2']



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list