- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.0,glibc-2.24.
Is this "internal error" caused by the glibc, gcc version difference?
Thank you.
Best Regards,
Qiang Xiao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
