imx6 imx-gpu-viv-6.2.2 error happens when loading libGAL.so

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

imx6 imx-gpu-viv-6.2.2 error happens when loading libGAL.so

Jump to solution
1,635 Views
westbrook
Contributor III

Hi guys,

I am using imx6 solo with X11, kernel 4.9.11, gpu driver 6.2.2 in kernel, and I add following gpu packages to filesystem:

imx-gpu-viv-6.2.2

gpu-viv-g2d-6.2.2

xf86-video-imx-viv-6.2.2.p0

When I start the X11, following error shows:

[    45.610] (EE) Failed to load /usr/lib/xorg/modules/drivers/vivante_drv.so: /usr/lib/libGAL.so: internal error

 

My question:

1. why this error happened?

2.in imx-gpu-viv package, there is no libVIVANTE.so, how to get this file?

Thanks in advance.

Labels (4)
0 Kudos
1 Solution
1,106 Views
westbrook
Contributor III

Hi Bio,

I have found the issue, this imx-gpu-viv-6.2.2.p0 is only for hardfp, I set my timesys to use hardfp in menuconfig. However the configure options is still softfp. Which casue this error. Application compiled with softfp can not load hardfp modules.

Corrections:

--with-float=softfp

change to

--with-float=hard

Thank you.

I will see whether it all goes right.

BR

Xiao 

View solution in original post

0 Kudos
4 Replies
1,106 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Xiao,

The 4.9.11 comes by default with Libvivante, rebuild yocto for X11 again, you don´t have to add nothing to your system.

regard

0 Kudos
1,107 Views
westbrook
Contributor III

Hi Bio,

I have found the issue, this imx-gpu-viv-6.2.2.p0 is only for hardfp, I set my timesys to use hardfp in menuconfig. However the configure options is still softfp. Which casue this error. Application compiled with softfp can not load hardfp modules.

Corrections:

--with-float=softfp

change to

--with-float=hard

Thank you.

I will see whether it all goes right.

BR

Xiao 

0 Kudos
1,106 Views
westbrook
Contributor III

Hi Bio,

Thanks for you reply.

I am using timesys, and I update the filesystem packages of timesys factory. I have built the yocto 4.9.11-1.0.0. I found that the gpu packages in yocto is 

imx-gpu-viv-6.2.2

gpu-viv-g2d-6.2.2

xf86-video-imx-viv-6.2.2.p0

So I porting these packages to timesys factory. Here are some difference of gcc and glibc.

yocto:

Glibc-2.24

Gcc-6.2.0

timesys:

Glibc-2.27

Gcc-4.9.2

I use strings to get information of libGAL.so. In imx-gnu-viv-6.2.2.p0-aarch32 package, libGAL.so can see gcc-6.2.0glibc-2.24.

Is this "internal error" caused by the glibc, gcc version difference?

Thank you.

Best Regards,

Qiang Xiao

0 Kudos
1,106 Views
westbrook
Contributor III

Hi Bio,

I checked the imx-gpu-viv-6.2.2.p0 package, it does not include libVIVANTE.so. And in the imx-gpu-viv-5.0.11.p8.6 package, I can see the file libVIVANTE.so, is this normal?

Thank you.

0 Kudos