<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 21, 2018 at 3:44 PM, Matheus Santana <span dir="ltr"><<a href="mailto:embs@cin.ufpe.br" target="_blank">embs@cin.ufpe.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On Thu, Jun 21, 2018 at 5:11 AM, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Wed, 13 Jun 2018 17:40:59 +0530<br>
Ashvini Deshmukh <<a href="mailto:ashvini2781@gmail.com" target="_blank">ashvini2781@gmail.com</a>> wrote:<br>
<br>
> Hello All,<br>
> <br>
> I have read queries for dual display on <a href="http://freedesktop.org" rel="noreferrer" target="_blank">freedesktop.org</a><br>
> <br>
> I need your help in the same context.<br>
> <br>
> Currently we are creating one application to support multiple displays with<br>
> Wayland.<br>
<br>
</span>Hi,<br>
<br>
you are developing an application, ok. I assume that means a Wayland<br>
client specifically.<br>
<span><br>
> We are unaware that one compositor will be sufficient for dual display.<br>
<br>
</span>Sorry, I don't understand. Are you asking whether one Wayland<br>
compositor could driver multiple displays? Yes, they can in general.<br>
Capabilities will vary between different compositor implementations.<br>
<span><br>
> We need to know about how virtual framebuffer is created per display.<br>
<br>
</span>As an application developer, why would you care about that? That is a<br>
compositor internal implementation detail.<br>
<br>
Why virtual? Real outputs do not have virtual framebuffers, they have<br>
real framebuffers as far as the compositor is concerned.<br>
<span><br>
> As DRM supports only one compositor,<br>
> How to display same content on second display OR can we have different user<br>
> events on second display monitor.<br>
<br>
</span>What do you mean?<br>
<br>
If a Wayland compositor supports and has been configured to show the<br>
same content on multiple displays, then it will do that. From a Wayland<br>
client perspective, there is nothing you need to do to have your<br>
window show up on cloned displays compared to a single display case.<br>
<br>
By user events, do you mean input events?<br>
<br>
It is certainly possible to write a compositor that dedicates one set<br>
of input devices for one display and another set of input devices for<br>
the other display.<br>
<br>
Applications are expected to support multiple wl_seat globals (similar<br>
to multi-pointer X in essence). There is nothing else they would need<br>
to specifically support for a compositor that had multiple outputs,<br>
cloned outputs, or divided input devices in any arbitrary way.<br>
<br>
I did not understand your requirements well enough to say how well<br>
Weston would work for you.<br>
<br>
For example, Weston currently does not support multiple KMS devices,<br>
but it does support multiple displays on a single KMS device. Support<br>
for multiple KMS devices is desired in Weston though, so maybe it will<br>
in the future.<br></blockquote><div><br></div></div></div><div>I'm curious about what you specifically mean by KMS device. Each graphics card?<br></div></div></div></div></blockquote><div><br></div><div>Found the response for this in <a href="https://www.x.org/wiki/SummerOfCodeIdeas/">SoC ideas page</a>:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Weston supports multiple outputs, but currently limits them to a single GPU. Add support to Weston's DRM backend to open several KMS devices, with the ability to use outputs from all of them.<br></blockquote></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div> <br></div><div>I've just tried Weston with two displays and it worked out on the fly ("extended mode").<br></div><span class="gmail-"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Weston's clone mode is currently limited to sharing a CRTC between all<br>
displays, assuming someone reviews the final patch needed to configure<br>
it. Support for this configuration does not seem to be common among PC<br>
graphics hardware, embedded boards may have better chances.<br></blockquote><div><br></div></span><div>What does CRTC stand for? <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
Thanks,<br>
pq<br>
<br>______________________________<wbr>_________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedeskto<wbr>p.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/wayland-devel</a><br>
<br></blockquote><div><br><br></div><div>Best regards,<br></div><div>Matheus <br></div></div><br></div></div>
</blockquote></div><br></div></div>