Skip to contentSkip to conversation

New: HDMI audio via radeon DRM driver is not working.

Bug 30151 [email protected] 1 participant 8 messages Sep 12, 2010 – Jan 15, 2013

lore
Share & tools
lore
#0 lore raw

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

Summary: HDMI audio via radeon DRM driver is not working.
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

I have X1250 video card integrated into the motherboard.
I enabled KMS.
HDMI audio device can be seen, but no sound can be played via HDMI audio device.

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 30151] HDMI audio via radeon DRM driver is not working.

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

--- Comment #1 from [email protected] 2012-02-02 12:47:26 PST --- I can confirm this.

linux 3.2
graphic board hd4870

HDMI audio device seen and unmuted
set in the grub kernel boot command radeon.audio=1

but when playing, no sound and no error
the audio file seems to be read faster than normal (compared to the time it is played on my soundboard)

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 30151] HDMI audio via radeon DRM driver is not working.

In reply to [email protected]

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

--- Comment #2 from [email protected] 2012-02-05 04:02:45 PST --- In fact, when you use a HDMI cable (not a DVI one) it just work pretty well for
me :)
Forget the last comment and sorry for the noise.

Pita.

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 30151] HDMI audio via radeon DRM driver is not working.

In reply to [email protected]

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

--- Comment #3 from [email protected] ---
No sound with HDMI port on my Radeon HD3650 mobility (with free drivers because Kernel>3.2)

Description of problem:
I have no sound with my HDMI port, but the image is OK.
I use it with the VLC player or smplayer with HDMI audio output alsa. With Kernels <= 3.2, I used the fglrx catalyst drivers, that worked perfectly. I tested the solution for adding the entry "radeon.audio = 1" in Grub2 but without success.
With smplayer, videos plays too fast and without sound.
With vlc, I receive an error message, also without sound.
"The audio output failed:
Audio device 'hdmi: CARD = HDMI, DEV = 0 "can not be used:
Device or resource busy. "

Version-Release number of selected component (if applicable):
Rosa Desktop 2012 "fresh", lib64drm_radeon1 2.4.40, radeon-firmware 20120322, Kernel 3.6.10, alsa 1.0.26, pulseaudio 2.1, rosa mediaplayer 1.5.1, smplayer 0.8.3, vlc 2.0.4

I don't know what to do ... only using analog output and a simple converter jack / rca ... Good Bye Dolby Digital !

Signature · 2 lines
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

#4 lore raw

[Bug 30151] HDMI audio via radeon DRM driver is not working.

In reply to [email protected]

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

--- Comment #4 from Andy Furniss <[email protected]> --- (In reply to comment #3)

Quoted 17 lines

No sound with HDMI port on my Radeon HD3650 mobility (with free drivers because Kernel>3.2)

Description of problem:
I have no sound with my HDMI port, but the image is OK.
I use it with the VLC player or smplayer with HDMI audio output alsa. With Kernels <= 3.2, I used the fglrx catalyst drivers, that worked perfectly.
I tested the solution for adding the entry "radeon.audio = 1" in Grub2 but without success.
With smplayer, videos plays too fast and without sound.
With vlc, I receive an error message, also without sound.
"The audio output failed:
Audio device 'hdmi: CARD = HDMI, DEV = 0 "can not be used:
Device or resource busy. "

Quoted 7 lines

Version-Release number of selected component (if applicable):
Rosa Desktop 2012 "fresh", lib64drm_radeon1 2.4.40, radeon-firmware 20120322, Kernel 3.6.10, alsa 1.0.26, pulseaudio 2.1, rosa mediaplayer 1.5.1, smplayer 0.8.3, vlc 2.0.4

I don't know what to do ... only using analog output and a simple converter jack / rca ... Good Bye Dolby Digital !

Can you post the output from

cat /proc/asound/cards
and
cat /proc/asound/devices

Signature · 2 lines
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

#5 lore raw

[Bug 30151] HDMI audio via radeon DRM driver is not working.

In reply to [email protected]

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

--- Comment #5 from [email protected] ---
Off course !

cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel

                      HDA Intel at 0xfc500000 irq 47
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfc010000 irq 48

cat /proc/asound/devices
2: [ 0- 0]: digital audio playback
3: [ 0- 0]: digital audio capture
4: [ 0- 0]: hardware dependent
5: [ 0] : control
6: [ 1- 3]: digital audio playback
7: [ 1- 0]: hardware dependent
8: [ 1] : control
33: : timer

Signature · 2 lines
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

#6 lore raw

[Bug 30151] HDMI audio via radeon DRM driver is not working.

In reply to [email protected]

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

--- Comment #6 from Andy Furniss <[email protected]> --- (In reply to comment #5)

Quoted 8 lines

Off course !

cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel

                      HDA Intel at 0xfc500000 irq 47
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfc010000 irq 48
Quoted 9 lines

cat /proc/asound/devices
2: [ 0- 0]: digital audio playback
3: [ 0- 0]: digital audio capture
4: [ 0- 0]: hardware dependent
5: [ 0] : control
6: [ 1- 3]: digital audio playback
7: [ 1- 0]: hardware dependent
8: [ 1] : control
33: : timer

Looks like vlc is trying the wrong device - from your output -

"Audio device 'hdmi: CARD = HDMI, DEV = 0 "can not be used:"

You need to get vlc to use card 1 device 3, I don't use vlc so can't help with that. I don't use smplayer either but with plain mplayer you would do -

mplayer -ao alsa:device=hw=1.3

Pulse may complicate things - I don't know as I don't use that.

If you still can't get any playback run alsamixer press F6 select hdmi and make sure it says OO not MM. Pressing m will toggle between Open and Mute.

Signature · 2 lines
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

#7 lore raw

[Bug 30151] HDMI audio via radeon DRM driver is not working.

In reply to [email protected]

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

[email protected] changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from [email protected] ---
Everything works fine now on Rosa. Certainly an update yesterday and today on this young distro (because I've had several) which resolved a conflict. So, this system approaches perfection. My best linux distro I installed on my PC! Bug resolved ! I'm sorry for the soliciting caused by this digging out bug, but thank you for the time you have given me for his resolution.

Signature · 2 lines
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