[meta-freescale] eglinitialize() failed using "gpu-viv-bin-mx6q-sfp‏" libs

kongling k870818319 at outlook.com
Tue Sep 23 21:17:03 PDT 2014


Hi,
    Thanks for your reply!

>    Is the rest of your system built for hard or soft float?

   Soft float.
   When I use imx-3.10.17(soft float gpu module), weston-launch and weston-simple-egl could be launched correctly.
   I find that weston-launch didn't load module '/usr/lib/weston/gl-renderer.so' , so I modify the "composer-fbdev.c".
    struct fbdev_parameters param = {
        .tty = 0, /* default to current tty */
        .device = "/dev/fb0", /* default frame buffer */
-        .use_gl = 0,
+       .use_gl = 1,
    };

   After this, weston-launch could load module '/usr/lib/weston/gl-renderer.so',but after loading module, weston-launch dumped.

    Dec 31 16:43:57 localhost weston-launch[402]: Date: 1969-12-31 PST
Dec 31 16:43:57 localhost weston-launch[402]: [16:43:57.938] weston 1.5.0
Dec 31 16:43:57 localhost weston-launch[402]: http://wayland.freedesktop.org/
Dec 31 16:43:57 localhost weston-launch[402]: Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.5.0
Dec 31 16:43:57 localhost weston-launch[402]: Build: 1.4.93 configure.ac: Bump version 1.4.93 (2014-05-12 12:51:52 -0700)
Dec 31 16:43:57 localhost weston-launch[402]: [16:43:57.939] OS: Linux, 3.10.31-1.1.0_beta+g94a7e47, #1 SMP PREEMPT Tue Sep 23 14:20:13 CST 2014, armv7l
Dec 31 16:43:57 localhost weston-launch[402]: [16:43:57.954] Using config file '/etc/xdg/weston/weston.ini'
Dec 31 16:43:57 localhost weston-launch[402]: [16:43:57.959] Loading module '/usr/lib/weston/fbdev-backend.so'
Dec 31 16:43:57 localhost weston-launch[402]: [16:43:57.980] initializing fbdev backend
Dec 31 16:43:57 localhost weston-launch[402]: [16:43:57.986] load gl renderer
Dec 31 16:43:57 localhost weston-launch[402]: [16:43:57.990] Loading module '/usr/lib/weston/gl-renderer.so'
Dec 31 16:43:58 localhost systemd-coredump[506]: Process 447 (weston) dumped core.
Dec 31 16:43:58 localhost systemd[354]: weston.service: main process exited, code=exited, status=21/n/a
Dec 31 16:43:58 localhost systemd[354]: Unit weston.service entered failed state.
    

Date: Tue, 23 Sep 2014 23:16:29 -0400
Subject: Re: [meta-freescale] eglinitialize() failed using "gpu-viv-bin-mx6q-sfp‏" libs
From: dominic.amann at gmail.com
To: k870818319 at outlook.com
CC: meta-freescale at yoctoproject.org

Is the rest of your system built for hard or soft float?
On Tue, Sep 23, 2014 at 10:24 PM, kongling <k870818319 at outlook.com> wrote:



Hi, everyone

   I'm running weston-simple-egl and failed with error :
   weston-simple-egl : clients/simple-egl.c : init_egl: Assertion 'ret==1' failed.
   Aborted (core dumped)

   weston version : 1.5.0
   gpu-viv-bin-mx6q-sfp : yocto imx-3.10.31-1.1.0_beta

   Step:
   1. cp gpu-viv-bin-mx6q-sfp libs to the filesystem.
   2. build wayland and weston.
   3. launch weston-launch.
   4. launch weston-simple-egl in the wayland terminal.

   Could anyone help me?

BR,

kongling
 		 	   		  

--

_______________________________________________

meta-freescale mailing list

meta-freescale at yoctoproject.org

https://lists.yoctoproject.org/listinfo/meta-freescale




-- 


Where there is a shell, there is a way...
Dominic Amann
M 416-270-4587

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140924/adf2bfc1/attachment-0001.html>


More information about the meta-freescale mailing list