cang yue

IMX8MQ failed to run weston service

Discussion created by cang yue on May 28, 2020
Latest reply on Jun 3, 2020 by Bio_TICFSL

log:[20:24:23.513] weston 5.0.0
               https://wayland.freedesktop.org
               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/iss
               Build: 4.0.0-245-gfb56390-dirty MGS-4627 [#ccc] weston will turn
[20:24:23.513] Command line: /usr/bin/weston --log=/var/log/weston.log --xwaylan
[20:24:23.513] OS: Linux, 4.14.78-g401d2ac-dirty, #28 SMP PREEMPT Wed Jan 15 11:
[20:24:23.514] Using config file '/etc/xdg/weston/weston.ini'
[20:24:23.516] Output repaint window is 16 ms maximum.
[20:24:23.516] Loading module '/usr/lib/libweston-5/drm-backend.so'
[20:24:23.522] initializing drm backend
[20:24:23.528] logind: session control granted
[20:24:23.531] using /dev/dri/card0
[20:24:23.531] DRM: supports universal planes
[20:24:23.531] DRM: supports atomic modesetting
[20:24:23.531] DRM: does not support picture aspect ratio
[20:24:23.532] Loading module '/usr/lib/libweston-5/gl-renderer.so'
[20:24:23.559] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_platform_wayland
               EGL_EXT_platform_wayland EGL_KHR_platform_gbm
[20:24:23.565] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap
[20:24:23.565] EGL_KHR_surfaceless_context available
[20:24:23.570] failed to create context

[20:24:23.570] EGL error state: EGL_BAD_ALLOC (0x3003)
[20:24:23.570] EGL error state: EGL_SUCCESS (0x3000)
[20:24:23.570] failed to initialize egl

 

weston.ini: 

[core]
# i.MX: Disable idle timeout
idle-time=0
#use-g2d=1
gbm-format=argb8888
#backend=wayland-backend.so
[libinput]
touchscreen_calibrator=false
#touchscreen_calibrator=true
[output]
name=LVDS1
mode=1280*700@60

[shell]
#size=1920x1080
size=1280*700

[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --n
- /etc/xdg/weston/weston.ini [Modified] 35/35 100%

Outcomes