From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 439DEE00543; Fri, 1 Aug 2014 09:31:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9DC42E0043F for ; Fri, 1 Aug 2014 09:31:18 -0700 (PDT) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 30A5CF811DB; Fri, 1 Aug 2014 10:31:18 -0600 (MDT) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 5793DF811D9; Fri, 1 Aug 2014 10:31:14 -0600 (MDT) Message-ID: <53DBC0E5.8010900@mlbassoc.com> Date: Fri, 01 Aug 2014 10:31:33 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <53D7C64A.8050602@mlbassoc.com> <20140729183757.11e18c27@e6520eb> <53D7D14C.6000607@mlbassoc.com> <20140729222614.202f1afe@e6520eb> <53D82010.7040907@mlbassoc.com> In-Reply-To: <53D82010.7040907@mlbassoc.com> Subject: Re: X11 on i.MX5 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2014 16:31:28 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 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 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 ------------------------------------------------------------