All of lore.kernel.org
 help / color / mirror / Atom feed
* X11 on i.MX5
@ 2014-07-29 16:05 Gary Thomas
  2014-07-29 16:37 ` Eric Bénard
  0 siblings, 1 reply; 11+ messages in thread
From: Gary Thomas @ 2014-07-29 16:05 UTC (permalink / raw)
  To: meta-freescale

I'm trying to run X11 on my i.MX53 system.  Using the default
(_mx5) setup from meta-fsl-arm, I have this xorg.conf:
Section "Device"
     Identifier  "i.MX Accelerated Framebuffer Device"
     Driver      "imx"
     Option      "fbdev"     "/dev/fb0"
     # This option only recognized when "mxc_epdc_fb" frame buffer driver in
     # use.  Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),
     # and "Y8INV" (8-bit gray inverted).
     Option      "FormatEPDC"    "Y8INV"
EndSection

Section "ServerFlags"
     Option "BlankTime"  "0"
     Option "StandbyTime"  "0"
     Option "SuspendTime"  "0"
     Option "OffTime"  "0"
EndSection

When I try to start X, I get these errors:
[2194421.680] (II) LoadModule: "glx"
[2194421.681] (WW) Warning, couldn't open module glx
[2194421.681] (II) UnloadModule: "glx"
[2194421.681] (II) Unloading glx
[2194421.681] (EE) Failed to load module "glx" (module does not exist, 0)
[2194421.681] (II) LoadModule: "imx"
[2194421.681] (II) Loading /usr/lib/xorg/modules/drivers/imx_drv.so
[2194421.693] (EE) Failed to load /usr/lib/xorg/modules/drivers/imx_drv.so: libgsl-fsl.so.1: cannot open shared object fi
le: No such file or directory
[2194421.693] (II) UnloadModule: "imx"
[2194421.693] (II) Unloading imx
[2194421.693] (EE) Failed to load module "imx" (loader failed, 7)
[2194421.693] (EE) No drivers available.

Any ideas what I need to do to get X11 running on this target?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: X11 on i.MX5
  2014-07-29 16:05 X11 on i.MX5 Gary Thomas
@ 2014-07-29 16:37 ` Eric Bénard
  2014-07-29 16:52   ` Gary Thomas
  0 siblings, 1 reply; 11+ messages in thread
From: Eric Bénard @ 2014-07-29 16:37 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

Hi Gary,

Le Tue, 29 Jul 2014 10:05:30 -0600,
Gary Thomas <gary@mlbassoc.com> a écrit :

> 
> I'm trying to run X11 on my i.MX53 system.  Using the default
> (_mx5) setup from meta-fsl-arm, I have this xorg.conf:
> Section "Device"
>      Identifier  "i.MX Accelerated Framebuffer Device"
>      Driver      "imx"
>      Option      "fbdev"     "/dev/fb0"
>      # This option only recognized when "mxc_epdc_fb" frame buffer driver in
>      # use.  Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),
>      # and "Y8INV" (8-bit gray inverted).
>      Option      "FormatEPDC"    "Y8INV"
> EndSection
> 
> Section "ServerFlags"
>      Option "BlankTime"  "0"
>      Option "StandbyTime"  "0"
>      Option "SuspendTime"  "0"
>      Option "OffTime"  "0"
> EndSection
> 
> When I try to start X, I get these errors:
> [2194421.680] (II) LoadModule: "glx"
> [2194421.681] (WW) Warning, couldn't open module glx
> [2194421.681] (II) UnloadModule: "glx"
> [2194421.681] (II) Unloading glx
> [2194421.681] (EE) Failed to load module "glx" (module does not exist, 0)
> [2194421.681] (II) LoadModule: "imx"
> [2194421.681] (II) Loading /usr/lib/xorg/modules/drivers/imx_drv.so
> [2194421.693] (EE) Failed to load /usr/lib/xorg/modules/drivers/imx_drv.so: libgsl-fsl.so.1: cannot open shared object fi
> le: No such file or directory
> [2194421.693] (II) UnloadModule: "imx"
> [2194421.693] (II) Unloading imx
> [2194421.693] (EE) Failed to load module "imx" (loader failed, 7)
> [2194421.693] (EE) No drivers available.
> 
> Any ideas what I need to do to get X11 running on this target?
> 
it seems this package is missing on your target : libgsl-fsl-mx51

Eric


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

* Re: X11 on i.MX5
  2014-07-29 16:37 ` Eric Bénard
