IMX8MQ不能运行weston服务

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8MQ不能运行weston服务

79 Views
Contributor I

问题:不能成功运行weston服务。

环境:使用IMX8MQ

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%

Labels (1)
Tags (1)
0 Kudos
1 Reply

9 Views
NXP TechSupport
NXP TechSupport

Hello Cang,

What is your bsp version?  weston 5.0 seems very old version. you should update to 5.4.3 BSP it seem everything its normal.However you can use weston debug, which will show you many useful info when app is running, this is how I did it.

killall weston
weston --tty=1 --debug

weston-debug drm-backend

start the application you want to debug for example weston-simple-egl in another terminal

Regards

0 Kudos