Retrieving monitor connection information

Mikhail Gusarov dottedmag at dottedmag.net
Thu Sep 1 10:53:30 UTC 2022


On 1 Sep 2022, at 12:26, Simon Ser wrote:

>> A medical device outputs a camera display to each of four monitors,
>> attached to display port connectors on the graphics card. There is a
>> 1:1 relationship between camera outputs and displays, and a UI allows
>> assigning a specific camera output to a specific display port output.
>
> It seems like wl_output.name would be useful for this purpose.
> wl_output.description contains a human-readable string which can be
> included in the UI.
>
> Note, do not assume that wl_output.name will have any defined format.
> Some compositors will send e.g. "DP-2", some will send an arbitrary ID
> such as "CD6767WZ", etc.

In the described use-case compositor is most likely known and fixed.

Best,
Mikhail.


More information about the wayland-devel mailing list