Skip to content

Expose the minimum refresh rate of monitors through D-Bus

Dor Askayo requested to merge doraskayo/mutter:vrr-min-refresh-rate into main

Context

When VRR is enabled, presentation may occur at a frequency between the minimum and maximum refresh rates (also known as the "VRR range"). This range starts with the monitor's minimum refresh rate and ends with the refresh rate of the configured mode (e.g. 48–120.00 Hz).

The refresh rate of the configured mode is already exposed through D-Bus, while this MR exposes the minimum refresh rate of the monitor when it can be extracted from EDID.

This is required to implement gnome-control-center!2260 (merged).

Description

See commit messages for more information.

Marked as draft until !1154 (merged) is merged. It's not very useful otherwise.

CC: @daenzer

Edited by Dor Askayo

Merge request reports