问题:不能成功运行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:
[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%
Solved! Go to Solution.
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
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