You are not logged in.

#1 2012-01-03 22:09:29

kerdum
Member
Registered: 2011-07-16
Posts: 21

ATI HDMI Audio not working

Hi,

I have followed the instructions for "HDMI Audio" under https://wiki.archlinux.org/index.php/ATI for my Acer Aspire One 522 Netbook. I also made sure I had done the steps for "Early KMS start" on the same wiki page. I can't seem to get the audio working for my HDMI out. The volume is up and the xrandr lists my device fine and I can us the following command on my Netbook speakers but they don't seem to go through my TV speakers:

aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav

I know the speakers on the TV are OK and that other HDMI devices can play sound through the TV speakers. What could I be missing here?

Thanks in advance,

Kerdum

Offline

#2 2012-01-03 22:26:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: ATI HDMI Audio not working

If 'plughw:0,3' goes through your netbook speakers, maybe you need to pick other hardware number?

Offline

#3 2012-01-03 22:33:35

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: ATI HDMI Audio not working

What does this give:

aplay -l

(That's a lower-case "L", not a number 1 or an upper-case "i".)

Offline

#4 2012-01-04 01:03:35

kerdum
Member
Registered: 2011-07-16
Posts: 21

Re: ATI HDMI Audio not working

/dev/zero wrote:

What does this give:

aplay -l

(That's a lower-case "L", not a number 1 or an upper-case "i".)

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

#5 2012-02-09 01:26:44

kerdum
Member
Registered: 2011-07-16
Posts: 21

Re: ATI HDMI Audio not working

I have even tried the instructions found under https://wiki.archlinux.org/index.php/Ad … s_Not_Work

Anyone have any clues?

Offline

#6 2012-02-09 01:35:51

kerdum
Member
Registered: 2011-07-16
Posts: 21

Re: ATI HDMI Audio not working

Also, when I use AlsaMixer (v1.0.25) and switch to the HD-Audio Generic it shows only one value that is always set to 00 (I can't change it) and it is labeled as "S/PDIF" . I can only mute it with the "M" key or unmute it. Up and DOWN keys do not change the value.

The Chip is set as ATI r6xx HDMI

Hope that helps.

Last edited by kerdum (2012-02-09 01:36:06)

Offline

#7 2012-02-09 03:13:33

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: ATI HDMI Audio not working

kerdum wrote:

I have even tried the instructions found under https://wiki.archlinux.org/index.php/Ad … s_Not_Work

Anyone have any clues?

How closely did you follow the instructions? Certainly, you need to modify parts to suit your own system. Please show:

find /etc/alsa/ -type f -printf "\n# %M %p\n" -exec cat {} \;

Offline

#8 2012-02-09 21:38:29

kerdum
Member
Registered: 2011-07-16
Posts: 21

Re: ATI HDMI Audio not working

/dev/zero wrote:
kerdum wrote:

I have even tried the instructions found under https://wiki.archlinux.org/index.php/Ad … s_Not_Work

Anyone have any clues?

How closely did you follow the instructions? Certainly, you need to modify parts to suit your own system. Please show:

find /etc/alsa/ -type f -printf "\n# %M %p\n" -exec cat {} \;

Hi thanks for your reply. I do not have a /etc/alsa directory. I checked the wiki again and I don't see when I would have created one. Is that odd?

Last edited by kerdum (2012-02-09 21:38:40)

Offline

#9 2012-02-09 22:22:44

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: ATI HDMI Audio not working

kerdum wrote:

Hi thanks for your reply. I do not have a /etc/alsa directory. I checked the wiki again and I don't see when I would have created one. Is that odd?

Ah, sorry. I had in mind that you followed the subsection "Using udev to automatically turn HDMI audio on or off". Did you do the part of the how-to that says to set "radeon.audio=1"?

I see your "aplay -l" has your HDMI sitting on a different card to your laptop speakers, and it doesn't show up as ATI. What do these show?:

lspci -nn
lspci -mvk | grep -iC8 audio
lsmod
grep -i ^modules /etc/rc.conf

Last edited by /dev/zero (2012-02-09 22:28:04)

Offline

#10 2012-02-09 22:41:03

kerdum
Member
Registered: 2011-07-16
Posts: 21

Re: ATI HDMI Audio not working

Yes I have added the radeon.audio=1 and confirmed it is still there smile

lspci -nn

00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 14h Processor Root Complex [1022:1510]
00:01.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon HD 6250 [1002:9804]
00:01.1 Audio device [0403]: ATI Technologies Inc Wrestler HDMI Audio [Radeon HD 6250/6310] [1002:1314]
00:11.0 SATA controller [0106]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391]
00:12.0 USB controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:12.2 USB controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:13.0 USB controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:13.2 USB controller [0c03]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: ATI Technologies Inc SBx00 SMBus Controller [1002:4385] (rev 42)
00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
00:14.3 ISA bridge [0601]: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
00:14.4 PCI bridge [0604]: ATI Technologies Inc SBx00 PCI to PCI Bridge [1002:4384] (rev 40)
00:15.0 PCI bridge [0604]: ATI Technologies Inc SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0) [1002:43a0]
00:15.2 PCI bridge [0604]: ATI Technologies Inc SB900 PCI to PCI bridge (PCIE port 2) [1002:43a2]
00:15.3 PCI bridge [0604]: ATI Technologies Inc SB900 PCI to PCI bridge (PCIE port 3) [1002:43a3]
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 [1022:1700] (rev 43)
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1 [1022:1701]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2 [1022:1702]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3 [1022:1703]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4 [1022:1704]
00:18.5 Host bridge [0600]: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6 [1022:1718]
00:18.6 Host bridge [0600]: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5 [1022:1716]
00:18.7 Host bridge [0600]: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7 [1022:1719]
06:00.0 Ethernet controller [0200]: Atheros Communications AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)
07:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)

lspci -mvk | grep -iC8 audio

Class:	VGA compatible controller
Vendor:	ATI Technologies Inc
Device:	Radeon HD 6250
SVendor:	Acer Incorporated [ALI]
SDevice:	Device 0543
Driver:	radeon

Device:	00:01.1
Class:	Audio device
Vendor:	ATI Technologies Inc
Device:	Wrestler HDMI Audio [Radeon HD 6250/6310]
SVendor:	Acer Incorporated [ALI]
SDevice:	Device 0543
Driver:	snd_hda_intel

Device:	00:11.0
Class:	SATA controller
Vendor:	ATI Technologies Inc
Device:	SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
--
Vendor:	ATI Technologies Inc
Device:	SBx00 SMBus Controller
SVendor:	Acer Incorporated [ALI]
SDevice:	Device 0543
Rev:	42
Driver:	piix4_smbus

Device:	00:14.2
Class:	Audio device
Vendor:	ATI Technologies Inc
Device:	SBx00 Azalia (Intel HDA)
SVendor:	Acer Incorporated [ALI]
SDevice:	Device 0543
Rev:	40
Driver:	snd_hda_intel

Device:	00:14.3

lsmod

Module                  Size  Used by
aes_generic            26138  1 
ipv6                  288511  28 
fuse                   66922  2 
joydev                  9895  0 
ext2                   63387  1 
arc4                    1410  2 
ath9k                  87343  0 
ath9k_common            2096  1 ath9k
snd_hda_codec_conexant    47186  1 
ath9k_hw              347282  2 ath9k_common,ath9k
ath                    14802  3 ath9k_hw,ath9k_common,ath9k
snd_hda_codec_hdmi     24121  1 
mac80211              228559  1 ath9k
snd_hda_intel          23375  2 
snd_hda_codec          89160  3 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_conexant
snd_hwdep               6389  1 snd_hda_codec
cfg80211              172260  3 mac80211,ath,ath9k
snd_pcm                74780  3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
uvcvideo               64311  0 
videodev               82101  1 uvcvideo
psmouse                61311  0 
i2c_piix4               8224  0 
snd_page_alloc          7153  2 snd_pcm,snd_hda_intel
v4l2_compat_ioctl32     8316  1 videodev
acer_wmi               19807  0 
snd_timer              19544  1 snd_pcm
atl1c                  32564  0 
pcspkr                  1819  0 
evdev                   9530  9 
sparse_keymap           3120  1 acer_wmi
serio_raw               4429  0 
media                  10597  2 videodev,uvcvideo
k10temp                 2883  0 
sp5100_tco              4568  0 
snd                    59214  11 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_conexant
rfkill                 15498  3 acer_wmi,cfg80211
processor              25582  2 
soundcore               6210  1 snd
video                  11164  0 
button                  4470  0 
battery                 6453  0 
ac                      2344  0 
wmi                     8475  1 acer_wmi
ext4                  417116  2 
crc16                   1359  1 ext4
jbd2                   71243  1 ext4
mbcache                 5881  2 ext4,ext2
sd_mod                 28307  5 
ohci_hcd               21631  0 
ahci                   20037  4 
libahci                19559  1 ahci
ehci_hcd               40698  0 
libata                166654  2 libahci,ahci
scsi_mod              133443  2 libata,sd_mod
usbcore               146241  4 ehci_hcd,ohci_hcd,uvcvideo
usb_common               954  1 usbcore
radeon                754431  3 
i2c_algo_bit            5263  1 radeon
drm_kms_helper         26137  1 radeon
ttm                    54904  1 radeon
drm                   188435  5 ttm,drm_kms_helper,radeon
i2c_core               20492  6 drm,drm_kms_helper,i2c_algo_bit,radeon,i2c_piix4,videodev

