[meta-freescale] X11 on i.MX5

Gary Thomas gary at mlbassoc.com
Fri Aug 1 09:31:33 PDT 2014


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


More information about the meta-freescale mailing list