Discussion:
[meta-freescale] Regression: X-Driver vivante_drv.so undefined symbol
Max Krummenacher
2018-07-16 13:19:29 UTC
Permalink
Hi

With distro "fslc-x11" and fsl-image-multimedia-full X errors out at boot
time with the following error message:

/usr/bin/Xorg: symbol lookup error:
/usr/lib/xorg/modules/drivers/vivante_drv.so: undefined symbol: g2d_open

Preloading the libg2d-viv.so library fixes it, so I guess that at link time
the linkier is not given the complete list of shared objects to link.

The following lets X start, however LD_PRELOAD is IMHO not a solution.

***@apalis-imx6:~# mv /usr/bin/xinit /usr/bin/xinit.bin
***@apalis-imx6:~# echo 'LD_PRELOAD=/usr/lib/libg2d-viv.so xinit.bin $@' >
/usr/bin/xinit
***@apalis-imx6:~# chmod ugo+x
/usr/bin/xinit


Did someone see this also?
Is anyone working on this?

Regards
Max
Otavio Salvador
2018-07-31 17:34:19 UTC
Permalink
Prabhu, Tom,
Post by Max Krummenacher
With distro "fslc-x11" and fsl-image-multimedia-full X errors out at boot
/usr/lib/xorg/modules/drivers/vivante_drv.so: undefined symbol: g2d_open
Preloading the libg2d-viv.so library fixes it, so I guess that at link time
the linkier is not given the complete list of shared objects to link.
The following lets X start, however LD_PRELOAD is IMHO not a solution.
/usr/bin/xinit
Did someone see this also?
Is anyone working on this?
Could you guys look at it?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
--
Otavio Salvador
2018-08-02 20:29:59 UTC
Permalink
https://lists.yoctoproject.org/pipermail/meta-freescale/2018-July/023008.html
I'm still working on V2.
Can you take the patch from the initial submission and push it?
Sure; I applied it and few others.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
--
Max Krummenacher
2018-08-03 21:10:19 UTC
Permalink
Hi
Post by Otavio Salvador
https://lists.yoctoproject.org/pipermail/meta-freescale/2018-July/023008.html
This patch does fix the issue.
Thanks.

Max Krummenacher
Post by Otavio Salvador
I'm still working on V2.
Can you take the patch from the initial submission and push it?
Sure; I applied it and few others.
--
Pierluigi Passaro
2018-08-03 23:31:23 UTC
Permalink
Hi,
this patch fixes the linking issue, but glinfo/glxinfo still cause
xserver to hang on imx6dlsadresd.

I would suggest reverting this commit:
https://github.com/Freescale/meta-freescale/commit/dca6c66e5710938a3ea035b09b86ca3d1a6915c6#diff-e975f49fc1e0655a64fae968221a38d0
The drm-update-arm.patch is still required by libdrm_2.4.84.imx to work
with 3D accelerations on iMX6.

Thanks
Regards
Pierluigi
Post by Max Krummenacher
Hi
Post by Otavio Salvador
https://lists.yoctoproject.org/pipermail/meta-freescale/2018-July/023008.html
This patch does fix the issue.
Thanks.
Max Krummenacher
Post by Otavio Salvador
I'm still working on V2.
Can you take the patch from the initial submission and push it?
Sure; I applied it and few others.
--
Otavio Salvador
2018-08-06 12:58:23 UTC
Permalink
On Fri, Aug 3, 2018 at 8:31 PM, Pierluigi Passaro
this patch fixes the linking issue, but glinfo/glxinfo still cause xserver
to hang on imx6dlsadresd.
https://github.com/Freescale/meta-freescale/commit/dca6c66e5710938a3ea035b09b86ca3d1a6915c6#diff-e975f49fc1e0655a64fae968221a38d0
The drm-update-arm.patch is still required by libdrm_2.4.84.imx to work with
3D accelerations on iMX6.
Please prepare a patch with this fix :-)
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
--
Loading...