This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM625: AM62x LVDS mirroring

Part Number: AM625

Tool/software:

Dear support team,

in the device tree we configured the 2 LVDS port to connect 2 identical LVDS displays working in mirror mode.

I can successfully run any Qt demo, using eglfs backend, and both the LVDS displays works fine in mirror mode.

Unfortunately, if I try starting wayland, it crashes reporting the following error

[15:43:41.071] Error: Failed to retrieve wl_shm from parent Wayland compositor

[15:43:41.071] fatal: failed to create compositor backend

Can you suggest how to configure the weston.ini to successfully start weston ?

Thanks

BR

Pier

  • Hi Pier,

    No additional weston config should be required and did Weston launch on your board before configuring the LVDS?

    Regards,
    Krunal

  • Hi ,

    what you mean by "before configuring the LVDS" ?

    I'm currently configuring the LVDS mirroring in the device tree: should I actually configure the LVDS mirroring in user-space after launching Weston ?

    Thanks

    Best Regards

    Pier

  • Hi Pier,

    I am just trying to understand if Weston worked on your setup. I am assuming you have a custom board with your custom BSP. Do you have any other display interface besides LVDS that you can test? Also, if you configure LVDS as single link (no mirror) does weston work? Lastly, what BSP are you using?

    Regards,
    Krunal

  • Hi ,

    my BSP is based on "Processor SDK Linux for AM62x 09.02.01.10 (22 May 2024)".

    The single display works out of the box with Weston.

    To connect a 2nd identical LVDS, I duplicated the current display node and linked its endpoint to dss port 2: this allows mirroring the accelerated framebuffer using Qt5+eglfs but cause weston to crash.

    Is there any different approach to duplicate LVDS output to dss port 2 ?

    Thanks

    Best Regards

    Pier

  • Hi Pier,

    The approach sounds reasonable and you already have non-weston approach working. I will check with our developers if anything additional is required. 

    Regards,
    Krunal

  • Hi ,

    thanks for confirming, looking forward for weston updates.

    Best Regards

    Pier

  • Hi Pier,

    Can you share your DTS changes for lvds mirror with me?

    Regards,
    Krunal

  • Hi ,

    do you mean privately ?

    Thanks

    Best Regards

    Pier

  • Hi,

    If possible, can you just share the DTS snippet here?

    Regards,
    Krunal

  • Hi ,

    I'm using something like this

    {
        display {
            compatible = "mydisplay";
            backlight = <&backlight>;
            status = "okay";
            port@0 {
                lcd_in0: endpoint {
                    remote-endpoint = <&oldi_out0>;
                };
            };
        };
        display1 {
            compatible = "mydisplay";
            backlight = <&backlight>;
            status = "okay";
            port@0 {
                lcd_in1: endpoint {
                    remote-endpoint = <&oldi_out1>;
                };
            };
        };
    };
    &dss_ports {
        #address-cells = <1>;
        #size-cells = <0>;
        /* VP1: LVDS Output (OLDI TX 0) */
        port@0 {
            reg = <0>;
            oldi_out0: endpoint {
                remote-endpoint = <&lcd_in0>;
            };
        };
        /* VP1: LVDS Output (OLDI TX 1) */
        port@2 {
            reg = <2>;
            oldi_out1: endpoint {
                    remote-endpoint = <&lcd_in1>;
            };
        };
    };

    You don't really need the displays to be connected: weston crashes in any case.

    Please let me know if you need further details.

    Thanks

    Best Regards

    Pier

  • Hi Pier,

    Apologizes for the delayed response. I tested the clone mode on my AM625 setup and here is the result:

    I was able to launch weston and here is the output:

    root@am62xx-evm:/# /usr/bin/weston --modules=systemd-notify.so
    Date: 2024-10-29 UTC
    [23:00:10.930] weston 10.0.2
                   https://wayland.freedesktop.org
                   Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
                   Build: 10.0.2
    [23:00:10.931] Command line: /usr/bin/weston --modules=systemd-notify.so
    [23:00:10.931] OS: Linux, 6.1.83-dirty, #1 SMP PREEMPT Fri May 31 16:26:12 CDT 2024, aarch64
    [23:00:10.931] Flight recorder: enabled
    [23:00:10.931] Using config file '/etc/xdg/weston/weston.ini'
    [23:00:10.932] Output repaint window is 7 ms maximum.
    [23:00:10.933] Loading module '/usr/lib/libweston-10/wayland-backend.so'
    [  707.045364] audit: type=1006 audit(1730242811.063:21): pid=1520 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=6 res=1
    [  707.058340] audit: type=1300 audit(1730242811.063:21): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffdafcad78 a2=4 a3=0 items=0 ppid=1 pid=1520 auid=100)
    [  707.084224] audit: type=1327 audit(1730242811.063:21): proctitle="(weston)"
    [23:00:11.319] Loading module '/usr/lib/libweston-10/gl-renderer.so'
    [23:00:11.322] EGL client extensions: EGL_EXT_client_extensions
                   EGL_EXT_device_base EGL_EXT_device_enumeration
                   EGL_EXT_device_query EGL_EXT_platform_base
                   EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
                   EGL_EXT_platform_device EGL_EXT_platform_wayland
                   EGL_KHR_platform_wayland EGL_MESA_platform_gbm
                   EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
    [23:00:11.378] EGL device extensions: EGL_EXT_device_drm
    [23:00:11.379] EGL version: 1.5
    [23:00:11.380] EGL vendor: Mesa Project
    [23:00:11.380] EGL client APIs: OpenGL_ES 
    [23:00:11.380] EGL extensions: EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age
                   EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
                   EGL_EXT_image_dma_buf_import_modifiers
                   EGL_EXT_image_gl_colorspace EGL_EXT_present_opaque
                   EGL_EXT_swap_buffers_with_damage EGL_EXT_yuv_surface
                   EGL_IMG_context_priority EGL_KHR_cl_event2
                   EGL_KHR_config_attribs EGL_KHR_create_context
                   EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
                   EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
                   EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
                   EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base
                   EGL_KHR_no_config_context EGL_KHR_partial_update
                   EGL_KHR_reusable_sync EGL_KHR_surfaceless_context
                   EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float
                   EGL_KHR_wait_sync EGL_MESA_configless_context
                   EGL_MESA_drm_image EGL_MESA_image_dma_buf_export
                   EGL_MESA_query_driver EGL_WL_bind_wayland_display
                   EGL_WL_create_wayland_buffer_from_image EGL_IMG_cl_image
    [23:00:11.382] EGL_KHR_surfaceless_context available
    [23:00:11.424] GL version: OpenGL ES 3.1 build 23.3@6512818
    [23:00:11.425] GLSL version: OpenGL ES GLSL ES 3.10 build 23.3@6512818
    [23:00:11.425] GL vendor: Imagination Technologies
    [23:00:11.425] GL renderer: PowerVR A-Series AXE-1-16M
    [23:00:11.425] GL extensions: GL_APPLE_texture_format_BGRA8888
                   GL_EXT_EGL_image_array GL_EXT_YUV_target GL_EXT_blend_minmax
                   GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control
                   GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float
                   GL_EXT_compressed_ETC1_RGB8_sub_texture
                   GL_EXT_conservative_depth GL_EXT_copy_image
                   GL_EXT_discard_framebuffer GL_EXT_draw_buffers
                   GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
                   GL_EXT_float_blend GL_EXT_gpu_shader5 GL_EXT_memory_object
                   GL_EXT_memory_object_fd GL_EXT_multi_draw_arrays
                   GL_EXT_multisampled_render_to_texture
                   GL_EXT_multisampled_render_to_texture2
                   GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp
                   GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB
                   GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects
                   GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote
                   GL_EXT_shader_implicit_conversions GL_EXT_shader_io_blocks
                   GL_EXT_shader_non_constant_global_initializers
                   GL_EXT_shader_pixel_local_storage
                   GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod
                   GL_EXT_shadow_samplers GL_EXT_sparse_texture
                   GL_EXT_texture_border_clamp GL_EXT_texture_buffer
                   GL_EXT_texture_cube_map_array GL_EXT_texture_format_BGRA8888
                   GL_EXT_texture_format_sRGB_override GL_EXT_texture_rg
                   GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
                   GL_EXT_texture_sRGB_decode GL_EXT_texture_shadow_lod
                   GL_EXT_texture_type_2_10_10_10_REV GL_EXT_unpack_subimage
                   GL_IMG_framebuffer_downsample
                   GL_IMG_multisampled_render_to_texture GL_IMG_program_binary
                   GL_IMG_read_format GL_IMG_shader_binary
                   GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot
                   GL_KHR_blend_equation_advanced
                   GL_KHR_blend_equation_advanced_coherent GL_KHR_debug
                   GL_KHR_robustness GL_NV_draw_instanced GL_NV_instanced_arrays
                   GL_OES_EGL_image GL_OES_EGL_image_external
                   GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
                   GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
                   GL_OES_depth_texture GL_OES_depth_texture_cube_map
                   GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex
                   GL_OES_element_index_uint GL_OES_fragment_precision_high
                   GL_OES_get_program_binary GL_OES_gpu_shader5 GL_OES_mapbuffer
                   GL_OES_packed_depth_stencil GL_OES_required_internalformat
                   GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables
                   GL_OES_shader_image_atomic GL_OES_shader_io_blocks
                   GL_OES_shader_multisample_interpolation
                   GL_OES_standard_derivatives GL_OES_surfaceless_context
                   GL_OES_texture_3D GL_OES_texture_border_clamp
                   GL_OES_texture_buffer GL_OES_texture_cube_map_array
                   GL_OES_texture_float GL_OES_texture_half_float
                   GL_OES_texture_half_float_linear GL_OES_texture_npot
                   GL_OES_texture_stencil8
                   GL_OES_texture_storage_multisample_2d_array
                   GL_OES_vertex_array_object GL_OES_vertex_half_float
    [23:00:11.810] GL ES 3.1 - renderer features:
                   read-back format: BGRA
                   wl_shm sub-image to texture: yes
                   EGL Wayland extension: yes
    [23:00:11.811] Registered plugin API 'weston_windowed_output_api_v1' of size 16
    [23:00:11.811] Color manager: no-op
    [23:00:11.812] Output 'wayland0' using color profile: built-in default sRGB SDR profile
    [23:00:11.812] Creating 1024x640 wayland output at (0, 0)
    [23:00:11.813] wayland-backend: Using xdg_wm_base
    [23:00:11.814] Chosen EGL config details: id:   1 rgba: 8 8 8 8 buf: 32 dep:  0 stcl: 0 int: 0-1 type: win|pbf|swap_preserved vis_id: 0
    [23:00:11.850] Output 'wayland0' enabled with head(s) wayland0
    [23:00:11.851] Compositor capabilities:
                   arbitrary surface rotation: yes
                   screen capture uses y-flip: yes
                   cursor planes: no
                   arbitrary resolutions: no
                   view mask clipping: yes
                   explicit sync: yes
                   color operations: no
                   presentation clock: CLOCK_MONOTONIC_RAW, id 4
                   presentation clock resolution: 0.000000001 s
    [23:00:11.854] Loading module '/usr/lib/weston/desktop-shell.so'
    [23:00:11.861] launching '/usr/libexec/weston-keyboard'
    [23:00:11.871] 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-sh.
    [23:00:11.875] Loading module '/usr/lib/weston/systemd-notify.so'
    [23:00:11.915] launching '/usr/libexec/weston-desktop-shell'
    Touch screen not detected, skipping calibration...
    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'
    

    Here is the DT change on my side:

    diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk-microtips-mf101hie-panel.dtso b/arch/arm64/boot/dts/ti/k3-am625-sk-microtips-mf101hie-panel.dtso
    index 8194cc8a0..b7ddbc0bd 100644
    --- a/arch/arm64/boot/dts/ti/k3-am625-sk-microtips-mf101hie-panel.dtso
    +++ b/arch/arm64/boot/dts/ti/k3-am625-sk-microtips-mf101hie-panel.dtso
    @@ -14,31 +14,25 @@
     #include "k3-pinctrl.h"
     
     &{/} {
    -	display {
    -		compatible = "microtips,mf-101hiebcaf0";
    -		/*
    -		* Note that the OLDI TX 0 transmits the odd set of pixels
    -		* while the OLDI TX 1 transmits the even set. This is a
    -		* fixed configuration in the IP integration and is not
    -		* changeable. The properties, "dual-lvds-odd-pixels" and
    -		* "dual-lvds-even-pixels" have been used to merely
    -		* identify if a Dual Link configuration is required.
    -		* Swapping them will not make any difference.
    -		*/
    -		port@0 {
    -			dual-lvds-odd-pixels;
    +	display0 {
    +		compatible = "rocktech,rk101ii01d-ct";
    +
    +		port {
     			lcd_in0: endpoint {
     				remote-endpoint = <&oldi_out0>;
     			};
     		};
    -		port@1 {
    -			dual-lvds-even-pixels;
    -			lcd_in1: endpoint {
    -				remote-endpoint = <&oldi_out1>;
    -			};
    +	};
    +	display1 {
    +	compatible = "rocktech,rk101ii01d-ct";
    +
    +	port {
    +		lcd_in1: endpoint {
    +			remote-endpoint = <&oldi_out1>;
     		};
     	};
     };
    +};
     
     &main_pmx0 {
     	main_oldi0_pins_default: main-oldi0-pins-default {
    @@ -83,24 +77,14 @@
     			remote-endpoint = <&lcd_in0>;
     		};
     	};
    -
    -	/* VP1: LVDS Output (OLDI TX 1) */
    +	
    +		/* VP1: LVDS Output (OLDI TX 0) */
     	port@2 {
     		reg = <2>;
     		oldi_out1: endpoint {
     			remote-endpoint = <&lcd_in1>;
     		};
     	};
    -};
     
    -&main_i2c0 {
    -	#address-cells = <1>;
    -	#size-cells = <0>;
     
    -	touchscreen@41 {
    -		compatible = "ilitek,ili251x";
    -		reg = <0x41>;
    -		interrupt-parent = <&exp1>;
    -		interrupts = <22 IRQ_TYPE_EDGE_FALLING>;
    -	};
     };
    

    Regards,
    Krunal

  • Hi ,

    unfortunately it keeps crashing.

    Please share the output of the command

    ls -al /sys/class/drm/*/

    Thanks

    Best Regards

    Pier

  • Hi Pier,

    Here is the output:

    root@am62xx-evm:~# ls -al /sys/class/drm/*
    lrwxrwxrwx 1 root root    0 Jan  1  1970 /sys/class/drm/card0 -> ../../devices/platform/bus@f0000/30200000.dss/drm/card0
    lrwxrwxrwx 1 root root    0 Jan  1  1970 /sys/class/drm/card0-HDMI-A-1 -> ../../devices/platform/bus@f0000/30200000.dss/drm/card0/card0-HDMI-A-1
    lrwxrwxrwx 1 root root    0 Jan  1  1970 /sys/class/drm/card0-LVDS-1 -> ../../devices/platform/bus@f0000/30200000.dss/drm/card0/card0-LVDS-1
    lrwxrwxrwx 1 root root    0 Jan  1  1970 /sys/class/drm/card0-LVDS-2 -> ../../devices/platform/bus@f0000/30200000.dss/drm/card0/card0-LVDS-2
    lrwxrwxrwx 1 root root    0 Oct 29 22:58 /sys/class/drm/card1 -> ../../devices/platform/bus@f0000/fd00000.gpu/drm/card1
    lrwxrwxrwx 1 root root    0 Nov  1 13:04 /sys/class/drm/renderD128 -> ../../devices/platform/bus@f0000/fd00000.gpu/drm/renderD128
    -r--r--r-- 1 root root 4096 Apr 28  2022 /sys/class/drm/version
    

    Regards,
    Krunal

  • Hi ,

    please disable the HDMI and check again.

    As far as I can see from your last reply the HDMI is enabled, but in our use-case, only the 2 LVDS are present.

    Thanks

    Best Regards

    Pier

  • Hi Pier,

    I can try again with HDMI again but HDMI is not connected on my EVM. I don't think removing HDMI node will make any difference. Is there any additional log in your weston.log file?

    Regards,
    Krunal

  • Hi ,

    the problem is not if the HDMI is connected or not, but the different DRM configuration.

    In my condition, I have 2 LVDS cards, but no HDMI card.

    Thanks

    Best Regards

    Pier

  • Can you also share output of the following: /usr/bin/weston --modules=systemd-notify.so?

    Regards,
    Krunal

  • Hi ,

    following you can find my output

    # /usr/bin/weston --modules=systemd-notify.so
    Date: 2024-09-17 UTC
    [15:43:37.402] weston 10.0.2
                   https://wayland.freedesktop.org
                   Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
                   Build: 10.0.2
    [15:43:37.403] Command line: /usr/bin/weston --modules=systemd-notify.so
    [15:43:37.403] OS: Linux, 6.1.83-g055ead3d5359, #1 SMP PREEMPT Wed Oct 30 17:25:27 CEST 2024, aarch64
    [15:43:37.403] Flight recorder: enabled
    [15:43:37.403] Using config file '/etc/xdg/weston/weston.ini'
    [15:43:37.404] Output repaint window is 7 ms maximum.
    [15:43:37.406] Loading module '/usr/lib/libweston-10/wayland-backend.so'
    [  138.025190] audit: type=1006 audit(1726587817.668:21): pid=1105 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=4 res=1
    [  138.038112] audit: type=1300 audit(1726587817.668:21): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc930e8f8 a2=4 a3=0 items=0 ppid=1 pid=1105 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [  138.064028] audit: type=1327 audit(1726587817.668:21): proctitle="(systemd)"
    [  138.470291] audit: type=1006 audit(1726587818.112:22): pid=1103 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=5 res=1
    [  138.482995] audit: type=1300 audit(1726587818.112:22): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc930e8f8 a2=4 a3=0 items=0 ppid=1 pid=1103 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=5 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [  138.508547] audit: type=1327 audit(1726587818.112:22): proctitle="(weston)"
    [  139.044720] audit: type=1006 audit(1726587818.688:23): pid=1112 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=6 res=1
    [  139.057436] audit: type=1300 audit(1726587818.688:23): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc930e8f8 a2=4 a3=0 items=0 ppid=1 pid=1112 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=6 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [  139.083018] audit: type=1327 audit(1726587818.688:23): proctitle="(weston)"
    [  139.654925] audit: type=1006 audit(1726587819.296:24): pid=1114 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=7 res=1
    [15:43:41.071] Error: Failed to retrieve wl_shm from parent Wayland compositor
    [15:43:41.071] fatal: failed to create compositor backend

    Which is your output disabling the HDMI in the device tree ?

    Thanks

    Best Regards

    Pier

  • Hi Pier,

    For your above error, could you please run the following: unset WAYLAND_DISPLAY

    Regards,
    Krunal

  • Hi ,

    I'm now reading a different error

    # env | grep WAYLAND_DISPLAY
    WAYLAND_DISPLAY=/run/wayland-0
    # unset WAYLAND_DISPLAY
    # env | grep WAYLAND_DISPLAY
    # /usr/bin/weston --modules=systemd-notify.so
    Date: 2024-10-31 UTC
    [20:31:32.475] weston 10.0.2
                   https://wayland.freedesktop.org
                   Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
                   Build: 10.0.2
    [20:31:32.475] Command line: /usr/bin/weston --modules=systemd-notify.so
    [20:31:32.475] OS: Linux, 6.1.83-ti-g62548c6d33d9, #1 SMP PREEMPT Thu Sep 26 12:38:08 UTC 2024, aarch64
    [20:31:32.475] Flight recorder: enabled
    [20:31:32.476] Using config file '/etc/xdg/weston/weston.ini'
    [20:31:32.476] Output repaint window is 7 ms maximum.
    [20:31:32.477] Loading module '/usr/lib/libweston-10/drm-backend.so'
    [20:31:32.482] initializing drm backend
    [20:31:32.483] Trying logind launcher...
    [20:31:32.483] logind: failed to get session seat
    [20:31:32.483] logind: cannot setup systemd-logind helper error: (No data available), using legacy fallback
    [20:31:32.484] Trying weston_launch launcher...
    [20:31:32.484] could not get launcher fd from env
    [20:31:32.484] Trying direct launcher...
    [20:31:32.484] failed to get VT mode: Inappropriate ioctl for device
    [20:31:32.484] fatal: drm backend should be run using weston-launch binary, or your system should provide the logind D-Bus API.
    [20:31:32.484] fatal: failed to create compositor backend
    Internal warning: debug scope 'drm-backend' has not been destroyed.

    Have you been able to test this disabling the HDMI on your side ?

    Thanks

    Best Regards

    Pier

  • Hi Pier,

    Thanks and I saw that on my side as well. To fix the above issue, you need to pass "--tty=1". On my setup, after adding that I see the following: 

    [20:21:02.071] Color manager: no-op
    [20:21:02.071] Output 'LVDS-1' using color profile: built-in default sRGB SDR profile
    [20:21:02.071] Chosen EGL config details: id:   7 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-1 type: win|pbf vis_id: XRGB8888 (0x34325258)
    [20:21:02.072] Output LVDS-1 (crtc 38) video modes:
                   1280x800@60.0, preferred, current, 71.1 MHz
    [20:21:02.072] Output 'LVDS-1' enabled with head(s) LVDS-1
    [20:21:02.072] Output 'LVDS-2' using color profile: built-in default sRGB SDR profile
    [20:21:02.072] Output 'LVDS-2': No available CRTCs.
    [20:21:02.072] Enabling output "LVDS-2" failed.
    [20:21:02.072] Error: cannot enable output 'LVDS-2' without heads.
    [20:21:02.077] BUG: layer_list is not empty after shutdown. Calls to weston_layer_fini() are missing somwhere.

    From this point, I believe it's a weston limitations and it does not seem to support clone mode. I see online forums where people have custom patches to support clone mode.

    Regards,
    Krunal

  • Hi ,

    the "--tty=1"  generate a similar behavior on my side.

    Could you please share the links to the custom patches you are referring to ?

    Thanks

    Best Regards

    Pier

  • Hi Pier,

    I came across the following: https://community.toradex.com/t/clone-mode-not-work-with-multi-display-in-apalis-imx8qp/20141/3. Not sure if it's relevant but something to explore.

    Regards,
    Krunal

  • Thanks .

    For the time being, I'll just mark this feature as not supported in Wayland.

    Best Regards

    Pier