Retrieving monitor connection information

Andrew Marshall andrew at
Fri Sep 2 12:28:05 UTC 2022

@Simon Ser <contact at>

Just been looking at your `drm_info` project. The connection information is
there, if I could figure out a way of reliably associating it with a

I have access to `wl_output` via the GDK Wayland backend. Is wl_output
populated from drm?


> No. KMS names ("DP-2") cannot be used for a reliable identifier.
> specification states:
>         The name is not guaranteed to be persistent across sessions, thus
> cannot
>         be used to reliably identify an output in e.g. configuration files.
> See the discussion at [1] for more info. To fix this, we'd need a new
> wl_output event and a new KMS property.
> [1]:

Andrew Marshall
Independent C++ Consultant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wayland-devel mailing list