How to attach multiple heads to one weston_output correctly.

Sichem Zhou sichem.zh at gmail.com
Thu Sep 12 03:58:07 UTC 2019


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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20190911/5a205970/attachment.html>


More information about the wayland-devel mailing list