<div dir="ltr"><div dir="ltr"><a class="gmail_plusreply" id="plusReplyChip-0" href="mailto:contact@emersion.fr" tabindex="-1">@Simon Ser</a> <br><div><br></div><div>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.</div><div><br></div><div>I have access to `wl_output` via the GDK Wayland backend. Is wl_output populated from drm?</div><div><br></div><div>Thanks,</div><div>Andrew.</div></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
No. KMS names ("DP-2") cannot be used for a reliable identifier.<br>
<a href="http://wl_output.name" rel="noreferrer" target="_blank">wl_output.name</a> specification states:<br>
<br>
The name is not guaranteed to be persistent across sessions, thus cannot<br>
be used to reliably identify an output in e.g. configuration files.<br>
<br>
See the discussion at [1] for more info. To fix this, we'd need a new<br>
wl_output event and a new KMS property.<br>
<br>
[1]: <a href="https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/109#note_813539" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/109#note_813539</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Andrew Marshall<div>Independent C++ Consultant</div><div><a href="https://www.algodynamic.co.uk/" target="_blank">https://www.algodynamic.co.uk/</a><br></div><div><a href="https://github.com/planetmarshall" target="_blank">https://github.com/planetmarshall</a><br></div><div><a href="https://www.linkedin.com/in/algodynamic/" target="_blank">https://www.linkedin.com/in/algodynamic/</a><br></div></div></div></div>