grep -i ^modules /etc/rc.conf

MODULES=()

Last edited by kerdum (2012-02-09 22:45:59)

Offline

#11 2012-02-09 22:50:45

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: ATI HDMI Audio not working

Could you confirm that you've set "radeon.audio=1", say as a flag to the kernel at boot time?

Offline

#12 2012-02-09 22:54:42

kerdum
Member
Registered: 2011-07-16
Posts: 21

Re: ATI HDMI Audio not working

/dev/zero wrote:

Could you confirm that you've set "radeon.audio=1", say as a flag to the kernel at boot time?

yeah sorry I didn't edit my last post quick enough. I confirmed It is set.

Offline

#13 2012-02-09 22:57:47

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: ATI HDMI Audio not working

Well then, I am all out of ideas O_O

Offline

#14 2012-02-09 23:36:23

kerdum
Member
Registered: 2011-07-16
Posts: 21

Re: ATI HDMI Audio not working

cat /proc/asound/modules

0 snd_hda_intel
1 snd_hda_intel

Wondering what that means?

Offline

#15 2012-03-22 17:10:15

klz
Member
Registered: 2011-02-14
Posts: 23

Re: ATI HDMI Audio not working

Hi Kerdum,

Were you able to fix it alrdy? I am having the same problem:
Wrestler HDMI Audio [Radeon HD 6250/6310]  in combination with SBx00 Azalia (Intel HDA)
only "S/PDIF" in alsamixer and also set radeon.audio=1 as kernel flag
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav , does not give errors, but no sound either..

>>user# cat /proc/asound/card*/code*|grep Codec 
Codec: ATI R6xx HDMI                               
Codec: Conexant CX20590

So i have the conexant driver from intel hd audio (kernel configuration),

No problem getting audio through laptop-speakers / headphones-jack. But when trying to get audio through the hdmi cable: silence ;(


and about your question "Wondering what that means?" : i think it is because both soundcard use the snd_hda_intel module. one with the conexant-driver and the other with the "generic"(?).



p.s. my xorg settings:

Section "Module"    
	Load "glx"
	Load "dri"
EndSection
Section "Device"
	Identifier "r"
	Driver "radeon"
    Option      "HDMI" "all"
    Option      "Audio" "on"
EndSection
Section "dri"
	Group "video"
	Mode 0666
EndSection

kernel option for intel hd audio:

  │ │                                            --- Intel HD Audio                                                                                                 │ │  
  │ │                                            (64)  Pre-allocated buffer size for HD-audio driver                                                                │ │  
  │ │                                            [ ]   Build hwdep interface for HD-audio driver                                                                    │ │  
  │ │                                            [ ]   Support digital beep via input layer                                                                         │ │  
  │ │                                            [*]   Support jack plugging notification via input layer                                                           │ │  
  │ │                                            [ ]   Support initialization patch loading for HD-audio                                                            │ │  
  │ │                                            [ ]   Build Realtek HD-audio codec support                                                                         │ │  
  │ │                                            [ ]   Build Analog Device HD-audio codec support                                                                   │ │  
  │ │                                            [ ]   Build IDT/Sigmatel HD-audio codec support                                                                    │ │  
  │ │                                            [ ]   Build VIA HD-audio codec support                                                                             │ │  
  │ │                                            [*]   Build HDMI/DisplayPort HD-audio codec support                                                                │ │  
  │ │                                            [ ]   Build Cirrus Logic codec support                                                                             │ │  
  │ │                                            [*]   Build Conexant HD-audio codec support                                                                        │ │  
  │ │                                            [ ]   Build Creative CA0110-IBG codec support                                                                      │ │  
  │ │                                            [ ]   Build Creative CA0132 codec support                                                                          │ │  
  │ │                                            [ ]   Build C-Media HD-audio codec support                                                                         │ │  
  │ │                                            [ ]   Build Silicon Labs 3054 HD-modem codec support                                                               │ │  
  │ │                                            [*]   Enable generic HD-audio codec parser                                                                         │ │  
  │ │                                            [*]   Aggressive power-saving on HD-audio                                                                          │ │  
  │ │                                            (20)    Default time-out for HD-audio power-save mode                                                              │ │

Offline

#16 2012-03-22 17:31:28

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: ATI HDMI Audio not working

There's no HDMI audio support for HD6xxx cards.

Offline

#17 2012-03-22 18:01:43

klz
Member
Registered: 2011-02-14
Posts: 23

Re: ATI HDMI Audio not working

Gusar wrote:

There's no HDMI audio support for HD6xxx cards.

ah, kinda makes sense it didnt work then ;p
any idea if there is going to be audio support / do you know when i can follow development for this ?

Offline

#18 2012-04-12 11:47:06

klz
Member
Registered: 2011-02-14
Posts: 23

Re: ATI HDMI Audio not working

So it seems hdmi-audio should work with the new 3.3 kernel
http://www.x.org/wiki/RadeonFeature

Last edited by klz (2012-04-12 11:57:25)

Offline

#19 2012-04-12 11:54:52

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: ATI HDMI Audio not working

klz wrote:

So it seems hdmi-audio should work with the new 3.3 kernel
http://www.x.org/wiki/RadeonFeature

Yeah, with Evergreen (HD5xxx). Nothing has changed for Northern Islands (HD6xxx).

Offline

#20 2012-04-12 11:57:06

klz
Member
Registered: 2011-02-14
Posts: 23

Re: ATI HDMI Audio not working

Evergreen = HD5430 - HD5970, all HD6000 not listed under Northern Islands, HD7350
Northern Islands = HD6450, HD6570, HD6670, HD6790 - HD6990, HD64xxM, HD67xxM, HD69xxM, HD7450 - HD7670

So it seems our HD6250/6310 are in fact evergreens, which have hdmi-audio output in 3.3 kernels... Will test it when i have and hdmi-tv nearby

Offline

#21 2012-04-14 10:59:32

klz
Member
Registered: 2011-02-14
Posts: 23

Re: ATI HDMI Audio not working

I can confirm that HDMI audio is working !!! smile))  kernel 3.3.1.
Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]

