When dealing with HiDPI setups it's hard to reproduce issues as you normally don't have exactly the same monitor as the reporter.
Solution
This patch adds the edid boot option allowing you to define the display size. This works by constructing an EDID firmware record that is subsequently read by the drm kernel module.
# pretend you have a 4k display (default to 96 dpi)
edid=3840x2160
# pretend you have a 4k display with 150 dpi
edid=3840x2160,150
# pretend you have a 4k display with a size of 697 mm x 392 mm
edid=3840x2160,697x392
Notes
This is mainly intended as debug option to be used in virtual environments. Your real monitor may or may not like the EDID data created here.
The display width and height must be below 4096 - so no 8k display specs possible.
Obviously, this does not work if you don't use the kernel drm interface to access your video hardware.
Task
When dealing with HiDPI setups it's hard to reproduce issues as you normally don't have exactly the same monitor as the reporter.
Solution
This patch adds the
edid
boot option allowing you to define the display size. This works by constructing an EDID firmware record that is subsequently read by thedrm
kernel module.Examples
Notes