I am following the instructions noted below to start the weston terminal on the wayland app.
I am using a Verdin imx8mplus on the Verdin board with a verdin mezzanine card connected to a 10.1 inch capacitive LVDS display.
On power up, I can see the Torizon image on the LVDS screen, indicating that connections are ok.
However, I am unable to see the weston terminal as noted from the instructions on the LVDS screen. Please can you check.
See log below of the commands used.
torizon@verdin-imx8mp-07154617:~$ find /sys/devices -name “edid”
/sys/devices/platform/display-subsystem/drm/card0/card0-LVDS-1/edid
torizon@verdin-imx8mp-07154617:~$ docker run -e ACCEPT_FSL_EULA=1 -d --rm --name=wayland-app --volume /dev/dri:/dev/dri --volume /dev/galcore:/dev/galcore --volume /tmp:/tmp --device-cgroup-rule=‘c 199:* rmw’ --device-cgroup-rule=‘c 226:* rmw’ torizon/weston-vivante:$CT_TAG_WESTON_VIVANTE weston-terminal
7752ace3f89e3e1b9e0d726325c373d261762433f1ed70f533b5725f24a7834a
torizon@verdin-imx8mp-07154617:~$
We refactored some things with the Weston container for TorizonCore 6 and it looks like that specific part of the documentation did not get updated. Thanks for noticing, we’ll update it as soon as possible.
To accomplish bringing up Weston you can run the following:
Thanks for coming back so quickly. I ran the docker command on the bash terminal, can see a grey screen now. However dont see a terminal. See log below.
torizon@verdin-imx8mp-07154617:~$ docker run --rm -e ACCEPT_FSL_EULA=1 -v /dev:/dev -v /dev/galcore:/dev/galcore -v /tmp:/tmp --device-cgroup-rule=‘c 199:* rmw’ --device-cgroup-rule=‘c 226:* rmw’ --device-cgroup-rule=‘c 4:0 rmw’ --device-cgroup-rule=‘c 4:7 rmw’ --device-cgroup-rule=‘c 4:1 rmw’ --cap-add=CAP_SYS_TTY_CONFIG torizon/weston-vivante:$CT_TAG_WESTON_VIVANTE --developer
NXP EULA has already been accepted.
SoC is: ‘i.MX8MP’
SoC has GPU: true
SoC has DPU: false
g2d implementation: viv
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…
NXP EULA has already been accepted.
touch: cannot touch ‘/tmp/nxp-eula-accepted’: Permission denied
touch: cannot touch ‘/tmp/nxp-eula-accepted’: Permission denied
Date: 1970-01-01 UTC
[01:22:00.476] weston 9.0.0 https://wayland.freedesktop.org
Bug reports to: Issues · wayland / weston · GitLab
Build: 9.0.0
[01:22:00.477] Command line: /usr/bin/weston --current-mode
[01:22:00.477] OS: Linux, 5.4.193-5.7.0+git.f78299297185, #1-TorizonCore SMP PREEMPT Mon Jul 11 14:42:03 UTC 2022, aarch64
[01:22:00.477] Using config file ‘/etc/xdg/weston-dev//weston.ini’
Date: 1970-01-01 UTC
[01:22:00.476] weston 9.0.0 https://wayland.freedesktop.org
Bug reports to: Issues · wayland / weston · GitLab
Build: 9.0.0
[01:22:00.477] Command line: /usr/bin/weston --current-mode
[01:22:00.477] OS: Linux, 5.4.193-5.7.0+git.f78299297185, #1-TorizonCore SMP PREEMPT Mon Jul 11 14:42:03 UTC 2022, aarch64
[01:22:00.477] Using config file ‘/etc/xdg/weston-dev//weston.ini’
[01:22:00.479] Output repaint window is 7 ms maximum.
[01:22:00.479] Output repaint window is 7 ms maximum.
[01:22:00.480] Loading module ‘/usr/lib/aarch64-linux-gnu/libweston-9/drm-backend.so’
[01:22:00.480] Loading module ‘/usr/lib/aarch64-linux-gnu/libweston-9/drm-backend.so’
[01:22:00.497] initializing drm backend
[01:22:00.497] initializing drm backend
[01:22:00.501] logind: not running in a systemd session
[01:22:00.501] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[01:22:00.501] logind: not running in a systemd session
[01:22:00.501] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[01:22:00.504] using /dev/dri/card0
[01:22:00.504] DRM: supports atomic modesetting
[01:22:00.505] DRM: does not support GBM modifiers
[01:22:00.504] using /dev/dri/card0
[01:22:00.504] DRM: supports atomic modesetting
[01:22:00.505] DRM: supports picture aspect ratio
[01:22:00.505] DRM: does not support GBM modifiers
[01:22:00.505] DRM: supports picture aspect ratio
[01:22:00.505] Loading module ‘/usr/lib/aarch64-linux-gnu/libweston-9/gl-renderer.so’
[01:22:00.505] Loading module ‘/usr/lib/aarch64-linux-gnu/libweston-9/gl-renderer.so’
[01:22:00.536] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_platform_wayland
EGL_EXT_platform_wayland EGL_KHR_platform_gbm
[01:22:00.536] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_platform_wayland
EGL_EXT_platform_wayland EGL_KHR_platform_gbm
[01:22:00.543] EGL version: 1.5
[01:22:00.543] EGL version: 1.5
[01:22:00.543] EGL vendor: Vivante Corporation
[01:22:00.543] EGL client APIs: OpenGL_ES OpenVG
[01:22:00.543] 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
[01:22:00.544] EGL_KHR_surfaceless_context available
[01:22:00.543] EGL vendor: Vivante Corporation
[01:22:00.543] EGL client APIs: OpenGL_ES OpenVG
[01:22:00.543] 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
[01:22:00.544] EGL_KHR_surfaceless_context available
[01:22:00.564] GL version: OpenGL ES 3.1 V6.4.3.p1.305572
[01:22:00.564] GLSL version: OpenGL ES GLSL ES 3.10
[01:22:00.564] GL vendor: Vivante Corporation
[01:22:00.564] GL renderer: Vivante GC7000UL
[01:22:00.564] 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_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_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_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_VIV_direct_texture
[01:22:00.566] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[01:22:00.564] GL version: OpenGL ES 3.1 V6.4.3.p1.305572
[01:22:00.564] GLSL version: OpenGL ES GLSL ES 3.10
[01:22:00.564] GL vendor: Vivante Corporation
[01:22:00.564] GL renderer: Vivante GC7000UL
[01:22:00.564] 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_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_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_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_VIV_direct_texture
[01:22:00.566] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[01:22:00.587] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option ‘seat’, udev device property ID_SEAT)
[01:22:00.588] failed to create input devices
[01:22:00.588] DRM: head ‘LVDS-1’ found, connector 36 is connected, EDID make ‘unknown’, model ‘unknown’, serial ‘unknown’
[01:22:00.587] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option ‘seat’, udev device property ID_SEAT)
[01:22:00.588] failed to create input devices
[01:22:00.588] DRM: head ‘LVDS-1’ found, connector 36 is connected, EDID make ‘unknown’, model ‘unknown’, serial ‘unknown’
[01:22:00.589] Registered plugin API ‘weston_drm_output_api_v1’ of size 24
[01:22:00.589] Registered plugin API ‘weston_drm_virtual_output_api_v1’ of size 48
[01:22:00.589] Registered plugin API ‘weston_drm_output_api_v1’ of size 24
[01:22:00.589] Registered plugin API ‘weston_drm_virtual_output_api_v1’ of size 48
[01:22:00.591] Chosen EGL config details: id: 41 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[01:22:00.591] Output LVDS-1 (crtc 33) video modes:
1280x800@58.3, preferred, current, 68.9 MHz
[01:22:00.592] Output ‘LVDS-1’ enabled with head(s) LVDS-1
[01:22:00.592] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[01:22:00.591] Chosen EGL config details: id: 41 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[01:22:00.591] Output LVDS-1 (crtc 33) video modes:
1280x800@58.3, preferred, current, 68.9 MHz
[01:22:00.592] Output ‘LVDS-1’ enabled with head(s) LVDS-1
[01:22:00.592] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[01:22:00.593] Loading module ‘/usr/lib/aarch64-linux-gnu/weston/desktop-shell.so’
[01:22:00.593] Loading module ‘/usr/lib/aarch64-linux-gnu/weston/desktop-shell.so’
[01:22:00.596] launching ‘/usr/lib/aarch64-linux-gnu/weston-keyboard’
[01:22:00.596] launching ‘/usr/lib/aarch64-linux-gnu/weston-keyboard’
[01:22:00.601] Loading module ‘/usr/lib/aarch64-linux-gnu/weston/screen-share.so’
[01:22:00.601] Loading module ‘/usr/lib/aarch64-linux-gnu/weston/screen-share.so’
[01:22:00.612] Screen share failed: No wl_shm found
[01:22:00.612] Screen share failed: No wl_shm found
[01:22:00.614] Loading module ‘/usr/lib/aarch64-linux-gnu/libweston-9/xwayland.so’
[01:22:00.614] Loading module ‘/usr/lib/aarch64-linux-gnu/libweston-9/xwayland.so’
[01:22:00.637] Registered plugin API ‘weston_xwayland_v1’ of size 32
[01:22:00.637] Registered plugin API ‘weston_xwayland_surface_v1’ of size 16
[01:22:00.637] xserver listening on display :0
[01:22:00.638] launching ‘/usr/lib/aarch64-linux-gnu/weston-desktop-shell’
[01:22:00.637] Registered plugin API ‘weston_xwayland_v1’ of size 32
[01:22:00.637] Registered plugin API ‘weston_xwayland_surface_v1’ of size 16
[01:22:00.637] xserver listening on display :0
[01:22:00.638] launching ‘/usr/lib/aarch64-linux-gnu/weston-desktop-shell’
[01:22:00.702] unknown child process exited
[01:22:00.702] unknown child process exited
could not load cursor ‘dnd-move’
could not load cursor ‘dnd-move’
could not load cursor ‘dnd-copy’
could not load cursor ‘dnd-copy’
could not load cursor ‘dnd-none’
could not load cursor ‘dnd-none’
could not load cursor ‘dnd-move’
could not load cursor ‘dnd-move’
could not load cursor ‘dnd-copy’
could not load cursor ‘dnd-copy’
could not load cursor ‘dnd-none’
could not load cursor ‘dnd-none’
I am using
torizon@verdin-imx8mp-07154617:~$ uname -a
Linux verdin-imx8mp-07154617 5.4.193-5.7.0+git.f78299297185 #1-TorizonCore SMP PREEMPT Mon Jul 11 14:42:03 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux