xorg-server (xf86DDCMonitorSet) does not honor xorg.conf's DisplaySize
Submitted by Paul Bender
Assigned to Xorg Project Team
Description
According to the xorg.conf manual page, if DisplaySize is set, then Xorg will use it to calculate the DPI values. Indeed, in xorg-server 1.0.1, this is how it behaved. However, in xorg-server 1.2.0, it does not behave this way. Instead, if DDC returns a display size, then the DDC returned display size overrides the DisplaySize value in xorg.conf.
The problem appears to be in the xf86DDCMonitorSet function in 'hw/xfree86/ddc/ddcProperty.c'. Unlike vertical refresh and horizontal sync which are only set to their DDC values when they are not already set, height and width are set to their DDC values unconditionally.
I have attached a patch. This patch overrides the values individually. However, since DisplaySize sets both parameters, one may wish to make the override and all or nothing decision.
Version: 7.2 (2007.02)