All of lore.kernel.org
 help / color / mirror / Atom feed
* Regression: X-Driver vivante_drv.so undefined symbol
@ 2018-07-16 13:19 Max Krummenacher
  2018-07-31 17:34 ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Max Krummenacher @ 2018-07-16 13:19 UTC (permalink / raw)
  To: meta-freescale Mailing List

[-- Attachment #1: Type: text/plain, Size: 736 bytes --]

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.

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


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

Regards
Max

[-- Attachment #2: Type: text/html, Size: 1072 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: X-Driver vivante_drv.so undefined symbol
  2018-07-16 13:19 Regression: X-Driver vivante_drv.so undefined symbol Max Krummenacher
@ 2018-07-31 17:34 ` Otavio Salvador
  2018-08-02 18:49   ` Tom Hochstein
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2018-07-31 17:34 UTC (permalink / raw)
  To: Max Krummenacher, Prabhu Sundararaj, Tom Hochstein
  Cc: meta-freescale Mailing List

Prabhu, Tom,

On Mon, Jul 16, 2018 at 10:19 AM, Max Krummenacher <max.oss.09@gmail.com> wrote:
> 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.
>
> root@apalis-imx6:~# mv /usr/bin/xinit /usr/bin/xinit.bin
> root@apalis-imx6:~# echo 'LD_PRELOAD=/usr/lib/libg2d-viv.so xinit.bin $@' >
> /usr/bin/xinit
> root@apalis-imx6:~# chmod ugo+x /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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: X-Driver vivante_drv.so undefined symbol
  2018-07-31 17:34 ` Otavio Salvador
@ 2018-08-02 18:49   ` Tom Hochstein
  2018-08-02 20:29     ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Hochstein @ 2018-08-02 18:49 UTC (permalink / raw)
  To: Otavio Salvador, Max Krummenacher, Prabhu Sundararaj
  Cc: meta-freescale Mailing List

Hi Otavio,

This is fixed by one of the patches I submitted:

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?

Tom

> -----Original Message-----
> From: Otavio Salvador [mailto:otavio.salvador@ossystems.com.br]
> Sent: Tuesday, July 31, 2018 12:34 PM
> To: Max Krummenacher <max.oss.09@gmail.com>; Prabhu Sundararaj
> <prabhu.sundararaj@nxp.com>; Tom Hochstein <tom.hochstein@nxp.com>
> Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
> Subject: Re: [meta-freescale] Regression: X-Driver vivante_drv.so undefined
> symbol
> 
> Prabhu, Tom,
> 
> On Mon, Jul 16, 2018 at 10:19 AM, Max Krummenacher
> <max.oss.09@gmail.com> wrote:
> > 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.
> >
> > root@apalis-imx6:~# mv /usr/bin/xinit /usr/bin/xinit.bin
> > root@apalis-imx6:~# echo 'LD_PRELOAD=/usr/lib/libg2d-viv.so xinit.bin
> > $@' > /usr/bin/xinit root@apalis-imx6:~# chmod ugo+x /usr/bin/xinit
> >
> >
> > Did someone see this also?
> > Is anyone working on this?
> 
> Could you guys look at it?
> 
> --
> Otavio Salvador                             O.S. Systems
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fww
> w.ossystems.com.br&amp;data=02%7C01%7Ctom.hochstein%40nxp.com%7
> C3f50fd23e6474c9bffd008d5f70bdbbd%7C686ea1d3bc2b4c6fa92cd99c5c3016
> 35%7C0%7C0%7C636686552661655797&amp;sdata=12ZfCNKmy7duaMHbgVs
> vruhRRK4PYSDjaU5Fy4yv%2BG4%3D&amp;reserved=0
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcod
> e.ossystems.com.br&amp;data=02%7C01%7Ctom.hochstein%40nxp.com%7
> C3f50fd23e6474c9bffd008d5f70bdbbd%7C686ea1d3bc2b4c6fa92cd99c5c3016
> 35%7C0%7C0%7C636686552661665801&amp;sdata=ee3Ju3qP2zRor%2F0nJFl0
> T3LU%2FCsiuRy4HkPr8WdeS7U%3D&amp;reserved=0
> Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: X-Driver vivante_drv.so undefined symbol
  2018-08-02 18:49   ` Tom Hochstein
@ 2018-08-02 20:29     ` Otavio Salvador
  2018-08-03 21:10       ` Max Krummenacher
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2018-08-02 20:29 UTC (permalink / raw)
  To: Tom Hochstein; +Cc: meta-freescale Mailing List, Prabhu Sundararaj

On Thu, Aug 2, 2018 at 3:49 PM, Tom Hochstein <tom.hochstein@nxp.com> wrote:
> This is fixed by one of the patches I submitted:
>
> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: X-Driver vivante_drv.so undefined symbol
  2018-08-02 20:29     ` Otavio Salvador
@ 2018-08-03 21:10       ` Max Krummenacher
  2018-08-03 23:31         ` Pierluigi Passaro
  0 siblings, 1 reply; 7+ messages in thread
From: Max Krummenacher @ 2018-08-03 21:10 UTC (permalink / raw)
  To: Otavio Salvador, Tom Hochstein
  Cc: meta-freescale Mailing List, Prabhu Sundararaj

Hi

Am Donnerstag, den 02.08.2018, 17:29 -0300 schrieb Otavio Salvador:
> On Thu, Aug 2, 2018 at 3:49 PM, Tom Hochstein <tom.hochstein@nxp.com> wrote:
> > This is fixed by one of the patches I submitted:
> > 
> > https://lists.yoctoproject.org/pipermail/meta-freescale/2018-July/023008.html

This patch does fix the issue.
Thanks.

Max Krummenacher

> > 
> > 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.
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: X-Driver vivante_drv.so undefined symbol
  2018-08-03 21:10       ` Max Krummenacher
@ 2018-08-03 23:31         ` Pierluigi Passaro
  2018-08-06 12:58           ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Pierluigi Passaro @ 2018-08-03 23:31 UTC (permalink / raw)
  To: meta-freescale

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

On 03/08/2018 23:10, Max Krummenacher wrote:
> Hi
>
> Am Donnerstag, den 02.08.2018, 17:29 -0300 schrieb Otavio Salvador:
>> On Thu, Aug 2, 2018 at 3:49 PM, Tom Hochstein <tom.hochstein@nxp.com> wrote:
>>> This is fixed by one of the patches I submitted:
>>>
>>> https://lists.yoctoproject.org/pipermail/meta-freescale/2018-July/023008.html
> This patch does fix the issue.
> Thanks.
>
> Max Krummenacher
>
>>> 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.
>>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Regression: X-Driver vivante_drv.so undefined symbol
  2018-08-03 23:31         ` Pierluigi Passaro
@ 2018-08-06 12:58           ` Otavio Salvador
  0 siblings, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2018-08-06 12:58 UTC (permalink / raw)
  To: Pierluigi Passaro; +Cc: meta-freescale Mailing List

On Fri, Aug 3, 2018 at 8:31 PM, Pierluigi Passaro
<pierluigi.passaro@phoenixsoftware.it> wrote:
> 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.

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-08-06 12:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16 13:19 Regression: X-Driver vivante_drv.so undefined symbol Max Krummenacher
2018-07-31 17:34 ` Otavio Salvador
2018-08-02 18:49   ` Tom Hochstein
2018-08-02 20:29     ` Otavio Salvador
2018-08-03 21:10       ` Max Krummenacher
2018-08-03 23:31         ` Pierluigi Passaro
2018-08-06 12:58           ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.