Hi @henrique.tx !
Here is the log output of the Weston container after the first boot that is successful:
Switching VT tty1 to text mode if currently in graphics mode
Switching to VT 7
SoC is: 'i.MX8QXP'
SoC has GPU: true
SoC has DPU: true
g2d implementation: dpu
Removing previously created '.X*-lock' entries under /tmp before starting Weston. Pass 'IGNORE_X_LOCKS=1' environment variable to Weston container to disable this behavior.
dos2unix: converting file /etc/xdg/weston/weston.ini to Unix format...
dos2unix: converting file /etc/xdg/weston-dev/weston.ini to Unix format...
00:00:00.000 [INFO] [seatd/seat.c:39] Created VT-bound seat seat0
00:00:00.000 [INFO] [seatd/seatd.c:194] seatd started
Date: 2025-03-27 UTC
[13:01:28.013] weston 10.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: lf-5.15.52-2.1.0-10-g9452feba
[13:01:28.014] Command line: weston -Bdrm-backend.so --current-mode -Swayland-0
[13:01:28.014] OS: Linux, 5.15.148-6.7.0+git.bfdbfb2c85fb, #1-TorizonCore SMP PREEMPT Thu Jun 20 15:59:41 UTC 2024, aarch64
[13:01:28.014] Flight recorder: enabled
[13:01:28.015] Using config file '/etc/xdg/weston/weston.ini'
[13:01:28.019] Output repaint window is 7 ms maximum.
[13:01:28.021] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/drm-backend.so'
[13:01:28.103] initializing drm backend
[13:01:28.103] Trying libseat launcher...
00:00:00.311 [INFO] [seatd/server.c:145] New client connected (pid: 30, uid: 1000, gid: 1000)
00:00:00.311 [INFO] [seatd/seat.c:170] Added client 7 to seat0
00:00:00.312 [INFO] [seatd/seat.c:480] Opened client 7 on seat0
[13:01:28.105] libseat: session control granted
[13:01:28.113] using /dev/dri/card0
[13:01:28.113] DRM: supports atomic modesetting
[13:01:28.113] DRM: supports GBM modifiers
[13:01:28.113] DRM: supports picture aspect ratio
[13:01:28.115] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/gl-renderer.so'
[13:01:28.193] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_platform_wayland
EGL_EXT_platform_wayland EGL_EXT_device_query
EGL_EXT_device_drm EGL_EXT_device_drm_render_node
EGL_KHR_platform_gbm
[13:01:28.204] EGL device extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_platform_wayland
EGL_EXT_platform_wayland EGL_EXT_device_query
EGL_EXT_device_drm EGL_EXT_device_drm_render_node
EGL_KHR_platform_gbm
[13:01:28.204] EGL version: 1.5
[13:01:28.204] EGL vendor: Vivante Corporation
[13:01:28.205] EGL client APIs: OpenGL_ES OpenVG
[13:01:28.205] EGL extensions: EGL_KHR_fence_sync EGL_KHR_reusable_sync
EGL_KHR_wait_sync EGL_KHR_image EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_lock_surface
EGL_KHR_create_context EGL_KHR_no_config_context
EGL_KHR_surfaceless_context EGL_KHR_get_all_proc_addresses
EGL_EXT_create_context_robustness EGL_EXT_protected_surface
EGL_EXT_protected_content EGL_EXT_buffer_age
EGL_ANDROID_native_fence_sync EGL_WL_bind_wayland_display
EGL_WL_create_wayland_buffer_from_image EGL_KHR_partial_update
EGL_EXT_swap_buffers_with_damage
EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float
[13:01:28.206] EGL_KHR_surfaceless_context available
[13:01:28.255] GL version: OpenGL ES 3.1 V6.4.3.p4.398061
[13:01:28.256] GLSL version: OpenGL ES GLSL ES 3.10
[13:01:28.256] GL vendor: Vivante Corporation
[13:01:28.256] GL renderer: Vivante GC7000L
[13:01:28.256] GL extensions: GL_OES_vertex_type_10_10_10_2
GL_OES_vertex_half_float GL_OES_element_index_uint
GL_OES_mapbuffer GL_OES_vertex_array_object
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_compressed_paletted_texture GL_OES_texture_npot
GL_OES_rgb8_rgba8 GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_depth32
GL_OES_packed_depth_stencil GL_OES_fbo_render_mipmap
GL_OES_get_program_binary GL_OES_fragment_precision_high
GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3
GL_OES_EGL_sync GL_OES_texture_stencil8
GL_OES_shader_image_atomic
GL_OES_texture_storage_multisample_2d_array
GL_OES_required_internalformat GL_OES_surfaceless_context
GL_OES_copy_image GL_OES_draw_buffers_indexed
GL_OES_texture_border_clamp GL_OES_texture_buffer
GL_OES_texture_cube_map_array GL_OES_draw_elements_base_vertex
GL_OES_texture_half_float GL_OES_texture_float
GL_KHR_blend_equation_advanced GL_KHR_debug GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888
GL_EXT_texture_compression_s3tc GL_EXT_read_format_bgra
GL_EXT_multi_draw_arrays GL_EXT_frag_depth
GL_EXT_discard_framebuffer GL_EXT_blend_minmax
GL_EXT_multisampled_render_to_texture
GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float
GL_EXT_robustness GL_EXT_texture_sRGB_decode
GL_EXT_draw_buffers_indexed GL_EXT_texture_border_clamp
GL_EXT_texture_buffer GL_EXT_copy_image
GL_EXT_texture_cube_map_array GL_EXT_multi_draw_indirect
GL_EXT_draw_elements_base_vertex GL_EXT_texture_rg
GL_EXT_protected_textures GL_EXT_sRGB GL_EXT_unpack_subimage
GL_VIV_direct_texture
[13:01:28.400] GL ES 3.1 - renderer features:
read-back format: BGRA
EGL Wayland extension: yes
[13:01:28.455] event2 - Goodix Capacitive TouchScreen: is tagged by udev as: Keyboard Touchscreen
[13:01:28.456] event2 - Goodix Capacitive TouchScreen: device is a keyboard
[13:01:28.457] event2 - Goodix Capacitive TouchScreen: device is a touch device
[13:01:28.461] event1 - gpio-keys: is tagged by udev as: Keyboard
[13:01:28.462] event1 - gpio-keys: device is a keyboard
[13:01:28.466] event0 - sc-powerkey: is tagged by udev as: Keyboard
[13:01:28.467] event0 - sc-powerkey: device is a keyboard
[13:01:28.558] Touchscreen - Goodix Capacitive TouchScreen - /sys/devices/platform/bus@5a000000/5a810000.i2c/i2c-1/1-005d/input/input2/event2
[13:01:28.558] libinput: configuring device "Goodix Capacitive TouchScreen".
[13:01:28.558] input device event2 has no enabled output associated (none named), skipping calibration for now.
[13:01:28.559] libinput: configuring device "gpio-keys".
[13:01:28.559] libinput: configuring device "sc-powerkey".
[13:01:28.559] DRM: head 'LVDS-1' updated, connector 90 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[13:01:28.560] DRM: head 'LVDS-1' found, connector 90 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[13:01:28.561] Registered plugin API 'weston_drm_output_api_v1' of size 24
[13:01:28.561] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 48
[13:01:28.561] Color manager: no-op
[13:01:28.561] Module '/usr/lib/libgbm.so' already loaded
[13:01:28.562] Output 'LVDS-1' using color profile: built-in default sRGB SDR profile
[13:01:28.566] Chosen EGL config details: id: 21 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[13:01:28.566] Output LVDS-1 (crtc 38) video modes:
1024x600@60.9, preferred, current, 52.0 MHz
[13:01:28.566] associating input device event2 with output LVDS-1 (none by udev)
[13:01:28.567] associating input device event1 with output LVDS-1 (none by udev)
[13:01:28.568] associating input device event0 with output LVDS-1 (none by udev)
[13:01:28.568] Output 'LVDS-1' enabled with head(s) LVDS-1
[13:01:28.568] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: yes
color operations: no
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[13:01:28.570] Loading module '/usr/lib/aarch64-linux-gnu/weston/desktop-shell.so'
[13:01:28.583] launching '/usr/lib/aarch64-linux-gnu/weston-keyboard'
[13:01:28.593] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[13:01:28.595] Loading module '/usr/lib/aarch64-linux-gnu/weston/screen-share.so'
[13:01:28.600] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/xwayland.so'
[13:01:28.763] Registered plugin API 'weston_xwayland_v1' of size 32
[13:01:28.763] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[13:01:28.763] xserver listening on display :0
[13:01:28.764] launching '/usr/lib/aarch64-linux-gnu/weston-desktop-shell'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
[ 1] wl_drm_is_format_supported, format = 0x30335241
[ 2] wl_drm_is_format_supported, format = 0x30335258
[ 3] wl_drm_is_format_supported, format = 0x30334241
[ 4] wl_drm_is_format_supported, format = 0x30334258
[ 5] wl_drm_is_format_supported, format = 0x30335241
[ 6] wl_drm_is_format_supported, format = 0x30335258
[ 7] wl_drm_is_format_supported, format = 0x30334241
[ 8] wl_drm_is_format_supported, format = 0x30334258
[ 9] wl_drm_is_format_supported, format = 0x30335241
[ 10] wl_drm_is_format_supported, format = 0x30335258
[ 11] wl_drm_is_format_supported, format = 0x30334241
[ 12] wl_drm_is_format_supported, format = 0x30334258
[ 13] wl_drm_is_format_supported, format = 0x30335241
[ 14] wl_drm_is_format_supported, format = 0x30335258
[ 15] wl_drm_is_format_supported, format = 0x30334241
[ 16] wl_drm_is_format_supported, format = 0x30334258
and this is the output after another boot after power loss where the problem occurs:
Switching VT tty1 to text mode if currently in graphics mode
Switching VT mode of /dev/tty1 to text
Switching to VT 7
SoC is: 'i.MX8QXP'
SoC has GPU: true
SoC has DPU: true
g2d implementation: dpu
Removing previously created '.X*-lock' entries under /tmp before starting Weston. Pass 'IGNORE_X_LOCKS=1' environment variable to Weston container to disable this behavior.
dos2unix: converting file /etc/xdg/weston/weston.ini to Unix format...
dos2unix: converting file /etc/xdg/weston-dev/weston.ini to Unix format...
00:00:00.000 [INFO] [seatd/seat.c:39] Created VT-bound seat seat0
00:00:00.000 [INFO] [seatd/seatd.c:194] seatd started
Date: 2025-03-27 UTC
[13:04:23.109] weston 10.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: lf-5.15.52-2.1.0-10-g9452feba
[13:04:23.109] Command line: weston -Bdrm-backend.so --current-mode -Swayland-0
[13:04:23.109] OS: Linux, 5.15.148-6.7.0+git.bfdbfb2c85fb, #1-TorizonCore SMP PREEMPT Thu Jun 20 15:59:41 UTC 2024, aarch64
[13:04:23.109] Flight recorder: enabled
[13:04:23.119] Using config file '/etc/xdg/weston/weston.ini'
[13:04:23.136] Output repaint window is 7 ms maximum.
[13:04:23.147] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/drm-backend.so'
[13:04:23.284] initializing drm backend
[13:04:23.284] Trying libseat launcher...
00:00:00.578 [INFO] [seatd/server.c:145] New client connected (pid: 31, uid: 1000, gid: 1000)
00:00:00.579 [INFO] [seatd/seat.c:170] Added client 7 to seat0
00:00:00.579 [INFO] [seatd/seat.c:480] Opened client 7 on seat0
[13:04:23.285] libseat: session control granted
[13:04:23.296] using /dev/dri/card0
[13:04:23.296] DRM: supports atomic modesetting
[13:04:23.296] DRM: supports GBM modifiers
[13:04:23.296] DRM: supports picture aspect ratio
[13:04:23.302] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/gl-renderer.so'
[13:04:23.482] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_platform_wayland
EGL_EXT_platform_wayland EGL_EXT_device_query
EGL_EXT_device_drm EGL_EXT_device_drm_render_node
EGL_KHR_platform_gbm
[13:04:23.496] EGL device extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_platform_wayland
EGL_EXT_platform_wayland EGL_EXT_device_query
EGL_EXT_device_drm EGL_EXT_device_drm_render_node
EGL_KHR_platform_gbm
[13:04:23.497] EGL version: 1.5
[13:04:23.497] EGL vendor: Vivante Corporation
[13:04:23.497] EGL client APIs: OpenGL_ES OpenVG
[13:04:23.497] EGL extensions: EGL_KHR_fence_sync EGL_KHR_reusable_sync
EGL_KHR_wait_sync EGL_KHR_image EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_lock_surface
EGL_KHR_create_context EGL_KHR_no_config_context
EGL_KHR_surfaceless_context EGL_KHR_get_all_proc_addresses
EGL_EXT_create_context_robustness EGL_EXT_protected_surface
EGL_EXT_protected_content EGL_EXT_buffer_age
EGL_ANDROID_native_fence_sync EGL_WL_bind_wayland_display
EGL_WL_create_wayland_buffer_from_image EGL_KHR_partial_update
EGL_EXT_swap_buffers_with_damage
EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float
[13:04:23.498] EGL_KHR_surfaceless_context available
[13:04:23.585] GL version: OpenGL ES 3.1 V6.4.3.p4.398061
[13:04:23.585] GLSL version: OpenGL ES GLSL ES 3.10
[13:04:23.585] GL vendor: Vivante Corporation
[13:04:23.585] GL renderer: Vivante GC7000L
[13:04:23.585] GL extensions: GL_OES_vertex_type_10_10_10_2
GL_OES_vertex_half_float GL_OES_element_index_uint
GL_OES_mapbuffer GL_OES_vertex_array_object
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_compressed_paletted_texture GL_OES_texture_npot
GL_OES_rgb8_rgba8 GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_depth32
GL_OES_packed_depth_stencil GL_OES_fbo_render_mipmap
GL_OES_get_program_binary GL_OES_fragment_precision_high
GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3
GL_OES_EGL_sync GL_OES_texture_stencil8
GL_OES_shader_image_atomic
GL_OES_texture_storage_multisample_2d_array
GL_OES_required_internalformat GL_OES_surfaceless_context
GL_OES_copy_image GL_OES_draw_buffers_indexed
GL_OES_texture_border_clamp GL_OES_texture_buffer
GL_OES_texture_cube_map_array GL_OES_draw_elements_base_vertex
GL_OES_texture_half_float GL_OES_texture_float
GL_KHR_blend_equation_advanced GL_KHR_debug GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888
GL_EXT_texture_compression_s3tc GL_EXT_read_format_bgra
GL_EXT_multi_draw_arrays GL_EXT_frag_depth
GL_EXT_discard_framebuffer GL_EXT_blend_minmax
GL_EXT_multisampled_render_to_texture
GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float
GL_EXT_robustness GL_EXT_texture_sRGB_decode
GL_EXT_draw_buffers_indexed GL_EXT_texture_border_clamp
GL_EXT_texture_buffer GL_EXT_copy_image
GL_EXT_texture_cube_map_array GL_EXT_multi_draw_indirect
GL_EXT_draw_elements_base_vertex GL_EXT_texture_rg
GL_EXT_protected_textures GL_EXT_sRGB GL_EXT_unpack_subimage
GL_VIV_direct_texture
[13:04:23.820] GL ES 3.1 - renderer features:
read-back format: BGRA
EGL Wayland extension: yes
[13:04:24.025] event2 - Goodix Capacitive TouchScreen: is tagged by udev as: Keyboard Touchscreen
[13:04:24.026] event2 - Goodix Capacitive TouchScreen: device is a keyboard
[13:04:24.026] event2 - Goodix Capacitive TouchScreen: device is a touch device
[13:04:24.032] event1 - gpio-keys: is tagged by udev as: Keyboard
[13:04:24.032] event1 - gpio-keys: device is a keyboard
[13:04:24.037] event0 - sc-powerkey: is tagged by udev as: Keyboard
[13:04:24.037] event0 - sc-powerkey: device is a keyboard
[13:04:24.194] Touchscreen - Goodix Capacitive TouchScreen - /sys/devices/platform/bus@5a000000/5a810000.i2c/i2c-1/1-005d/input/input2/event2
[13:04:24.194] libinput: configuring device "Goodix Capacitive TouchScreen".
[13:04:24.194] input device event2 has no enabled output associated (none named), skipping calibration for now.
[13:04:24.194] libinput: configuring device "gpio-keys".
[13:04:24.194] libinput: configuring device "sc-powerkey".
[13:04:24.195] DRM: head 'LVDS-1' updated, connector 90 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[13:04:24.195] DRM: head 'LVDS-1' found, connector 90 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[13:04:24.196] Registered plugin API 'weston_drm_output_api_v1' of size 24
[13:04:24.196] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 48
[13:04:24.196] Color manager: no-op
[13:04:24.197] Module '/usr/lib/libgbm.so' already loaded
[13:04:24.197] Output 'LVDS-1' using color profile: built-in default sRGB SDR profile
[13:04:24.208] Chosen EGL config details: id: 21 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[13:04:24.208] Output LVDS-1 (crtc 38) video modes:
1024x600@60.9, preferred, current, 52.0 MHz
[13:04:24.208] associating input device event2 with output LVDS-1 (none by udev)
[13:04:24.209] associating input device event1 with output LVDS-1 (none by udev)
[13:04:24.209] associating input device event0 with output LVDS-1 (none by udev)
[13:04:24.210] Output 'LVDS-1' enabled with head(s) LVDS-1
[13:04:24.210] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: yes
color operations: no
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[13:04:24.213] Loading module '/usr/lib/aarch64-linux-gnu/weston/desktop-shell.so'
[13:04:24.246] launching '/usr/lib/aarch64-linux-gnu/weston-keyboard'
[13:04:24.255] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[13:04:24.259] Loading module '/usr/lib/aarch64-linux-gnu/weston/screen-share.so'
[13:04:24.271] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/xwayland.so'
[13:04:24.569] Registered plugin API 'weston_xwayland_v1' of size 32
[13:04:24.570] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[13:04:24.571] xserver listening on display :0
[13:04:24.571] launching '/usr/lib/aarch64-linux-gnu/weston-desktop-shell'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
They are nearly identical.
I hope that helps.