[meta-freescale] GPU 2d/3d acceleration not working in yocto qte-in-use-image

Carrillodominguez Francisco Alberto-B35153 B35153 at freescale.com
Mon Jul 15 09:28:38 PDT 2013


Hi Thomas thank you for your answer.


This is the question from the client:

The GPU 2D/3D acceleration is not working in the Yocto qte-in-use-image.  Looks like the "virtual/libgles2" and "-opengl es2 -openvg" are missing from imx6 in files qt4-embedded_4.8.4.bbappend and qt4-x11-free_4.8.4.bbappend, as shown below.
 
     DEPENDS_append_mx5 = " virtual/kernel virtual/libgles2"
     PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}"
     QT_GLFLAGS_mx5 = "-opengl es2 -openvg"
     QT_CONFIG_FLAGS_append_mx5 = " -I${STAGING_KERNEL_DIR}/include/"
 
     DEPENDS_append_mx6 = " virtual/kernel"
     PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"
     QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/"
 
Adding "virtual/libgles2" and "-opengl es2 -openvg" for the imx6 as below resulted in the attached build errors.
 
     DEPENDS_append_mx6 = " virtual/kernel virtual/libgles2"
     PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"
     QT_GLFLAGS_mx6 = "-opengl es2 -openvg"
     QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/"
 
What is the correct way to enable GPU 2D/3D acceleration for imx6 in the Yocto qte-in-use-image?

-----------------------------------------------------------------------------------------------------



In the log you can see that the EGL appears disabled. And OpenVG fails too.

>EGL (EGL/egl.h) disabled.

Francisco C.


-----Original Message-----
From: Thomas Senyk [mailto:thomas.senyk at pelagicore.com] 
Sent: Monday, July 15, 2013 11:12 AM
To: Carrillodominguez Francisco Alberto-B35153
Cc: Otavio Salvador; Sandoval Gonzalez Leonardo-B42214; meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] GPU 2d/3d acceleration not working in yocto qte-in-use-image

On Monday, 15 July, 2013 15:46:32 Carrillodominguez Francisco Alberto-B35153
wrote:
> We have a client that is using Qt4.8 compiled with Yocto dylan, they 
> report that the GPU acceleration is not enabled.  Talking with Leo, he 
> mentioned that the enablement to GPU have been done in one of the 
> working branches master-next or other one.
> 
> Could you help me to confirm which branch is the correct one, and if 
> it is true that the GPU acceleration would be enabled for Qt on that branch?
> 
> Is it possible for the client to use these branches ?

What GPU acceleration to you mean?
One doesn't simple 'enable GPU acceleration' :)

What does your application do, what do you want to achieve and what isn't working/isn't as fast as you expected?
"they report"? 'they'? 'report'?


> 
> 
> Francisco C.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.do_configure.951.zip
Type: application/x-zip-compressed
Size: 4216 bytes
Desc: log.do_configure.951.zip
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130715/226b061b/attachment.bin>


More information about the meta-freescale mailing list