AnsweredAssumed Answered

wayland 1.9 cannot display multi screen

Question asked by wang zhigang on Feb 24, 2016
Latest reply on Nov 27, 2016 by jjohn
Branched to a new discussion

hi everyone,

  we want to use yocto(qt5.5+wayland) for our project.our env is:

imx6q

yocto(qt5.5.1+wayland imx-3.14.52-1.1.0_ga)

kernel(3.14)

display(lvds+hdmi+svideo)

we want to get multi display(lvds+hdmi+svideo) in yocto.

1. yocot(qt5.3.2+wayland imx-3.14.28-1.0.0_ga) + kernel(3.10.53)

we success to compile yocto,and we can get the multi display with the follow command:

weston --tty=2 --device=/dev/fb0,/dev/fb2 --use-gal2d=1 &    (just use two display)

 

but the we don't want to use qt5.3 for our project,so we use the latest yocot .

 

2.yocto(qt5.5.1+wayland imx-3.14.52-1.1.0_ga) + kernel(3.14)

we sure the /dev/fb0 and /dev/fb2 is no problem.

we success to compile the latest yocto,and we can get into the desktop.but we can't get the multi display with the follow command(the display is all blue):

weston --tty=2 --device=/dev/fb0,/dev/fb2 --use-gal2d=1 &

 

the log is:

root@imx6qsabresd:~# weston --tty=2 --device=/dev/fb0,/dev/fb2 --use-gal2d=1 &

[1] 505

root@imx6qsabresd:~# Date: 2016-01-28 UTC

[17:48:41.778] weston 1.9.0

               http://wayland.freedesktop.org

               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0

               Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)

[17:48:41.779] OS: Linux, 3.14.52-gf55f3a4-dirty, #3 SMP PREEMPT Tue Feb 23 12:40:39 CST 2016, armv7l

[17:48:41.779] Starting with no config file.

[17:48:41.780] Loading module '/usr/lib/weston/fbdev-backend.so'

[17:48:41.797] Output repaint window is 7 ms maximum.

[17:48:41.798] initializing fbdev backend

[17:48:41.798] Loading module '/usr/lib/weston/gal2d-renderer.so'

[17:48:41.803] param->device=/dev/fb0,/dev/fb2

[17:48:41.803] Creating fbdev output. /dev/fb0 x=0 y=0

[17:48:41.803] Opening fbdev frame buffer.

[17:48:41.803] Calculating pixman format from:

                - type: 0 (aux: 0)

                - visual: 2

                - bpp: 32 (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: 24, length: 8, MSB: 0

[17:48:41.803] Number of buffers=1

[17:48:41.824] fbdev output 1920×1080 px

               guessing 56 Hz and 96 dpis

[17:48:41.825] Creating fbdev output. /dev/fb2 x=1920 y=0

[17:48:41.825] Opening fbdev frame buffer.

[17:48:41.825] Calculating pixman format from:

                - type: 0 (aux: 0)

                - visual: 2

                - bpp: 32 (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: 24, length: 8, MSB: 0

 

[1]+  Segmentation fault      weston --tty=2 --device=/dev/fb0,/dev/fb2 --use-gal2d=1

 

we also use the official file  (L3.14.52_1.1.0-ga_images_MX6QDLSOLO.tar.gz)for test,and we have the same problem.

can yocto(qt5.5.1+wayland imx-3.14.52-1.1.0_ga) + kernel(3.14)  use weston to display multi screen.

 

Please give me a handle.

Best Regards.

Outcomes