@Simon Ser <cont...@emersion.fr>

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
monitor.

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

Thanks,
Andrew.


> No. KMS names ("DP-2") cannot be used for a reliable identifier.
> wl_output.name 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]:
> https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/109#note_813539
>


-- 
Andrew Marshall
Independent C++ Consultant
https://www.algodynamic.co.uk/
https://github.com/planetmarshall
https://www.linkedin.com/in/algodynamic/

Reply via email to