<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hello,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I posted a question last year about mirroring/cloning to LVDS/hdmi on an imx8, which is not supported by the display driver. This thread suggests that a solution for this was being worked last June, but I have not seen follow up on the topic since then.  Is
 there any change in the status?</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
thanks,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Dawn</div>
<div id="Signature">
<p> </p>
</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> Daniel Stone <daniel@fooishbar.org><br>
<b>Sent:</b> Friday, June 23, 2023 10:04 AM<br>
<b>To:</b> Dawn HOWE <dawn.howe@alten.com><br>
<b>Cc:</b> wayland-devel@lists.freedesktop.org <wayland-devel@lists.freedesktop.org><br>
<b>Subject:</b> Re: Weston mirror/clone to 2 different displays</span>
<div> </div>
</div>
<div style="font-family: Calibri, sans-serif;">Hi Dawn,</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;">On Thu, 22 Jun 2023 at 18:09, Dawn HOWE <<a href="mailto:dawn.howe@alten.com" id="OWAc9ab8bbc-9dac-bc74-4f90-d7149008c3f9" class="OWAAutoLink" data-loopstyle="linkonly">dawn.howe@alten.com</a>> wrote:</div>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left: 1px solid rgb(204, 204, 204);">
<p style="direction: ltr;">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://secure-web.cisco.com/1qqKzDdWiU1WxNx_1TpOWJ-iSI2TjeLkxdsz1u3dTzFUAeGjZk3MkNig_jPd-wds8_naYOU4DgHGNY7S5gLnEomhCtYlxT2Eq_al1fYRbeKRSy6zzqhyt1iWUudR9EUtgBcffrsaAYdXc5X-ECue_LMusWt5iDW39uJpx_bAgRNkx-7vl34qGXQMz4V6KIJS6HdH8-LWCtucb0DMPb8SaHi0jKOWYo_ilZwTPLgtTatbmhhZD_TF8OXfOHBJYHKfHyysh0zQW8jT61c3-RbCCa06qQJkILh2etzkUWkhLeDO4UylwQaODEYrF7V8_ArLvfggwPmbCOKSeiDdDdLEk3GQx7o0FkC7v-_Jse1glUkfG7zVY5-BW2_bQjH36tMFiyOk34qW5ZO-_0IUIrMJ2Er4uR6XMnq2G-Ckh9nqomzu6DACKXMIiSqUS2F3P5EBxyO2nobhtO21X8vdB4hnxNjLZ4zHyDYuKQlatrGSo8yKlCT5lLng4yp1ztU5uWBUHf4WGFju4oXblCQMR30Xa5g/https%3A%2F%2Fcommunity.toradex.com%2Ft%2Fapalis-imx8-hdmi-and-lvds-display-not-mirroring-cloning%2F19869" id="OWA191c4d47-cf12-3f01-6021-5a8a74438657" class="OWAAutoLink" data-auth="NotApplicable" data-loopstyle="linkonly" style="margin-top: 0px; margin-bottom: 0px;">https://community.toradex.com/t/apalis-imx8-hdmi-and-lvds-display-not-mirroring-cloning/19869</a>).</p>
<p style="direction: ltr;"> </p>
<p style="direction: ltr;">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.</p>
<p style="direction: ltr;"> </p>
<p style="direction: ltr;">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>
</p>
<p style="direction: ltr;">ls /sys/class/drm</p>
<p style="direction: ltr;">card0  card1  card1-HDMI-A-1  card1-LVDS-1  renderD128              renderD129  version</p>
</blockquote>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;">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 style="direction: ltr;"><br>
</div>
<div style="direction: ltr;">Cheers,</div>
<div style="direction: ltr;">Daniel </div>
The information contained in this e-mail and any attachments are intended solely for the addressees. If you have received this email in error, please contact the sender and delete the email from your system.<br>
</body>
</html>