@ 2014-07-29 16:52   ` Gary Thomas
  2014-07-29 19:47     ` Otavio Salvador
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Gary Thomas @ 2014-07-29 16:52 UTC (permalink / raw)
  To: Eric Bénard; +Cc: meta-freescale

On 2014-07-29 10:37, Eric Bénard wrote:
> Hi Gary,
>
> Le Tue, 29 Jul 2014 10:05:30 -0600,
> Gary Thomas <gary@mlbassoc.com> a écrit :
>
>>
>> I'm trying to run X11 on my i.MX53 system.  Using the default
>> (_mx5) setup from meta-fsl-arm, I have this xorg.conf:
>> Section "Device"
>>       Identifier  "i.MX Accelerated Framebuffer Device"
>>       Driver      "imx"
>>       Option      "fbdev"     "/dev/fb0"
>>       # This option only recognized when "mxc_epdc_fb" frame buffer driver in
>>       # use.  Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),
>>       # and "Y8INV" (8-bit gray inverted).
>>       Option      "FormatEPDC"    "Y8INV"
>> EndSection
>>
>> Section "ServerFlags"
>>       Option "BlankTime"  "0"
>>       Option "StandbyTime"  "0"
>>       Option "SuspendTime"  "0"
>>       Option "OffTime"  "0"
>> EndSection
>>
>> When I try to start X, I get these errors:
>> [2194421.680] (II) LoadModule: "glx"
>> [2194421.681] (WW) Warning, couldn't open module glx
>> [2194421.681] (II) UnloadModule: "glx"
>> [2194421.681] (II) Unloading glx
>> [2194421.681] (EE) Failed to load module "glx" (module does not exist, 0)
>> [2194421.681] (II) LoadModule: "imx"
>> [2194421.681] (II) Loading /usr/lib/xorg/modules/drivers/imx_drv.so
>> [2194421.693] (EE) Failed to load /usr/lib/xorg/modules/drivers/imx_drv.so: libgsl-fsl.so.1: cannot open shared object fi
>> le: No such file or directory
>> [2194421.693] (II) UnloadModule: "imx"
>> [2194421.693] (II) Unloading imx
>> [2194421.693] (EE) Failed to load module "imx" (loader failed, 7)
>> [2194421.693] (EE) No drivers available.
>>
>> Any ideas what I need to do to get X11 running on this target?
>>
> it seems this package is missing on your target : libgsl-fsl-mx51

Interesting - the recipe meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
was built, but there were no libgsl-fsl-mx* packages produced?
Here's all I have:

$ find tmp/deploy/ipk/ -name "libgsl*"
tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dev_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dbg_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl1_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk

Any ideas why I don't have any of the rest produced by that recipe?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: X11 on i.MX5
  2014-07-29 16:52   ` Gary Thomas
@ 2014-07-29 19:47     ` Otavio Salvador
  2014-07-29 20:11       ` Eric Bénard
  2014-07-29 20:10     ` Eric Bénard
  2014-07-29 20:26     ` Eric Bénard
  2 siblings, 1 reply; 11+ messages in thread
From: Otavio Salvador @ 2014-07-29 19:47 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

On Tue, Jul 29, 2014 at 1:52 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2014-07-29 10:37, Eric Bénard wrote:
>> Le Tue, 29 Jul 2014 10:05:30 -0600,
>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>
>>>
>>> I'm trying to run X11 on my i.MX53 system.  Using the default
>>> (_mx5) setup from meta-fsl-arm, I have this xorg.conf:
>>> Section "Device"
>>>       Identifier  "i.MX Accelerated Framebuffer Device"
>>>       Driver      "imx"
>>>       Option      "fbdev"     "/dev/fb0"
>>>       # This option only recognized when "mxc_epdc_fb" frame buffer
>>> driver in
>>>       # use.  Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit
>>> gray),
>>>       # and "Y8INV" (8-bit gray inverted).
>>>       Option      "FormatEPDC"    "Y8INV"
>>> EndSection
>>>
>>> Section "ServerFlags"
>>>       Option "BlankTime"  "0"
>>>       Option "StandbyTime"  "0"
>>>       Option "SuspendTime"  "0"
>>>       Option "OffTime"  "0"
>>> EndSection
>>>
>>> When I try to start X, I get these errors:
>>> [2194421.680] (II) LoadModule: "glx"
>>> [2194421.681] (WW) Warning, couldn't open module glx
>>> [2194421.681] (II) UnloadModule: "glx"
>>> [2194421.681] (II) Unloading glx
>>> [2194421.681] (EE) Failed to load module "glx" (module does not exist, 0)
>>> [2194421.681] (II) LoadModule: "imx"
>>> [2194421.681] (II) Loading /usr/lib/xorg/modules/drivers/imx_drv.so
>>> [2194421.693] (EE) Failed to load
>>> /usr/lib/xorg/modules/drivers/imx_drv.so: libgsl-fsl.so.1: cannot open
>>> shared object fi
>>> le: No such file or directory
>>> [2194421.693] (II) UnloadModule: "imx"
>>> [2194421.693] (II) Unloading imx
>>> [2194421.693] (EE) Failed to load module "imx" (loader failed, 7)
>>> [2194421.693] (EE) No drivers available.
>>>
>>> Any ideas what I need to do to get X11 running on this target?
>>>
>> it seems this package is missing on your target : libgsl-fsl-mx51
>
>
> Interesting - the recipe
> meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
> was built, but there were no libgsl-fsl-mx* packages produced?
> Here's all I have:
>
> $ find tmp/deploy/ipk/ -name "libgsl*"
> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dev_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dbg_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl1_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>
> Any ideas why I don't have any of the rest produced by that recipe?

It seems a missing rdepends on libgst-fsl.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: X11 on i.MX5
  2014-07-29 16:52   ` Gary Thomas
  2014-07-29 19:47     ` Otavio Salvador
@ 2014-07-29 20:10     ` Eric Bénard
  2014-07-29 20:26     ` Eric Bénard
  2 siblings, 0 replies; 11+ messages in thread
From: Eric Bénard @ 2014-07-29 20:10 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

Le Tue, 29 Jul 2014 10:52:28 -0600,
Gary Thomas <gary@mlbassoc.com> a écrit :

> 
> On 2014-07-29 10:37, Eric Bénard wrote:
> > Hi Gary,
> >
> > Le Tue, 29 Jul 2014 10:05:30 -0600,
> > Gary Thomas <gary@mlbassoc.com> a écrit :
> >
> >> Any ideas what I need to do to get X11 running on this target?
> >>
> > it seems this package is missing on your target : libgsl-fsl-mx51
> 
> Interesting - the recipe
> meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
> was built, but there were no libgsl-fsl-mx* packages produced? Here's
> all I have:
> 
> $ find tmp/deploy/ipk/ -name "libgsl*"
> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dev_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dbg_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl1_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> 
> Any ideas why I don't have any of the rest produced by that recipe?
> 

may you please send the result of bitbake -e amd-gpu-x11-bin-mx51 ?

Eric


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

* Re: X11 on i.MX5
  2014-07-29 19:47     ` Otavio Salvador
@ 2014-07-29 20:11       ` Eric Bénard
  2014-07-29 20:12         ` Otavio Salvador
  0 siblings, 1 reply; 11+ messages in thread
From: Eric Bénard @ 2014-07-29 20:11 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Gary Thomas

Hi Otavio,

