Skip to contentSkip to conversation

New: Radeon driver not detecting HDMI monitor correctly when using KMS

Bug 28229 [email protected] 1 participant 21 messages May 24, 2010 – May 26, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=28229

Summary: Radeon driver not detecting HDMI monitor correctly
when using KMS
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #1 from Magnus Jensen <[email protected]> 2010-05-24 04:47:24 PDT --- Created an attachment (id=35821)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35821)
Xorg.0.log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

Magnus Jensen <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #35821|Xorg.0.log                  |Xorg.0.log-with UMS
        description|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #2 from Magnus Jensen <[email protected]> 2010-05-24 04:50:17 PDT --- When loading radeon module with modeset=1
the dmesg gets flooded with:

[drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 255 [drm:drm_edid_block_valid] *ERROR* Raw EDID:

<3>02 03 20 f1 4c 05 04 03 14 93 12 01 02 11 15 16  .. .L...........
<3>1e 23 09 07 07 83 01 00 00 66 03 0c 00 10 00 80  .#.......f......
<3>00 1d 00 bc 52 d0 1e 20 b8 28 55 40 bd fa 10 00  ....R.. .(U@....
<3>00 1e 01 1d 80 18 71 1c 16 20 58 2c 25 00 bd fa  ......q.. X,%...
<3>10 00 00 9e 8c 0a d0 8a 20 e0 2d 10 10 3e 96 00  ........ .-..>..
<3>bd fa 10 00 00 18 01 1d 80 d0 72 1c 16 20 10 2c  ..........r.. .,
<3>25 80 bd fa 10 00 00 9e 01 1d 00 bc 52 d0 1e 20  %...........R.. 
<3>b8 28 55 40 bd fa 10 00 00 1e 00 00 00 00 00 a2  .(U@............

the drmradeonfb also sets a lower resolution than normal (1024x768)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #3 from Magnus Jensen <[email protected]> 2010-05-24 04:54:39 PDT --- Created an attachment (id=35822)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35822)
Xorg.0.log - with KMS

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #4 from Magnus Jensen <[email protected]> 2010-05-24 04:56:14 PDT --- Created an attachment (id=35823)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35823)
dmesg-current

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

Magnus Jensen <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #35822|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

Magnus Jensen <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #35823|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #5 from Magnus Jensen <[email protected]> 2010-05-24 05:01:56 PDT --- Created an attachment (id=35824)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35824)
dmesg-boot

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

Magnus Jensen <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|XOrg CVS |unspecified

--- Comment #6 from Magnus Jensen <[email protected]> 2010-05-24 06:02:23 PDT --- I should add that i'm trying drm-radeon-testing from git repository
and i have also tried compiling latest 2.6.34 git from kernel.org.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #7 from ajax at nwnk dot net <[email protected]> 2010-05-24 06:46:51 PDT --- Just to make it clear what's going on here: the CEA extension block really does have a broken checksum, although it looks correct otherwise.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #8 from Magnus Jensen <[email protected]> 2010-05-24 08:25:54 PDT --- so i guess it's not a bug then, but isn't there any way to circumvent the problem, other that flashing a new edid or buying a new tv?
(b.t.w i managed to get correct screen resolution in X by using CustomEDID option in xorg.conf with an edid bin i grabbed using 2.6.33.3 kernel, but only if i load X before module, but then i still get no HDMI audio because xf86-video-ati doesn't get the modesetting)

What i thought was strange was that it doesn't react this way on stock 2.6.33.3 kernel. On that kernel HDMI works beautifully with audio.
i am pretty sure i compiled the kernel correctly.

So i think it may be a regression (or rather progression since my EDID seems to
really be broken) that causes trouble for me with the drm driver.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #9 from Alex Deucher <[email protected]> 2010-05-24 08:26:51 PDT --- Should we add a quirk for this particular monitor or add some logic to use edids with faulty checksums? It would probably be better to attempt to use an edid than to not, at least for digital monitors.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #10 from Magnus Jensen <[email protected]> 2010-05-24 09:26:47 PDT --- sorry i meant to say 2.6.33.4 that's the stock kernel in slackware64-current

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #11 from Christian König <[email protected]> 2010-05-24 16:26:09 PDT --- Invalid checksums on CEA extension is a problem I have found on a couple of A/V receivers + TV combinations. The A/V receivers usually try to update the audio infos and CEC physical address in the CEA extension, but sometimes fails to recalculate the checksum of the block.

I would suggest to lower the error to a simple warning and try to use the infos in the extension block anyway.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#15 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #12 from Magnus Jensen <[email protected]> 2010-05-24 16:38:28 PDT --- Created an attachment (id=35839)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35839)
edid from "/sys/class/drm/card0-HDMI Type A-1/"

This is the edid it sees when booting with Linux kernel 2.6.33.4.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #13 from Alex Deucher <[email protected]> 2010-05-25 21:55:03 PDT --- fixed here:
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=4a638b4e38234233f5c7e6705662fbc0b58d80c2

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #14 from Magnus Jensen <[email protected]> 2010-05-26 03:07:49 PDT --- Yes that works for me. Now gets the correct output HDMI-0 not VGA, i don't have any 3d anymore though that's a different story...

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#18 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #15 from Magnus Jensen <[email protected]> 2010-05-26 03:11:24 PDT --- Created an attachment (id=35862)
--> (https://bugs.freedesktop.org/attachment.cgi?id=35862)
dmesg after fix patch

Just wanted u to know that dmesg still get's a lot of these error messages

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#19 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #16 from Magnus Jensen <[email protected]> 2010-05-26 08:03:45 PDT --- Thank you! the fix works perfect AFAI can see. I had to apply it manually in the drm-radeon-testing tree since something breaks 3D and XV for me in the d-r-n branch.
but now HDMI picture,audio and 3d is working perfectly for me, using d-r-t branch
with patch applied.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#20 lore raw

[Bug 28229] Radeon driver not detecting HDMI monitor correctly when using KMS

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28229

--- Comment #17 from Alex Deucher <[email protected]> 2010-05-26 08:09:23 PDT --- (In reply to comment #16)

Quoted 6 lines

Thank you! the fix works perfect AFAI can see. I had to apply it manually in the drm-radeon-testing tree since something breaks 3D and XV for me in the d-r-n branch.
but now HDMI picture,audio and 3d is working perfectly for me, using d-r-t branch
with patch applied.

You need this patch if you are using the drm-next branch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4fa07bf146aaee1e8409d35ab08624041c2e3867

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.