Wayland Weston troubleshooting grid

来自百问网嵌入式Linux wiki
Zhouyuebiao讨论 | 贡献2020年5月8日 (五) 23:01的版本 (创建页面,内容为“Some typical issues related to the '''Wayland / Weston''' framework are listed below. Solutions or debugging methods are proposed for these issues. If your issue is…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Some typical issues related to the Wayland / Weston framework are listed below. Solutions or debugging methods are proposed for these issues.

If your issue is not listed, try also looking in the articles in the Wayland/Weston or troubleshooting grids categories.


Symptom Resolution
Board $> glmark2-es2-wayland 
[11380.091100] reserved_mem_unmap_user: vm_munmap failed
eglCreateWindowSurface failed with error: 0x3003
Error: eglCreateWindowSurface failed with error: 0x3003
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas
Board $> weston-simple-egl
[11380.091100] reserved_mem_unmap_user: vm_munmap failed
has EGL_EXT_buffer_age and EGL_EXT_swap_buffers_with_damage
weston-simple-egl: ../git/clients/simple-egl.c:440: create_surface: 
  Assertion `ret == EGL_TRUE' failed.
Aborted (core dumped)
Board $> weston-simple-egl
has EGL_EXT_buffer_age and EGL_EXT_swap_buffers_with_damage
Segmentation fault (core dumped) 

Weston is using pixman software composition instead of GPU hardware composition. This may be because you have not accepted the EULA at the beginning of the build...

Board $> cat /etc/default/weston
#Autogenerated
OPTARGS=--use-pixman

Please comment the content of the file /etc/default/weston or delete it.

Board $> systemctl stop Weston
Failed to stop Weston.service: Unit Weston.service not loaded.

Please remove the capital letter in the word Weston. The correct command is

Board $> systemctl restart weston
Board $> weston-image mypicture.bmp
mypicture.bmp: unrecognized file header 0x42 0x4d 0x1e 0x51

"weston-image" small application supports only jpeg, png and webp image files. Please convert your ".bmp" image file into one of these supported image file formats.

Note: The official source code of "weston-image" is in the file image.c and the related error message is in image-loader.c.


<securetransclude src="ProtectedTemplate:ArticleBasedOnModel" params="Troubleshooting grid article model"></securetransclude> <securetransclude src="ProtectedTemplate:PublicationRequestId" params="10288 | 2019-01-15 | PhilipS"></securetransclude>