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

kongling k870818319 at outlook.com
Wed Sep 24 00:44:00 PDT 2014


Hi,

    I have worked it out.

    weston-launch in systemd is launched as user "app", which have no permission to read and write "/dev/galcore" (crw------).
    I add a service in systemd to change the permission of "/dev/galcore".
    +ExecStartPre=-/bin/sh -l -c "chmod a+r /dev/galcore"
    +ExecStartPre=-/bin/sh -l -c "chmod a+w /dev/galcore"

    After rebooting, weston-launch is runing successfully by "systemd --user", weston-simpel-egl could be launched in the wayland terminal.

BR,

konglingxin


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 05:42:27 +0000




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)

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


More information about the meta-freescale mailing list