[meta-freescale] core-image-weston - multiple displays segfault?

Otavio Salvador otavio at ossystems.com.br
Tue Dec 2 02:49:18 PST 2014


On Mon, Dec 1, 2014 at 6:15 PM, randy.krakora at freescale.com
<randy.krakora at freescale.com> wrote:
> Using dizzy community and core-image-weston build on SabreSDP.
>
> Boots fine, see Weston on display, so I do this to enable support for two displays:
>
> /etc/init.d/weston stop
> echo 0 > /sys/class/graphics/fb2/blank
> export XDG_RUNTIME_DIR=/var/run/user/root
> weston --tty=1 --use-gal2d=1 --use-gl=0 --device=/dev/fb0,/dev/fb2 &
>
> Then I get this followed by the segfault:
>
> root at imx6qsabresd:~# weston --tty=1 --use-gal2d=1 --use-gl=0 --device=/dev/fb0,/
> dev/fb2
> Date: 2014-11-14 UTC
> [15:04:43.089] weston 1.5.0
>                http://wayland.freedesktop.org/
>                Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.5.0
>                Build: 1.4.93 configure.ac: Bump version 1.4.93 (2014-05-12 12:51:52 -0700)
> [15:04:43.090] OS: Linux, 3.10.17-1.0.2_ga+g33597e3, #1 SMP PREEMPT Wed Nov 12 15:41:27 EST 2014, armv7l
> [15:04:43.100] Starting with no config file.
> [15:04:43.100] Loading module '/usr/lib/weston/fbdev-backend.so'
> [15:04:43.112] initializing fbdev backend
> [15:04:43.113] compositor->use_gal2d=1
> [15:04:43.116] Loading module '/usr/lib/weston/gal2d-renderer.so'
> [15:04:43.135] param->device=/dev/fb0,/dev/fb2
> [15:04:43.135] Creating fbdev output. /dev/fb0 x=0 y=0
> [15:04:43.135] Opening fbdev frame buffer.
> [15:04:43.135] Calculating pixman format from:
>                 - type: 0 (aux: 0)
>                 - visual: 2
>                 - bpp: 16 (grayscale: 0)
>                 - red: offset: 11, length: 5, MSB: 0
>                 - green: offset: 5, length: 6, MSB: 0
>                 - blue: offset: 0, length: 5, MSB: 0
>                 - transp: offset: 0, length: 0, MSB: 0
> [15:04:43.136] Number of buffers=1
> [15:04:43.150] fbdev output 1024×768 px
>                guessing 63 Hz and 96 dpi
> [15:04:43.150] Creating fbdev output. /dev/fb2 x=1024 y=0
> [15:04:43.151] Opening fbdev frame buffer.
> [15:04:43.151] Calculating pixman format from:
>                 - type: 0 (aux: 0)
>                 - visual: 2
>                 - bpp: 24 (grayscale: 0)
>                 - red: offset: 16, length: 8, MSB: 0
>                 - green: offset: 8, length: 8, MSB: 0
>                 - blue: offset: 0, length: 8, MSB: 0
>                 - transp: offset: 0, length: 0, MSB: 0
> Segmentation fault

No backtrace, please add debug symbols and check where it fails.

> This worked on one of the FSL BSP builds ( fsl-image-weston I believe ) before...any ideas?

Which version?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list