How do I build for imx6qsabresd with mesa opengl?

Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I build for imx6qsabresd with mesa opengl?

Contributor III

I am using the imx6qsabresd board. I have build the Yocto image core-image-x11. I get an error in the Xorg.log that the vivante driver lacks extension support. I am now trying to build a pure software (mesa) opengl. No matter what I do, I still get the vivante driver gpu-viv-bin-mx6q.

Here is what I did (to try to get software only support):

I edited


# mx6 GPU libraries
#PREFERRED_PROVIDER_virtual/egl_mx6 ?= "gpu-viv-bin-mx6q"
PREFERRED_PROVIDER_virtual/egl_mx6 ?= "mesa"
#PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "gpu-viv-bin-mx6q"
PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "mesa"
#PREFERRED_PROVIDER_virtual/libgles1_mx6 ?= "gpu-viv-bin-mx6q"
PREFERRED_PROVIDER_virtual/libgles1_mx6 ?= "mesa"
#PREFERRED_PROVIDER_virtual/libgles2_mx6 ?= "gpu-viv-bin-mx6q"
PREFERRED_PROVIDER_virtual/libgles2_mx6 ?= "mesa" 

However, when I bitbake core-image-x11, I see the same messages in Xorg.log and glxinfo says the driver is Vivante coporation.

Message was edited by: Dominic Amann to try to get <pre> tags working properly

Message was edited by: Dominic Amann to re-phrase as a question

0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hi Dominic

I guess the line on should be:

PREFERRED_PROVIDER_virtual/egl_mx6 ?= "gpu-viv-bin-mx6q"

PREFERRED_PROVIDER_virtual/libgles1_mx6q = "gpu-viv-bin-mx6q"

PREFERRED_PROVIDER_virtual/libgl_mx6q = "gpu-viv-bin-mx6q"

Please check if you already have the patches for GPU on fsl yocto BSP, i.MX 6 D/Q/DL/S/SL Linux 3.10.17_1.0.1 Patch Release

If in any case you are usng the fsl community bsp, the latest build on 3.10.31-1, the master includes changes as:

gpu-viv-bin-mx6q: Upgrade to 3.10.31-1.1.0 beta

mesa: Update recipe

Remove preferred version for directfb imx-base:

Remove preferred version for xserver-xorg imx-base:

Add i.MX6 SoloX mesa-demos:

Include patch to add extension header xf86-video-imxfb-vivante:

Upgrade to 3.10.31-1.1.0 beta gpu-viv-g2d: Upgrade to 3.10.31-1.1.0 beta

Hope this helps

0 Kudos