Skip to content

utils/edid: use dimensions from EDID detailed timings to determine physical screen size

Jakub Piecuch requested to merge bajolo/kwin:edid-use-detailed-timings into master

This MR implements logic for determining the physical screen using EDID detailed timing definitions.
The logic is similar to what the X.org server is doing. See the bug for more details.

Tested by building kwin_wayland with my change and running it.
With this change, KWin reports correct physical dimension for my laptop's built-in display, as well as more precise dimensions for my external monitor.
I checked the physical dimensions using the wayland-info utility.

BUG: 486585

Merge request reports