Skip to content

Correct check for when VRR should be active

Xaver Hugl requested to merge work/fix-vrr-calculation into master

The previous calculation ignored the render time and safety margin of the frame scheduling algorithm, which makes VRR activate properly only when the refresh rate drops lower than some margin below the maximum refresh rate. That margin isn't very big but it can still be noticable.

Merge request reports