AnsweredAssumed Answered

yocto weston is DISTRO fsl-imx-wayland

Question asked by jiang yaqiang on Jan 7, 2018
Latest reply on Feb 27, 2018 by Vanhauwaert

HI :

     I want to build yocto image of fsl-image-qt5 base on DISTRO of fsl-imx-wayland. 


MACHINE=imx6dlsabresd DISTRO=fsl-imx-wayland source ./ -b build-wayland

bitbake fls-image-qt5

build is success, but fail to run qt5 example.


export QT_QPA_PLATFORM=eglfs

root@imx6dlsabresd:/usr/share/qt5/examples/network# ./bearermonitor/bearermonitor
QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
Unable to query physical screen size, defaulting to 100 dpi.

EGL Error : Could not create the egl surface: error = 0x3003



if using platform of wayland:

export QT_QPA_PLATFORM=wayland
root@imx6dlsabresd:/usr/share/qt5/examples/network# ./bearermonitor/bearermonitor
Failed to create display (No such file or directory)


here is the log of weston :

root@imx6dlsabresd:/usr/share/qt5/examples/network# cat /var/log/weston.log
Date: 2018-01-05 UTC
[06:32:03.858] weston 1.9.0
Bug reports to:
Build: 1.8.93-2-gb05cdb8 bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
[06:32:03.862] OS: Linux, 4.1.15-2.0.1+g23f75b1, #1 SMP PREEMPT Tue Jan 2 19:14:18 CST 2018, armv7l
[06:32:03.887] Starting with no config file.
[06:32:03.975] Loading module '/usr/lib/weston/'
[06:32:05.044] Output repaint window is 7 ms maximum.
[06:32:05.044] initializing fbdev backend
[06:32:05.110] Loading module '/usr/lib/weston/'
[06:32:05.247] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[06:32:05.442] warning: EGL_EXT_swap_buffers_with_damage not supported. Performance could be affected.
[06:32:05.442] Retrieving EGL client extension string failed.
[06:32:05.442] Creating fbdev output. /dev/fb0 x=0 y=0
[06:32:05.442] Opening fbdev frame buffer.
[06:32:05.443] 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
[06:32:05.446] failed to create egl surface
[06:32:05.446] gl_renderer_output_create failed.



anyone knows the problem, please give me an advice.