<div dir="ltr"><div dir="ltr">Hi Dawn,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Jun 2023 at 18:09, Dawn HOWE <<a href="mailto:dawn.howe@alten.com">dawn.howe@alten.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg2790761199274848819">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_2790761199274848819WordSection1">
<p class="MsoNormal">I am developing an (embedded) medical device which is required to have a touchscreen display and also mirror the output to a monitor connected via HDMI. The device is using Wayland/Weston on TorizonCore (based on a yocto kirkstone). I am
able to get the display extended from HDMI to LVDS, but not have the output mirrored to both displays. I posted a query on the Toradex community, and received a response that Weston may not be capable of doing this. (<a href="https://community.toradex.com/t/apalis-imx8-hdmi-and-lvds-display-not-mirroring-cloning/19869" target="_blank">https://community.toradex.com/t/apalis-imx8-hdmi-and-lvds-display-not-mirroring-cloning/19869</a>).<br></p><p class="MsoNormal"><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have searched and found some old posts from several years ago indicating that it was not supported, but may be with a patch. I understand that “same-as” configuration in weston.ini does not work for my scenario.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">What is the current state of cloning/mirroring to two different outputs, but on the same card. E.g (card1-HDMI-A-1 and card1-LVDS-1):<br>
<br>
<u></u><u></u></p>
<p class="MsoNormal">ls /sys/class/drm<u></u><u></u></p>
<p class="MsoNormal">card0 card1 card1-HDMI-A-1 card1-LVDS-1 renderD128 renderD129 version</p></div></div></div></blockquote><div><br></div><div>Weston can currently mirror it if the display driver directly supports it. You can use the same-as configuration option (see man weston-drm) to enable this. If your display driver doesn't support this in the kernel, then Weston won't do it for now, but we are actively working on this and expect to have a branch capable of this within the next couple of weeks or so.</div><div><br></div><div>Cheers,</div><div>Daniel <br></div></div></div>