Le Tue, 29 Jul 2014 16:47:02 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> 
> On Tue, Jul 29, 2014 at 1:52 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> > Interesting - the recipe
> > meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
> > was built, but there were no libgsl-fsl-mx* packages produced?
> > Here's all I have:
> >
> > $ find tmp/deploy/ipk/ -name "libgsl*"
> > tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dev_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> > tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dbg_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> > tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl1_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> >
> > Any ideas why I don't have any of the rest produced by that recipe?
> 
> It seems a missing rdepends on libgst-fsl.
> 
there is no link between  amd-gpu-x11 and gst.

Eric


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

* Re: X11 on i.MX5
  2014-07-29 20:11       ` Eric Bénard
@ 2014-07-29 20:12         ` Otavio Salvador
  2014-07-29 20:32           ` Eric Bénard
  0 siblings, 1 reply; 11+ messages in thread
From: Otavio Salvador @ 2014-07-29 20:12 UTC (permalink / raw)
  To: Eric Bénard; +Cc: meta-freescale, Gary Thomas

On Tue, Jul 29, 2014 at 5:11 PM, Eric Bénard <eric@eukrea.com> wrote:
> Hi Otavio,
>
> Le Tue, 29 Jul 2014 16:47:02 -0300,
> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>
>>
>> On Tue, Jul 29, 2014 at 1:52 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> > Interesting - the recipe
>> > meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
>> > was built, but there were no libgsl-fsl-mx* packages produced?
>> > Here's all I have:
>> >
>> > $ find tmp/deploy/ipk/ -name "libgsl*"
>> > tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dev_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>> > tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dbg_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>> > tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl1_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>> >
>> > Any ideas why I don't have any of the rest produced by that recipe?
>>
>> It seems a missing rdepends on libgst-fsl.
>>
> there is no link between  amd-gpu-x11 and gst.

Sorry, libgsl-fsl. The rdepends is needed as it is dlopen during runtme.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: X11 on i.MX5
  2014-07-29 16:52   ` Gary Thomas
  2014-07-29 19:47     ` Otavio Salvador
  2014-07-29 20:10     ` Eric Bénard
@ 2014-07-29 20:26     ` Eric Bénard
  2014-07-29 22:28       ` Gary Thomas
  2 siblings, 1 reply; 11+ messages in thread
From: Eric Bénard @ 2014-07-29 20:26 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

Le Tue, 29 Jul 2014 10:52:28 -0600,
Gary Thomas <gary@mlbassoc.com> a écrit :

> 
> On 2014-07-29 10:37, Eric Bénard wrote:
> > Hi Gary,
> >
> > Le Tue, 29 Jul 2014 10:05:30 -0600,
> > Gary Thomas <gary@mlbassoc.com> a écrit :
> >
> >>
> >> I'm trying to run X11 on my i.MX53 system.  Using the default
> >> (_mx5) setup from meta-fsl-arm, I have this xorg.conf:
> >> Section "Device"
> >>       Identifier  "i.MX Accelerated Framebuffer Device"
> >>       Driver      "imx"
> >>       Option      "fbdev"     "/dev/fb0"
> >>       # This option only recognized when "mxc_epdc_fb" frame buffer driver in
> >>       # use.  Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),
> >>       # and "Y8INV" (8-bit gray inverted).
> >>       Option      "FormatEPDC"    "Y8INV"
> >> EndSection
> >>
> >> Section "ServerFlags"
> >>       Option "BlankTime"  "0"
> >>       Option "StandbyTime"  "0"
> >>       Option "SuspendTime"  "0"
> >>       Option "OffTime"  "0"
> >> EndSection
> >>
> >> When I try to start X, I get these errors:
> >> [2194421.680] (II) LoadModule: "glx"
> >> [2194421.681] (WW) Warning, couldn't open module glx
> >> [2194421.681] (II) UnloadModule: "glx"
> >> [2194421.681] (II) Unloading glx
> >> [2194421.681] (EE) Failed to load module "glx" (module does not exist, 0)
> >> [2194421.681] (II) LoadModule: "imx"
> >> [2194421.681] (II) Loading /usr/lib/xorg/modules/drivers/imx_drv.so
> >> [2194421.693] (EE) Failed to load /usr/lib/xorg/modules/drivers/imx_drv.so: libgsl-fsl.so.1: cannot open shared object fi
> >> le: No such file or directory
> >> [2194421.693] (II) UnloadModule: "imx"
> >> [2194421.693] (II) Unloading imx
> >> [2194421.693] (EE) Failed to load module "imx" (loader failed, 7)
> >> [2194421.693] (EE) No drivers available.
> >>
> >> Any ideas what I need to do to get X11 running on this target?
> >>
> > it seems this package is missing on your target : libgsl-fsl-mx51
> 
> Interesting - the recipe meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
> was built, but there were no libgsl-fsl-mx* packages produced?
> Here's all I have:
> 
> $ find tmp/deploy/ipk/ -name "libgsl*"
> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dev_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dbg_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl1_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> 
> Any ideas why I don't have any of the rest produced by that recipe?
> 
after checking in an old test image with X11 for MX53 I had :
IMAGE_INSTALL += " \
        libgsl-fsl-mx51 libegl-mx51 libgles-mx51 libgles2-mx51
        libopenvg-mx51 lib2dz160-mx51 lib2dz430-mx51 \
"

can you try that ?

Eric


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

* Re: X11 on i.MX5
  2014-07-29 20:12         ` Otavio Salvador
@ 2014-07-29 20:32           ` Eric Bénard
  0 siblings, 0 replies; 11+ messages in thread
From: Eric Bénard @ 2014-07-29 20:32 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Gary Thomas

Le Tue, 29 Jul 2014 17:12:48 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> 
> On Tue, Jul 29, 2014 at 5:11 PM, Eric Bénard <eric@eukrea.com> wrote:
> > Hi Otavio,
> >
> > Le Tue, 29 Jul 2014 16:47:02 -0300,
> > Otavio Salvador <otavio@ossystems.com.br> a écrit :
> >
> >>
> >> On Tue, Jul 29, 2014 at 1:52 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> >> > Interesting - the recipe
> >> > meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
> >> > was built, but there were no libgsl-fsl-mx* packages produced?
> >> > Here's all I have:
> >> >
> >> > $ find tmp/deploy/ipk/ -name "libgsl*"
> >> > tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dev_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> >> > tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dbg_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> >> > tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl1_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
> >> >
> >> > Any ideas why I don't have any of the rest produced by that recipe?
> >>
> >> It seems a missing rdepends on libgst-fsl.
> >>
> > there is no link between  amd-gpu-x11 and gst.
> 
> Sorry, libgsl-fsl. The rdepends is needed as it is dlopen during runtme.
> 
in fact most of the libraries in amd-gpu-x11-bin-mx51 depend on
libgsl-fsl.so.1

Eric


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

