EXT: How to attach multiple heads to one weston_output correctly.

Ray, Ian (GE Healthcare) ian.ray at ge.com
Thu Sep 12 05:22:58 UTC 2019

> On 12 Sep 2019, at 6.58, Sichem Zhou <sichem.zh at gmail.com> wrote:
> Hi wayland devs,
> I am trying to run multiple monitors in clone mode, which requires one output to drive multiple heads. While I can create output for every head and attach them with no problem (defaultly new output comes on the right). I can't quite get clone mode to work properly.
> Here is steps I do right now:

In Weston 6, clone mode can be configured [1] via weston.ini.

[1] https://lists.freedesktop.org/archives/wayland-devel/2018-April/037946.html

> In the head_changed_listener:
> 1. Find output in the list,
> 2. If we don't have one, create_with_head.
> 3. If we found one, break, attach and disable the output.
> 4.set_mode(current).
> 5.set_scale(1).
> 6.set_transformation(normal).
> 7.enable_output.
> I got black screen once new monitor attached. Any steps I am missing from here? Thanks
> Regards,
> Sichem
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel

More information about the wayland-devel mailing list