All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: meta-freescale@yoctoproject.org
Subject: Re: X11 on i.MX5
Date: Fri, 01 Aug 2014 10:31:33 -0600	[thread overview]
Message-ID: <53DBC0E5.8010900@mlbassoc.com> (raw)
In-Reply-To: <53D82010.7040907@mlbassoc.com>

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


      reply	other threads:[~2014-08-01 16:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53DBC0E5.8010900@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.