Bug 70176 - Radeon audio over HDMI doesn't work (kernel 3.11.1, 3.12 rc3)
Summary: Radeon audio over HDMI doesn't work (kernel 3.11.1, 3.12 rc3)
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-05 19:17 UTC by dennisridder
Modified: 2013-10-11 10:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description dennisridder 2013-10-05 19:17:46 UTC
Hello,

I have tried to get audio over HDMI working with two of the latest kernels,
adding radeon.audio=1 in GRUB.

Kernel 3.11.1 (as supplied on XBMC forum with several patches incl. HD audio related ones):
No message of audio being enabled in dmesg.

Kernel 3.12 RC3 reports back:
[drm] Enabling audio 0 support
[drm] Enabling audio 1 support
[drm] Enabling audio 2 support
[drm] Enabling audio 3 support
[drm] Enabling audio 4 support
[drm] Enabling audio 5 support

The devices and cards are detected and listed with "aplay -L", unmuted every channel through alsamixer.
I tried getting noise out hitting "aplay -D (plug)hw:0,3" but physical sound is not being produced.

I already tried "xrandr --output HDMI-0 --set audio auto" (or "on", "1", etc)

As a reference, everything is working with the Catalyst drivers, so it's not a hardware flaw.

Uncensored dmesg logs:
http://paste.ubuntu.com/6196722/
http://paste.ubuntu.com/6197292/

Please help! Let me know if you need more information from me to get to the bottom of this.

P.S. I am having this issue together with screen artifacts in XBMC, for which I will file another bug.
Comment 1 dennisridder 2013-10-11 10:35:05 UTC
"FIXED", with the understanding that I tricked the X server with the xrandr command, then kill and restart an X session:

X & xrandr -d :0 --output HDMI-0 --set audio auto
kill $(pidof X)
xinit xbmc-standalone ...


Though, it would be great if audio would automatically work without the need of the xrandr command.
APU/CPU: Radeon HD7480 (A4-5300)


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.