嵌入式爱好者

查看: 17715|回复: 1

[已解决] 使用内核4.14.98之后,系统启动后wayland无法启动

[复制链接]

14

主题

38

帖子

212

积分

i.MX8MM通行证i.MX6UL通行证i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2021-2-4 15:50:55 | 显示全部楼层 |阅读模式
本帖最后由 Augustus007 于 2021-2-24 13:22 编辑

使用4.14.98版本内核,系统启动之后,wayland无法启动,查看log如下:
  1. root@okmx8mm:~# cat /var/log/weston.log
  2. Date: 2019-06-20 UTC
  3. [10:00:16.386] weston 5.0.0
  4.                https://wayland.freedesktop.org
  5.                Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
  6.                Build: 5.0.0-30-g615567c-dirty gl-renderer: fix the build warning (2018-11-11 00:06:26 +0800)
  7. [10:00:16.386] Command line: /usr/bin/weston --log=/var/log/weston.log --xwayland --use-g2d=1
  8. [10:00:16.386] OS: Linux, 4.14.98, #2 SMP PREEMPT Thu Feb 4 14:16:35 CST 2021, aarch64
  9. [10:00:16.390] Using config file '/etc/xdg/weston/weston.ini'
  10. [10:00:16.395] Output repaint window is 16 ms maximum.
  11. [10:00:16.399] Loading module '/usr/lib/libweston-5/drm-backend.so'
  12. [10:00:16.410] initializing drm backend
  13. [10:00:16.416] logind: session control granted
  14. [10:00:16.421] using /dev/dri/card0
  15. [10:00:16.421] DRM: supports universal planes
  16. [10:00:16.421] DRM: supports atomic modesetting
  17. [10:00:16.421] DRM: does not support picture aspect ratio
  18. [10:00:16.423] Loading module '/usr/lib/libweston-5/g2d-renderer.so'
  19. [10:00:16.432] g2d_open fail.
  20. [10:00:16.432] g2d_renderer_create faile.
  21. [10:00:16.432] failed to initialize g2d render
  22. [10:00:16.432]fatal: failed to create compositor backend
  23. root@okmx8mm:~#
复制代码
这个问题该如何解决呢?
望不吝赐教。

谢谢!
回复

使用道具 举报

0

主题

471

帖子

919

积分

发表于 2021-2-4 16:22:29 | 显示全部楼层
下面是能正常启动的:通过对比可能是由于Loading module '/usr/lib/libweston-5/g2d-renderer.so'不正常引起的,具体的原因还需要您自己排查了,
root@okmx8mm:~# cat /var/log/weston.log
Date: 2019-06-20 UTC
[10:00:15.223] weston 5.0.0
                       https://wayland.freedesktop.org
                       Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
                       Build: 5.0.0-30-g615567c-dirty gl-renderer: fix the build warning (2018-11-11 00:06:26 +0800)
[10:00:15.223] Command line: /usr/bin/weston --log=/var/log/weston.log --xwayland --use-g2d=1
[10:00:15.223] OS: Linux, 4.14.78, #1 SMP PREEMPT Tue Feb 25 03:59:49 UTC 2020, aarch64
[10:00:15.225] Using config file '/etc/xdg/weston/weston.ini'
[10:00:15.228] Output repaint window is 16 ms maximum.
[10:00:15.230] Loading module '/usr/lib/libweston-5/drm-backend.so'
[10:00:15.237] initializing drm backend
[10:00:15.244] logind: session control granted
[10:00:15.249] using /dev/dri/card0
[10:00:15.249] DRM: supports universal planes
[10:00:15.249] DRM: supports atomic modesetting
[10:00:15.249] DRM: does not support picture aspect ratio
[10:00:15.250] Loading module '/usr/lib/libweston-5/g2d-renderer.so'
[10:00:15.295] event1  - [10:00:15.295] gpio-keys: [10:00:15.295] is tagged by udev as: Keyboard
[10:00:15.295] event1  - [10:00:15.295] gpio-keys: [10:00:15.295] device is a keyboard
[10:00:15.299] event0  - [10:00:15.299] InputEmulator: [10:00:15.299] is tagged by udev as: Keyboard
[10:00:15.299] event0  - [10:00:15.299] InputEmulator: [10:00:15.299] device is a keyboard
[10:00:15.342] DRM: head 'DSI-1' found, connector 33 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[10:00:15.342] Registered plugin API 'weston_drm_output_api_v1' of size 24
[10:00:15.350] No backlight control for output 'DSI-1'
[10:00:15.351] Output DSI-1 (crtc 31) video modes:
               1024x600@60.0, preferred, current, 44.0 MHz
[10:00:15.351] associating input device event1 with output DSI-1 (none by udev)
[10:00:15.351] associating input device event0 with output DSI-1 (none by udev)
[10:00:15.351] Output 'DSI-1' enabled with head(s) DSI-1
[10:00:15.351] Compositor capabilities:
               arbitrary su**ce rotation: no
               screen capture uses y-flip: no
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[10:00:15.354] Loading module '/usr/lib/weston/desktop-shell.so'
[10:00:15.364] launching '/usr/libexec/weston-keyboard'
[10:00:15.370] Loading module '/usr/lib/libweston-5/xwayland.so'
[10:00:15.427] Registered plugin API 'weston_xwayland_v1' of size 32
[10:00:15.427] Registered plugin API 'weston_xwayland_su**ce_v1' of size 16
[10:00:15.427] xserver listening on display :0
[10:00:15.428] launching '/usr/libexec/weston-desktop-shell'
[10:00:15.934] zwp_text_input_v2_send_enter + serial 4
[10:00:15.934] zwp_text_input_v2_send_enter -
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-19 16:25

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表