https://bugs.freedesktop.org/show_bug.cgi?id=69729
Priority: medium Bug ID: 69729 Assignee: dri-devel@lists.freedesktop.org Summary: HDMI audio stopped working on HD 3470 (RV620/M82) Severity: normal Classification: Unclassified OS: Linux (All) Reporter: paul.bodenbenner@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: unspecified Component: DRM/Radeon Product: DRI
Using Arch Linux 64 bit on HD 3470 (RV620/M82). With kernel 3.10.10 HDMI audio did work and with no other package changed, audio over HDMI doesn't work anymore with kernel 3.11.1.
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #1 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Created attachment 86409 --> https://bugs.freedesktop.org/attachment.cgi?id=86409&action=edit Xorg.0.log_3_10_10
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #2 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Created attachment 86410 --> https://bugs.freedesktop.org/attachment.cgi?id=86410&action=edit Xorg.0.log_3_11_1
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #3 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Created attachment 86411 --> https://bugs.freedesktop.org/attachment.cgi?id=86411&action=edit avivotool_regs_hdmi_3_10_10
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #4 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Created attachment 86412 --> https://bugs.freedesktop.org/attachment.cgi?id=86412&action=edit avivotool_regs_hdmi_3_11_1
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #5 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Created attachment 86413 --> https://bugs.freedesktop.org/attachment.cgi?id=86413&action=edit dmesg_3_10_10
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #6 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Created attachment 86414 --> https://bugs.freedesktop.org/attachment.cgi?id=86414&action=edit dmesg_3_11_1
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #7 from Alex Deucher agd5f@yahoo.com --- Possibly a duplicate of bug 69675. Does reverting e6e792092e816bea0797995c886fb057c91d4546 fix it?
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #8 from Paul Bodenbenner paul.bodenbenner@gmail.com --- I am not using any of those modes...
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #9 from Alex Deucher agd5f@yahoo.com --- Nevermind, I found the problem. Patch forthcoming.
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #10 from Alex Deucher agd5f@yahoo.com --- Created attachment 86417 --> https://bugs.freedesktop.org/attachment.cgi?id=86417&action=edit possible fix
This patch should fix it.
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #11 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Thank you very much for your fast answering (again). I patched it against kernel 3.11.1 and now I can hear some sound. Unfortunately it will be played very fast, so the voice is very "high". I tried different streams / media without any difference and also with radeon.dpm=0 and 1.
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #12 from Alex Deucher agd5f@yahoo.com --- Does reverting e6e792092e816bea0797995c886fb057c91d4546 fix the playback?
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #13 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Created attachment 86425 --> https://bugs.freedesktop.org/attachment.cgi?id=86425&action=edit drm_edid.c
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #14 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Tried to undo commit e6e792092e816bea0797995c886fb057c91d4546 from version 3.11.1 and the result seems ok for me. To be sure I attached the resulting file. Unfortunately by using this file that didn't make any difference. Playback is still too fast. Any other ideas?
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #15 from Alex Deucher agd5f@yahoo.com --- Probably best to bisect and manually apply attachment 86417 before testing each step.
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #16 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Compiled 3.11-rc4 including your attached patch and HDMI audio seems to be working fine. Compiling rc6 now...
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #17 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Interesting..., rc6 has the bug already. Let's see if rc5 is still working...
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #18 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Conclusion: Beginning with rc5 the problem occurs. Hope that helps a bit.
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #19 from Alex Deucher agd5f@yahoo.com --- Created attachment 86570 --> https://bugs.freedesktop.org/attachment.cgi?id=86570&action=edit possible fix
Does this patch fix the playback problems?
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #20 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Nice, nice, nice... Patch worked on rc5. So it seems to be solved. For being sure I will apply both patches also on 3.11.1 and give feedback.
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #21 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Perfect! Works also on 3.11.1. So Bug is solved for me. Thanks a lot!
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #22 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Bad news. On 3.12rc2 those patches don't work anymore. Same problem like at starting this crq. HDMI audio seems to be totally disabled...
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #23 from Alex Deucher agd5f@yahoo.com --- (In reply to comment #22)
Bad news. On 3.12rc2 those patches don't work anymore. Same problem like at starting this crq. HDMI audio seems to be totally disabled...
In 3.12 you can enable audio on the fly with xrandr. E.g.,
xrandr --output HDMI-0 --set audio auto
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #24 from Paul Bodenbenner paul.bodenbenner@gmail.com --- (In reply to comment #23)
(In reply to comment #22)
Bad news. On 3.12rc2 those patches don't work anymore. Same problem like at starting this crq. HDMI audio seems to be totally disabled...
In 3.12 you can enable audio on the fly with xrandr. E.g.,
xrandr --output HDMI-0 --set audio auto
Perfect, that did the trick. So everything is working like a charm with those both patches. Thanks for your good and fast work!
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #25 from pasqual milvaques pasqual.milvaques@gmail.com --- Is there any provision about when the patches will be included in the stable kernel? 3.11.3 is out today and doesn't contain the fix
Thanks
https://bugs.freedesktop.org/show_bug.cgi?id=69729
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #26 from Alex Deucher agd5f@yahoo.com --- Fix went into 3.12 this week. Should show up in the 3.11 stable series any time now.
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=58...
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #27 from Paul Bodenbenner paul.bodenbenner@gmail.com --- I have seen that the patches are already included in kernel 3.11.4. Unfortunately it doesn't work even though by using kernel parameter radeon.audio=1. Seems again that HDMI is not enabled.
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #28 from Paul Bodenbenner paul.bodenbenner@gmail.com --- For sure, with kernel 3.12rc3 it does still work perfectly...
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #29 from Rafał Miłecki zajec5@gmail.com --- Are you sure you tested 3.11.4? It should work just like 3.12-rc3.
Can you install radeontool and provide output of "avivotools regs hdmi" command when:
1) Playing audio with 3.11.4 (remember about radeon.audio=1) 2) Playing audio with 3.12-rc3
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #30 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Created attachment 87222 --> https://bugs.freedesktop.org/attachment.cgi?id=87222&action=edit 3.11.4
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #31 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Created attachment 87223 --> https://bugs.freedesktop.org/attachment.cgi?id=87223&action=edit 3.12rc4
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #32 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Yes, I am using 3.11.4 from Arch testing repository and also enabled HDMI in kernel boot line. Just a side note: Upgraded to 3.12rc4 already...
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #33 from Paul Bodenbenner paul.bodenbenner@gmail.com --- For sure 3.11.4 is already in the stable repository.
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #34 from Rafał Miłecki zajec5@gmail.com --- Paul: OK, you're right. It was a mistake in backporting the fix.
Reported: http://permalink.gmane.org/gmane.linux.kernel.stable/66333
https://bugs.freedesktop.org/show_bug.cgi?id=69729
--- Comment #35 from Paul Bodenbenner paul.bodenbenner@gmail.com --- Fine, sorry I thought already about a failure during patching, but I was too busy to look at it... Thanks!
dri-devel@lists.freedesktop.org