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

kongling k870818319 at outlook.com
Tue Sep 23 22:42:27 PDT 2014


Supplement:
    I checked the systemd-coredump file, and got these messages:

Core was generated by `/usr/bin/weston -i0'.
Program terminated with signal 11, Segmentation fault.
#0  0x76d67cf0 in gcoHAL_QueryChipCount (Hal=Hal at entry=0x0, Count=Count at entry=0x1dea98c) at gc_hal_user_query.c:1002
1002    gc_hal_user_query.c: No such file or directory.
(gdb) where
#0  0x76d67cf0 in gcoHAL_QueryChipCount (Hal=Hal at entry=0x0, Count=Count at entry=0x1dea98c) at gc_hal_user_query.c:1002
#1  0x76e47a90 in veglGetThreadData () at gc_egl.c:239
#2  0x76e3e640 in eglGetDisplay (display_id=0x1dea3f0) at gc_egl_init.c:521
#3  0x76954b5e in gl_renderer_create (ec=0x1de8fd8, display=<optimized out>, attribs=0x76957414 <gl_renderer_opaque_attribs>, visual_id=0x0) at src/gl-renderer.c:1936
#4  0x769d9b00 in fbdev_compositor_create (param=0x7ef936dc, config=0x1de6a08, argv=<optimized out>, argc=<optimized out>, display=0x1de64b0)
    at src/compositor-fbdev.c:945
#5  backend_init (display=0x1de64b0, argc=<optimized out>, argv=<optimized out>, config=0x1de6a08) at src/compositor-fbdev.c:998
#6  0x0000e6ee in main (argc=1, argv=0x7ef93b24) at src/compositor.c:4240
(gdb)



From: k870818319 at outlook.com
To: dominic.amann at gmail.com
CC: meta-freescale at yoctoproject.org
Subject: RE: [meta-freescale] eglinitialize() failed using "gpu-viv-bin-mx6q-sfp‏" libs
Date: Wed, 24 Sep 2014 04:17:03 +0000




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.
    
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140924/ec6cacd7/attachment.html>


More information about the meta-freescale mailing list