Bug 16803

Summary: [Regression] EDID data on VGA is not used
Product: xorg Reporter: Eric Piel <e.a.b.piel>
Component: Driver/intelAssignee: Wang Zhenyu <zhenyu.z.wang>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: high    
Version: 7.3 (2007.09)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log
none
xorg.conf
none
Xorg.0.log generated with intel debug option none

Description Eric Piel 2008-07-22 07:22:13 UTC
(not sure where the bugs is, but xrandr seems the more likely place)
I have an i965 and xrandr used to detect the possible resolutions of the monitors connected to the VGA output perfectly. It doesn't work anymore (at most since a month ago).

Surprisingly, the raw EDID is still correctly displayed in xrandr. The detection of the LVDS modes seems to be working fine as well. The VGA output only have the (default) 640x480 mode.

Versions:
intel driver - 2.3.2
xrandr - 1.2.3
xorg - 7.3
Mandriva cooker

Details:

# xrandr --prop
Screen 0: minimum 320 x 200, current 1760 x 800, maximum 3200 x 2048
VGA connected 640x480+1280+0 left (normal left inverted right x axis y axis) 380mm x 300mm
	EDID_DATA:
		00ffffffffffff0022f0e72601010101
		2711010368261e8ceeee91a3544c9926
		0f5054adef8081800101010101010101
		010101010101302a009851002a403070
		13007c2c1100001e000000fd00324d18
		530e000a202020202020000000fc0048
		50204c313935300a20202020000000ff
		00434e4b373339304c544a0a202000f1
   640x480        60.0*
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
	EDID_DATA:
		00ffffffffffff000daf211200000000
		01100103801a10780a0d628e5a5c9327
		1e505b00000001010101010101010101
		0101010101011b1b008450201330281a
		250005a310000018000000fe004e3132
		3149362d4c30310a2020000000fe0043
		4d4f0a202020202020202020000000fe
		004e31323149362d4c30310a202000df
	PANEL_FITTING: full
		supported: center       full_aspect  full        
	BACKLIGHT_CONTROL: kernel
		supported: native       legacy       combination  kernel      
	BACKLIGHT: 9 (0x00000009) range:  (0,10)
   1280x800       60.0*+
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right x axis y axis)
	BOTTOM: 37 (0x00000025) range:  (0,100)
	RIGHT: 46 (0x0000002e) range:  (0,100)
	TOP: 36 (0x00000024) range:  (0,100)
	LEFT: 54 (0x00000036) range:  (0,100)
	TV_FORMAT: NTSC-M
		supported: NTSC-M       NTSC-443     NTSC-J       PAL-M       
		           PAL-N        PAL
Comment 1 Eric Piel 2008-08-11 07:30:16 UTC
After having a look at the xrandr source code, it seems rather obvious that the problem is not there, as there is nothing related to EDID. The EDID is displayed only because the intel driver set it as a property.

So I'm picking up another component for this bug. The intel driver seems the most likely to have brought the bug (as it seemed to appear when upgrading to 2.3.something). I'm now using intel driver v 2.4.0, and the VGA still doesn't have any mode but 640x480.

In my logs, I can see that there is much less info about the VGA screen (HWP) than about the LVDS screen (CMO). Could it be a hint?
Here is what is output after a probe:

(II) intel(0): EDID vendor "CMO", prod id 4641
(II) intel(0): EDID vendor "HWP", prod id 9959
(II) intel(0): EDID vendor "CMO", prod id 4641
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   69.39  1280 1320 1346 1412  800 802 807 819 -hsync -vsync (49.1 kHz)
Comment 2 Gordon Jin 2008-08-12 02:12:54 UTC
Please attach the full Xorg.0.log and xorg.conf.
Comment 3 Eric Piel 2008-08-12 02:18:54 UTC
Created attachment 18234 [details]
Xorg.0.log
Comment 4 Eric Piel 2008-08-12 02:21:53 UTC
Created attachment 18235 [details]
xorg.conf

Also, looking at the changelog of intel and xserver, I was wondering if the problem could come from the "reduced blanking" changes... Please don't hesitate re-assign to xserver if you think the bug is not in the intel driver.
Comment 5 Gordon Jin 2008-08-12 20:39:26 UTC
Please add option "ModeDebug" "yes" in the Device section of xorg.conf, and attach the new log. (according to http://www.intellinuxgraphics.org/how_to_report_bug.html) 

Please remember to remove "NEEDINFO" from Keywords field after you provides the requested info, thanks.

Comment 6 Eric Piel 2008-08-13 08:06:26 UTC
Created attachment 18264 [details]
Xorg.0.log generated with intel debug option
Comment 7 Wang Zhenyu 2008-08-13 19:25:19 UTC
Remove those sync limits in your xorg.conf, your EDID is correct according with log, just the limit you made prohibit EDID mode to be used.
Comment 8 Eric Piel 2008-08-14 01:16:35 UTC
Indeed, that was it! Sorry for the noise. I didn't suspect it because it used to work with intel 2.2, and that was automatically generated by the mandriva installer. I'll report downstream that for the intel driver no monitor section should be provided.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.