4 ms·
> If anybody knows how to forcibly override the "pixels per mm" reported by a monitor, you will be my hero forever. The brute-force way to alter everything you
by derefr 6y ago
> If anybody knows how to forcibly override the "pixels per mm" reported by a monitor, you will be my hero forever.
The brute-force way to alter everything your monitor reports, is to dump its EDID data, patch it (there are programs for this, or you can resort to a hex editor and the EDID spec), and then tell your kernel to load that patched EDID in place of the real EDID when it recognizes your monitor.
On Linux, that's apparently accomplished by plopping the patched EDID file into /lib/firmware: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/EDID/HOWTO.txt?id=be53bfdb8088e9d1924199cc1a96e113756b1075 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
(I've never actually done this with Linux, but I've done it in macOS on a Hackintosh, because macOS frequently thinks televisions connected over HDMI should be fed YUV instead of sRGB. You can patch the EDID to force macOS to treat the TV as a monitor.)