Bug 23071

Summary: Wrong resolution with KMS and external monitor
Product: xorg Reporter: Mikko C. <mikko.cal>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: CLOSED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: magnus
Version: 7.4 (2008.09)   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log without KMS
none
xorg.conf
none
Xorg.0.log with KMS
none
related dmesg parts none

Description Mikko C. 2009-08-01 04:59:50 UTC
Setup:
- X1400 Mobility
- Laptop monitor 1280x800
- External Monitor/TV Samsung 2333HD 1920x1080, VGA

Enabled KMS:
- If I start X with the external monitor plugged in, the internal monitor has a wrong resolution, I think 1920x1080 because I can only see the top left part.
- If I start X without external monitor, and then plug it in, both monitor have the right resolution.

Disabled KMS:
All is fine.

Kernel 2.6.31-rc5, xf86-video-ati master, mesa master, libdrm master.


I get this in dmesg with KMS enabled + external monitor plugged:

[drm:edid_is_valid] *ERROR* EDID checksum is invalid, remainder is 143
[drm:edid_is_valid] *ERROR* Raw EDID:
<3>00 ff ff ff ff ff ff 00 4c 2d 84 04 33 32 4d 43  ........L-..32MC
<3>1a 12 01 03 0e 34 20 78 2a ee 91 a3 54 4c 99 26  .....4 x*...TL.&
<3>0f 50 54 bf ef 01 ff ff ff ff ff ff ff ff ff ff  .PT.............
<3>ff ff ff ff ff ff ff ff 80 00 ff ff ff ff ff ff  ................
<3>ff ff ff ff ff ff ff ff f0 3f ff ff ff ff ff ff  .........?......
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff fe 87 1c 7f ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff fe 07 ff ff ff ff ff ff ff ff ff 03 ff ff  ................

radeon 0000:01:00.0: VGA-1: EDID invalid.
[drm:edid_is_valid] *ERROR* EDID checksum is invalid, remainder is 212
[drm:edid_is_valid] *ERROR* Raw EDID:
<3>00 ff ff ff ff ff ff 00 4c 01 84 04 33 32 4d 43  ........L...32MC
<3>1a 12 01 03 0e 34 20 78 2a ee 91 a3 54 4c 99 26  .....4 x*...TL.&
<3>0f 50 54 bf ef 80 71 4f 81 00 81 40 81 80 95 00  .PT...qO...@....
<3>a9 40 b3 00 01 01 1a 36 80 a0 70 38 1f 40 30 20  .@.....6..p8.@0 
<3>35 00 06 20 20 00 00 1a 00 00 00 fd 00 38 4b 1e  5..  ........8K.
<3>51 11 00 0a 20 20 20 20 20 20 00 00 00 fc 00 53  Q...      .....S
<3>79 6e 63 4d 61 73 74 65 72 0a 20 20 00 00 00 ff  yncMaster.  ....
<3>00 48 31 41 4b 35 30 30 30 30 30 0a 20 20 00 5c  .H1AK500000.  .\

radeon 0000:01:00.0: VGA-1: EDID invalid.
integrated sync not supported
integrated sync not supported
Unpin not necessary for ffff88007b0766e0 !
Comment 1 Mikko C. 2009-08-01 05:05:29 UTC
Created attachment 28248 [details]
Xorg.0.log without KMS

Without KMS, all works fine.
Comment 2 Mikko C. 2009-08-01 05:13:30 UTC
Created attachment 28249 [details]
xorg.conf
Comment 3 Mikko C. 2009-08-17 00:24:29 UTC
With 2.6.31-rc6 and xf86-video-ati 8fd6f69c84103b277de70181988e843da23c85b0 I don't have the error about wrong EDID anymore, but I still get the wrong resolution if the external monitor is plugged in when starting X.

I'll attach some new logs with KMS enabled.
Comment 4 Mikko C. 2009-08-17 00:25:28 UTC
Created attachment 28693 [details]
Xorg.0.log with KMS

Maybe this is a hint?

(**) RADEON(0): Display dimensions: (338, 211) mm
(WW) RADEON(0): Probed monitor is 520x320 mm, using Displaysize 338x211 mm
(**) RADEON(0): DPI set to (240, 130)
Comment 5 Mikko C. 2009-08-17 00:28:44 UTC
Created attachment 28694 [details]
related dmesg parts
Comment 6 Alex Deucher 2010-05-24 08:20:58 UTC
Is this still an issue with a newer kernel? 2.6.34 for example?
Comment 7 Mikko C. 2010-05-24 08:25:19 UTC
Sorry I cannot really test this anymore as the external monitor is now the main monitor, and the laptop is gone.
Feel free to close this.

Btw, I still see the "*ERROR* EDID checksum is invalid" error from time to time, with the Samsung 2333HD monitor.
Comment 8 Alex Deucher 2010-05-24 08:29:10 UTC
(In reply to comment #7)
> Sorry I cannot really test this anymore as the external monitor is now the main
> monitor, and the laptop is gone.
> Feel free to close this.
> 

Ok. closing.

> Btw, I still see the "*ERROR* EDID checksum is invalid" error from time to
> time, with the Samsung 2333HD monitor.

You might want to open a separate bug for that.

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.