Skip to content

Conversation

kennylevinsen
Copy link
Member

The only logging we currently provide about outputs is debug logging
from wlroots about available modes, tested output states and errors
applying it.

Be more informative by logging some output details at INFO level when
they pop up, including optional features like HDR and adaptive sync.
This makes such output details more obvious from a quick glance, both
for users and in case logs are shared for support.

We only use wlr_output fields to generate the identifier, and a later
commit will use this function before a sway_output is constructed.
The only logging we currently provide about outputs is debug logging
from wlroots about available modes, tested output states and errors
applying it.

Be more informative by logging some output details at INFO level when
they pop up, including optional features like HDR and adaptive sync.
This makes such output details more obvious from a quick glance, both
for users and in case logs are shared for support.
@emersion
Copy link
Member

I don't think this is a good place to surface back output capabilities to users. swaymsg -t get_outputs is a better place.

This PR also duplicates some information with wlroots logs.

@kennylevinsen
Copy link
Member Author

I don't think this is a good place to surface back output capabilities to users.

You can say that with most info logging though, including wlroots' own logging on the same topic of output details (detected modes, physical size).

This PR also duplicates...

Physical size, yeah. I had missed that the wlroots logging was WLR_INFO, recalled it as being WLR_DEBUG.

Hmm, we could just add a few extra lines to the wlroots logging when discovering the connector... Then it's in one place for all wlroots compositors.

@emersion
Copy link
Member

emersion commented Jul 5, 2025

Related: #8795

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants