The MirAL API should support more options for display configuration
#4,184 opened on Sep 3, 2025
Repository metrics
- Stars
- (775 stars)
- PR merge metrics
- (PR metrics pending)
Description
Discussed in https://github.com/canonical/mir/discussions/2913
Originally posted by AlanGriffiths July 16, 2019
While the mirclient API (mir_toolkit/mir_display_configuration.h) provides for configuring the display we have no corresponding Wayland extension. (E.g. for setting the gamma ramp).
Within the MirAL API there is inadequate support for many options: miral::DisplayConfiguration only offers the option to select some basic screen layout choices from a configuration file.
To configure the display within the server currently requires use of the mirserver and mirplatform APIs (mir/graphics/display_configuration.h & mir::Server::wrap_display_configuration_policy()).
We should expose more of these features.