* Re: X11 on i.MX5
  2014-07-29 20:26     ` Eric Bénard
@ 2014-07-29 22:28       ` Gary Thomas
  2014-08-01 16:31         ` Gary Thomas
  0 siblings, 1 reply; 11+ messages in thread
From: Gary Thomas @ 2014-07-29 22:28 UTC (permalink / raw)
  To: meta-freescale

On 2014-07-29 14:26, Eric Bénard wrote:
> Le Tue, 29 Jul 2014 10:52:28 -0600,
> Gary Thomas <gary@mlbassoc.com> a écrit :
>
>>
>> On 2014-07-29 10:37, Eric Bénard wrote:
>>> Hi Gary,
>>>
>>> Le Tue, 29 Jul 2014 10:05:30 -0600,
>>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>>
>>>>
>>>> I'm trying to run X11 on my i.MX53 system.  Using the default
>>>> (_mx5) setup from meta-fsl-arm, I have this xorg.conf:
>>>> Section "Device"
>>>>        Identifier  "i.MX Accelerated Framebuffer Device"
>>>>        Driver      "imx"
>>>>        Option      "fbdev"     "/dev/fb0"
>>>>        # This option only recognized when "mxc_epdc_fb" frame buffer driver in
>>>>        # use.  Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),
>>>>        # and "Y8INV" (8-bit gray inverted).
>>>>        Option      "FormatEPDC"    "Y8INV"
>>>> EndSection
>>>>
>>>> Section "ServerFlags"
>>>>        Option "BlankTime"  "0"
>>>>        Option "StandbyTime"  "0"
>>>>        Option "SuspendTime"  "0"
>>>>        Option "OffTime"  "0"
>>>> EndSection
>>>>
>>>> When I try to start X, I get these errors:
>>>> [2194421.680] (II) LoadModule: "glx"
>>>> [2194421.681] (WW) Warning, couldn't open module glx
>>>> [2194421.681] (II) UnloadModule: "glx"
>>>> [2194421.681] (II) Unloading glx
>>>> [2194421.681] (EE) Failed to load module "glx" (module does not exist, 0)
>>>> [2194421.681] (II) LoadModule: "imx"
>>>> [2194421.681] (II) Loading /usr/lib/xorg/modules/drivers/imx_drv.so
>>>> [2194421.693] (EE) Failed to load /usr/lib/xorg/modules/drivers/imx_drv.so: libgsl-fsl.so.1: cannot open shared object fi
>>>> le: No such file or directory
>>>> [2194421.693] (II) UnloadModule: "imx"
>>>> [2194421.693] (II) Unloading imx
>>>> [2194421.693] (EE) Failed to load module "imx" (loader failed, 7)
>>>> [2194421.693] (EE) No drivers available.
>>>>
>>>> Any ideas what I need to do to get X11 running on this target?
>>>>
>>> it seems this package is missing on your target : libgsl-fsl-mx51
>>
>> Interesting - the recipe meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
>> was built, but there were no libgsl-fsl-mx* packages produced?
>> Here's all I have:
>>
>> $ find tmp/deploy/ipk/ -name "libgsl*"
>> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dev_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dbg_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl1_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>>
>> Any ideas why I don't have any of the rest produced by that recipe?
>>
> after checking in an old test image with X11 for MX53 I had :
> IMAGE_INSTALL += " \
>          libgsl-fsl-mx51 libegl-mx51 libgles-mx51 libgles2-mx51
>          libopenvg-mx51 lib2dz160-mx51 lib2dz430-mx51 \
> "
>
> can you try that ?

This worked, thanks.  Now, how to make it happen without the
extra hoop-jumping...

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: X11 on i.MX5
  2014-07-29 22:28       ` Gary Thomas
@ 2014-08-01 16:31         ` Gary Thomas
  0 siblings, 0 replies; 11+ messages in thread
From: Gary Thomas @ 2014-08-01 16:31 UTC (permalink / raw)
  To: meta-freescale

On 2014-07-29 16:28, Gary Thomas wrote:
> On 2014-07-29 14:26, Eric Bénard wrote:
>> Le Tue, 29 Jul 2014 10:52:28 -0600,
>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>
>>>
>>> On 2014-07-29 10:37, Eric Bénard wrote:
>>>> Hi Gary,
>>>>
>>>> Le Tue, 29 Jul 2014 10:05:30 -0600,
>>>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>>>
>>>>>
>>>>> I'm trying to run X11 on my i.MX53 system.  Using the default
>>>>> (_mx5) setup from meta-fsl-arm, I have this xorg.conf:
>>>>> Section "Device"
>>>>>        Identifier  "i.MX Accelerated Framebuffer Device"
>>>>>        Driver      "imx"
>>>>>        Option      "fbdev"     "/dev/fb0"
>>>>>        # This option only recognized when "mxc_epdc_fb" frame buffer driver in
>>>>>        # use.  Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray),
>>>>>        # and "Y8INV" (8-bit gray inverted).
>>>>>        Option      "FormatEPDC"    "Y8INV"
>>>>> EndSection
>>>>>
>>>>> Section "ServerFlags"
>>>>>        Option "BlankTime"  "0"
>>>>>        Option "StandbyTime"  "0"
>>>>>        Option "SuspendTime"  "0"
>>>>>        Option "OffTime"  "0"
>>>>> EndSection
>>>>>
>>>>> When I try to start X, I get these errors:
>>>>> [2194421.680] (II) LoadModule: "glx"
>>>>> [2194421.681] (WW) Warning, couldn't open module glx
>>>>> [2194421.681] (II) UnloadModule: "glx"
>>>>> [2194421.681] (II) Unloading glx
>>>>> [2194421.681] (EE) Failed to load module "glx" (module does not exist, 0)
>>>>> [2194421.681] (II) LoadModule: "imx"
>>>>> [2194421.681] (II) Loading /usr/lib/xorg/modules/drivers/imx_drv.so
>>>>> [2194421.693] (EE) Failed to load /usr/lib/xorg/modules/drivers/imx_drv.so: libgsl-fsl.so.1: cannot open shared object fi
>>>>> le: No such file or directory
>>>>> [2194421.693] (II) UnloadModule: "imx"
>>>>> [2194421.693] (II) Unloading imx
>>>>> [2194421.693] (EE) Failed to load module "imx" (loader failed, 7)
>>>>> [2194421.693] (EE) No drivers available.
>>>>>
>>>>> Any ideas what I need to do to get X11 running on this target?
>>>>>
>>>> it seems this package is missing on your target : libgsl-fsl-mx51
>>>
>>> Interesting - the recipe meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
>>> was built, but there were no libgsl-fsl-mx* packages produced?
>>> Here's all I have:
>>>
>>> $ find tmp/deploy/ipk/ -name "libgsl*"
>>> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dev_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>>> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl-dbg_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>>> tmp/deploy/ipk/armv7a-vfp-neon-mx5/libgsl-fsl1_11.09.01-r12.0_armv7a-vfp-neon-mx5.ipk
>>>
>>> Any ideas why I don't have any of the rest produced by that recipe?
>>>
>> after checking in an old test image with X11 for MX53 I had :
>> IMAGE_INSTALL += " \
>>          libgsl-fsl-mx51 libegl-mx51 libgles-mx51 libgles2-mx51
>>          libopenvg-mx51 lib2dz160-mx51 lib2dz430-mx51 \
>> "
>>
>> can you try that ?
>
> This worked, thanks.  Now, how to make it happen without the
> extra hoop-jumping...
>

While it does work, I'm having troubles with some X11 programs.
In particular, when I try Google Chrome (from meta-browser), it
falls apart and nothing works at all.  Here are the messages I
get from chrome:
[2294:2294:0801/160320:ERROR:component_loader.cc(138)] Failed to parse extension manifest.
[2317:2317:0801/160325:ERROR:gl_surface_glx.cc(407)] glxQueryVersion failed
[2317:2317:0801/160325:ERROR:gl_surface_x11.cc(56)] GLSurfaceGLX::InitializeOneOff failed.
[2317:2317:0801/160325:ERROR:gpu_child_thread.cc(132)] Exiting GPU process due to errors during initialization
[2294:2294:0801/160325:ERROR:gpu_process_transport_factory.cc(440)] Failed to establish GPU channel.
[2294:2294:0801/160327:ERROR:web_resource_service.cc(54)] Utility process crashed while trying to retrieve web resources.
[2294:2294:0801/160419:ERROR:web_resource_service.cc(54)] Utility process crashed while trying to retrieve web resources.

Any ideas where to look or how to fix this?
Maybe there's a [simple] way to disable the use of GPU for chrome?
I'm running chrome 35.0.1916.114 (the latest non-beta)

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

end of thread, other threads:[~2014-08-01 16:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-29 16:05 X11 on i.MX5 Gary Thomas
2014-07-29 16:37 ` Eric Bénard
2014-07-29 16:52   ` Gary Thomas
2014-07-29 19:47     ` Otavio Salvador
2014-07-29 20:11       ` Eric Bénard
2014-07-29 20:12         ` Otavio Salvador
2014-07-29 20:32           ` Eric Bénard
2014-07-29 20:10     ` Eric Bénard
2014-07-29 20:26     ` Eric Bénard
2014-07-29 22:28       ` Gary Thomas
2014-08-01 16:31         ` Gary Thomas

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.