# aplay -l                                                                                                                                   (04-14 13:01)
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

xrandr --output LVDS --off --rotate normal --pos 0x0 --output HDMI-0 --mode auto
mplayer -ao alsa:device=hw=0.3 video.avi

and then there was sound from the tv with only the hdmi-cable attached.

Offline

#22 2012-05-09 05:42:08

Whatintheworldisthat
Member
Registered: 2007-08-21
Posts: 13

Re: ATI HDMI Audio not working

Sooo I have the exact same hardware as klz above.

aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav

runs without issue and takes little over a second to run, but no sound is produced.

I have unmuted every alsa channel, my tv, etc.
I have the radeon.audio=1 flag set.
I tried "rebooting" my tv as per the advice in the ALSA page in the Arch wiki.

No idea what is going wrong... I downgraded to kernel 3.3.1 as per above, but was not the issue (using the latest in repos, 3.3.4).

Last edited by Whatintheworldisthat (2012-05-09 06:42:52)

Offline

#23 2012-05-13 15:05:21

klz
Member
Registered: 2011-02-14
Posts: 23

Re: ATI HDMI Audio not working

@whatintheworldisthat: did you set the xorg and kernel settings just as in the post above?

Last edited by klz (2012-05-13 15:05:33)

Offline

#24 2012-07-09 20:08:37

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: ATI HDMI Audio not working

I'm having the exact same problem with the exact same videocard (part of the AMD E-350 APU) as you guys and I can't get it figured out.

I have radeon.audio=1 in menu.lst
I added these settings from klz's post to xorg.conf:

Section "Device"
    Option      "HDMI" "all"
    Option      "Audio" "on"
EndSection
Section "dri"
	Group "video"
	Mode 0666
EndSection

I'm using the radeon driver, should I be using fglrx instead?
I only have the S/PDIF channel available in alsamixer, I disabled the other audio output in the bios to avoid confusion.
I'm running kernel 3.4.4-2-ARCH

output of lsmod|grep snd

snd_hda_codec_hdmi     23672  1
snd_hda_intel          24053  2
snd_hda_codec          94273  2 snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               6300  1 snd_hda_codec
snd_pcm                74958  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              18966  1 snd_pcm
snd                    58997  10 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5410  1 snd

I know it works because I had it (semi) working in Chakra Linux which is actually using the 3.2 kernel, although sound would stop working after it was idle for about 12 hours and I would have to reboot.

Last edited by brando56894 (2012-07-09 20:10:11)

Offline

#25 2012-07-09 22:48:17

klz
Member
Registered: 2011-02-14
Posts: 23

Re: ATI HDMI Audio not working

Hi Brando,

Disabling audio outputs doesnt sound like a good idea.. i think i use another output than s/pdif (not sure on this). I haven't disabled any audio outputs in bios anyhow.
Yes radeon is fine, this is what i use.

Can you post the output of

aplay -l

What do the plughw aplay-command give you, silence, errors or ..?
Something else with hdmi-output does give you sound on your tv?

have you tried:

xrandr --output LVDS --off --rotate normal --pos 0x0 --output HDMI-0 --mode auto
mplayer -ao alsa:device=hw=0.3 video.avi

(i have the AMD E-450 btw)

Offline

Board footer

Powered by FluxBB