I have another example of this bug with a different monitor: a Dell SP2309W.
Another Dell if that is significant.

The SP2309W has a native resolution of 2048x1152 and nv gets that right when a 
VGA
cable is used:

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-2-amd64 x86_64 Debian
Current Operating System: Linux precise 2.6.30-2-amd64 #1 SMP Fri Sep 25 
22:16:56 UTC 2009 x86_64
Build Date: 13 October 2009  09:39:10AM
xorg-server 2:1.6.5-1 (jcris...@debian.org) 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  9 21:30:46 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Dell SP2309W"
(**) |   |-->Device "NVIDIA Corporation NV40 [GeForce 6800]"
   ...[snip]...
(II) LoadModule: "nv"
(II) Loading /usr/lib/xorg/modules/drivers//nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
        compiled for 1.6.2.901, module version = 2.1.14
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
        Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64,
   ...[snip]...
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) NV(0): I2C bus "DDC" initialized.
(II) NV(0): Probing for analog device on output A...
(--) NV(0):   ...found one
(II) NV(0): Probing for analog device on output B...
(--) NV(0):   ...can't find one
(II) NV(0): Probing for EDID on I2C bus A...
(II) NV(0): I2C device "DDC:E-EDID segment register" registered at address 0x60.
(II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) NV(0):   ... none found
(II) NV(0): Probing for EDID on I2C bus B...
(--) NV(0): DDC detected a CRT:
(II) NV(0): Manufacturer: DEL  Model: d01b  Serial#: 809783891
(II) NV(0): Year: 2009  Week: 44
(II) NV(0): EDID Version: 1.3
(II) NV(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
(II) NV(0): Sync:  Separate  Composite  SyncOnGreen
(II) NV(0): Max Image Size [cm]: horiz.: 51  vert.: 29
(II) NV(0): Gamma: 2.20
(II) NV(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) NV(0): First detailed timing is preferred mode
(II) NV(0): redX: 0.660 redY: 0.325   greenX: 0.217 greenY: 0.676
(II) NV(0): blueX: 0.146 blueY: 0.075   whiteX: 0.313 whiteY: 0.329
(II) NV(0): Supported established timings:
(II) NV(0): 720x...@70hz
(II) NV(0): 640x...@60hz
(II) NV(0): 640x...@75hz
(II) NV(0): 800x...@60hz
(II) NV(0): 800x...@75hz
(II) NV(0): 1024x...@60hz
(II) NV(0): 1024x...@75hz
(II) NV(0): 1280x1...@75hz
(II) NV(0): Manufacturer's mask: 0
(II) NV(0): Supported standard timings:
(II) NV(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
(II) NV(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) NV(0): #2: hsize: 1680  vsize 1050  refresh: 60  vid: 179
(II) NV(0): Supported detailed timing:
(II) NV(0): clock: 156.8 MHz   Image Size:  510 x 290 mm
(II) NV(0): h_active: 2048  h_sync: 2096  h_sync_end 2128 h_blank_end 2208 
h_border: 0
(II) NV(0): v_active: 1152  v_sync: 1155  v_sync_end 1160 v_blanking: 1185 
v_border: 0
(II) NV(0): Serial No: T940F9AT0DRS
(II) NV(0): Ranges: V min: 56 V max: 85 Hz, H min: 30 H max: 92 kHz, PixClock 
max 200 MHz
(II) NV(0): Monitor name: DELL SP2309W
(II) NV(0): EDID (in hex):
(II) NV(0):     00ffffffffffff0010ac1bd053524430
(II) NV(0):     2c1301030e331d78ea1855a95337ad25
(II) NV(0):     135054a54b00714f8180b30001010101
(II) NV(0):     0101010101013b3d00a0808021403020
(II) NV(0):     3500fe221100001a000000ff00543934
(II) NV(0):     3046394154304452530a000000fd0038
(II) NV(0):     551e5c14000a202020202020000000fc
(II) NV(0):     0044454c4c20535032333039570a004b
(--) NV(0): CRTC 0 appears to have a CRT attached
(II) NV(0): Using CRT on CRTC 0
(II) NV(0): EDID vendor "DEL", prod id 53275
(II) NV(0): Using EDID range info for horizontal sync
(II) NV(0): Using EDID range info for vertical refresh
(II) NV(0): Printing DDC gathered Modelines:
(II) NV(0): Modeline "2048x1152"x0.0  156.75  2048 2096 2128 2208  1152 1155 
1160 1185 +hsync -vsync (71.0 kHz)                              <=== native, 
correct
(II) NV(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 
+hsync +vsync (37.9 kHz)
   ...[snip]...
(II) NV(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 
1059 1089 -hsync +vsync (65.3 kHz)
(--) NV(0): VideoRAM: 131072 kBytes
(==) NV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) NV(0): Dell SP2309W: Using hsync range of 30.00-92.00 kHz
(II) NV(0): Dell SP2309W: Using vrefresh range of 56.00-85.00 Hz
(II) NV(0): Dell SP2309W: Using maximum pixel clock of 200.00 MHz
(II) NV(0): Estimated virtual size for aspect ratio 1.7586 is 2048x1152
(II) NV(0): Clock range:  12.00 to 400.00 MHz
   ...[snip]...
(II) NV(0): Not using default mode "1024x768" (hsync out of range)
(--) NV(0): Virtual size is 2048x1152 (pitch 2048)
(**) NV(0): *Driver mode "2048x1152": 156.8 MHz, 71.0 kHz, 59.9 Hz
(II) NV(0): Modeline "2048x1152"x59.9  156.75  2048 2096 2128 2208  1152 1155 
1160 1185 +hsync -vsync (71.0 kHz)
   ...[snip]...
(**) NV(0): Display dimensions: (510, 290) mm
(**) NV(0): DPI set to (101, 100)
  ...[snip]...

===========================================================================================


However it gets it wrong when the DVI-D interface is used:-


X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-2-amd64 x86_64 Debian
Current Operating System: Linux precise 2.6.30-2-amd64 #1 SMP Fri Sep 25 
22:16:56 UTC 2009 x86_64
Build Date: 13 October 2009  09:39:10AM
xorg-server 2:1.6.5-1 (jcris...@debian.org) 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  9 21:15:03 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Dell SP2309W"
(**) |   |-->Device "NVIDIA Corporation NV40 [GeForce 6800]"
(**) |-->Input Device "Generic Keyboard"
   ... [snip]...

(II) Loading /usr/lib/xorg/modules/drivers//nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
        compiled for 1.6.2.901, module version = 2.1.14
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
        Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64,
        Aladdin TNT2, GeForce 256, GeForce DDR, Quadro, GeForce2 MX/MX 400,

   ...[snip]...

(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) NV(0): I2C bus "DDC" initialized.
(II) NV(0): Probing for analog device on output A...
(--) NV(0):   ...found one
(II) NV(0): Probing for analog device on output B...
(--) NV(0):   ...found one
(II) NV(0): Probing for EDID on I2C bus A...
(II) NV(0): I2C device "DDC:E-EDID segment register" registered at address 0x60.
(II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0.
(--) NV(0): DDC detected a DFP:
(II) NV(0): Manufacturer: DEL  Model: d01c  Serial#: 809783891
(II) NV(0): Year: 2009  Week: 44
(II) NV(0): EDID Version: 1.3
(II) NV(0): Digital Display Input
(II) NV(0): Max Image Size [cm]: horiz.: 51  vert.: 29
(II) NV(0): Gamma: 2.20
(II) NV(0): DPMS capabilities: StandBy Suspend Off
(II) NV(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) NV(0): First detailed timing is preferred mode
(II) NV(0): redX: 0.660 redY: 0.325   greenX: 0.217 greenY: 0.676
(II) NV(0): blueX: 0.146 blueY: 0.075   whiteX: 0.313 whiteY: 0.329
(II) NV(0): Supported established timings:
(II) NV(0): 720x...@70hz
(II) NV(0): 640x...@60hz
(II) NV(0): 640x...@75hz
(II) NV(0): 800x...@60hz
(II) NV(0): 800x...@75hz
(II) NV(0): 1024x...@60hz
(II) NV(0): 1024x...@75hz
(II) NV(0): 1280x1...@75hz
(II) NV(0): Manufacturer's mask: 0
(II) NV(0): Supported standard timings:
(II) NV(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
(II) NV(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) NV(0): #2: hsize: 1680  vsize 1050  refresh: 60  vid: 179
(II) NV(0): Supported detailed timing:
(II) NV(0): clock: 156.8 MHz   Image Size:  510 x 290 mm
(II) NV(0): h_active: 2048  h_sync: 2096  h_sync_end 2128 h_blank_end 2208 
h_border: 0
(II) NV(0): v_active: 1152  v_sync: 1155  v_sync_end 1160 v_blanking: 1185 
v_border: 0
(II) NV(0): Serial No: T940F9AT0DRS
(II) NV(0): Ranges: V min: 56 V max: 85 Hz, H min: 30 H max: 92 kHz, PixClock 
max 170 MHz
(II) NV(0): Monitor name: DELL SP2309W
(II) NV(0): EDID (in hex):
(II) NV(0):     00ffffffffffff0010ac1cd053524430
(II) NV(0):     2c13010380331d78ea1855a95337ad25   <== differs from vga line 
(anal/dig ok?)
(II) NV(0):     135054a54b00714f8180b30001010101
(II) NV(0):     0101010101013b3d00a0808021403020
(II) NV(0):     3500fe221100001a000000ff00543934
(II) NV(0):     3046394154304452530a000000fd0038
(II) NV(0):     551e5c11000a202020202020000000fc
(II) NV(0):     0044454c4c20535032333039570a00db
(II) NV(0): Probing for EDID on I2C bus B...
(II) NV(0):   ... none found
(--) NV(0): CRTC 0 is currently programmed for DFP
(II) NV(0): Using DFP on CRTC 0
(--) NV(0): Panel size is 1280 x 1024
(II) NV(0): NOTE: This driver cannot reconfigure the BIOS-programmed size.
(II) NV(0): These dimensions will be used as the panel size for mode validation.
(II) NV(0): EDID vendor "DEL", prod id 53276
(II) NV(0): Using EDID range info for horizontal sync
(II) NV(0): Using EDID range info for vertical refresh
(II) NV(0): Printing DDC gathered Modelines:
(II) NV(0): Modeline "2048x1152"x0.0  156.75  2048 2096 2128 2208  1152 1155 
1160 1185 +hsync -vsync (71.0 kHz)
   ...[snip]...
(II) NV(0): Panel is TMDS
(--) NV(0): VideoRAM: 131072 kBytes
(==) NV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) NV(0): Dell SP2309W: Using hsync range of 30.00-92.00 kHz
(II) NV(0): Dell SP2309W: Using vrefresh range of 56.00-85.00 Hz
(II) NV(0): Dell SP2309W: Using maximum pixel clock of 170.00 MHz
(II) NV(0): Estimated virtual size for aspect ratio 1.7586 is 2048x1152
(II) NV(0): Clock range:  12.00 to 400.00 MHz
(II) NV(0): Not using default mode "320x175" (bad mode 
clock/interlace/doublescan)
   ...[snip]...
(II) NV(0): Not using driver mode "2048x1152" (exceeds panel dimensions)  <==== 
wrong
(II) NV(0): Not using driver mode "1680x1050" (exceeds panel dimensions)
(WW) NV(0): Shrinking virtual size estimate from 2048x1152 to 1280x1024   <==== 
wrong
(--) NV(0): Virtual size is 1280x1024 (pitch 1280)
(**) NV(0): *Driver mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(II) NV(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 
1028 1066 +hsync +vsync (80.0 kHz)
(**) NV(0): *Driver mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(II) NV(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 
1028 1066 +hsync +vsync (64.0 kHz)
(**) NV(0): *Driver mode "1280x1024": 90.8 MHz, 63.0 kHz, 59.8 Hz
(II) NV(0): Modeline "1280x1024"x59.8   90.75  1280 1328 1360 1440  1024 1027 
1034 1054 +hsync -vsync (63.0 kHz)
  ...[snip]...
(II) NV(0): Modeline "640x350"x85.1   31.50  640 672 736 832  350 382 385 445 
+hsync -vsync (37.9 kHz)
(**) NV(0): Display dimensions: (510, 290) mm
(**) NV(0): DPI set to (63, 89)
   ...[snip]...
======================================================================================

It looks as if the EDID block is being read correctly if I understand 
http://en.wikipedia.org/wiki/Extended_display_identification_data .
At least the only difference looks like byte 20 which is presumably
just noting the difference between the VGA and DVI signals. But I have not
checked properly.

Why should the nv driver interpret the tiiming data differently for different
interfaces?

In passing, it seems that the closed source nvidia driver also has problems 
with this monitor on DVI-D. Is Dell doing something evil in its monitors?

ael





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to