You are not logged in.
Pages: 1
Having trouble getting HDMI audio to work on ATI HD7850 (Southern Islands) Graphics card. I have enabled the audio module and running kernel :3.11.4-1-ARCH #1 SMP PREEMPT Sat Oct 5 21:22:51 CEST 2013 x86_64 GNU/Linux. Using ALSA and Pulseaudio and xf86-video-ati graphics drivers.
the hdmi out is listed in aplay but no sound is output. The device is shown as unplugged in pavucontrol despite hdmi video working correctly. I have tried the wiki pages for troubleshooting unsuccessfully. i have tried every combination of card and device in aplay to test for output.
Is there a way to force hdmi to be plugged in? I believe that somehow the snd_hda_intel driver is interpreting the device as unavailable and therefore not sending the audio stream out.
Below are some relevent commands and there outputs. Thanks for any help or insights.
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC887 Analog [ALC887 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC887 Digital [ALC887 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Live [SB Live! Value [CT4871]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
Subdevices: 32/32
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
Subdevice #31: subdevice #31
card 2: Live [SB Live! Value [CT4871]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 2: Live [SB Live! Value [CT4871]], device 3: emu10k1 [Multichannel Playback]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 4: DACE17 [FiiO USB DAC-E17], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 4: DACE17 [FiiO USB DAC-E17], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
pactl list sinks
^note that the hdmi port is unavaible : (priority: 5900, not available)
Sink #0
State: IDLE
Name: alsa_output.pci-0000_01_00.1.hdmi-stereo
Description: Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] Digital Stereo (HDMI)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 5
Mute: no
Volume: 0: 100% 1: 100%
0: -0.01 dB 1: -0.01 dB
balance 0.00
Base Volume: 100%
0.00 dB
Monitor Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
Latency: 19904 usec, configured 20000 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "1"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfdffc000 irq 43"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aab0"
device.product.name = "Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]"
device.string = "hdmi:1"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] Digital Stereo (HDMI)"
alsa.mixer_name = "ATI R6xx HDMI"
alsa.components = "HDA:1002aa01,00aa0100,00100300"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
hdmi-output-0: HDMI / DisplayPort (priority: 5900, not available)
Active Port: hdmi-output-0
Formats:
pcm
Sink #1
State: RUNNING
Name: alsa_output.usb-FiiO_FiiO_USB_DAC-E17-01-DACE17.iec958-stereo
Description: FiiO USB DAC-E17 Digital Stereo (IEC958)
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 7
Mute: no
Volume: 0: 100% 1: 100%
0: 0.00 dB 1: 0.00 dB
balance 0.00
Base Volume: 100%
0.00 dB
Monitor Source: alsa_output.usb-FiiO_FiiO_USB_DAC-E17-01-DACE17.iec958-stereo.monitor
Latency: 23159 usec, configured 20000 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "4"
alsa.card_name = "FiiO USB DAC-E17"
alsa.long_card_name = "FiiO FiiO USB DAC-E17 at usb-0000:00:13.1-1, full speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:00:13.1-usb-0:1:1.1"
sysfs.path = "/devices/pci0000:00/0000:00:13.1/usb6/6-1/6-1:1.1/sound/card4"
udev.id = "usb-FiiO_FiiO_USB_DAC-E17-01-DACE17"
device.bus = "usb"
device.vendor.id = "1852"
device.vendor.name = "GYROCOM C&C Co., LTD"
device.product.id = "50d0"
device.product.name = "FiiO USB DAC-E17"
device.serial = "FiiO_FiiO_USB_DAC-E17"
device.string = "iec958:4"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "iec958-stereo"
device.profile.description = "Digital Stereo (IEC958)"
device.description = "FiiO USB DAC-E17 Digital Stereo (IEC958)"
alsa.mixer_name = "USB Mixer"
alsa.components = "USB1852:50d0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
Ports:
iec958-stereo-output: Digital Output (S/PDIF) (priority: 0)
Active Port: iec958-stereo-output
Formats:
pcm
Last edited by djmwj1 (2013-10-12 14:20:16)
Offline
It is obvious but maybe you missed it. Have you set digital out in amixer/alsamixer? Something similar to:
amixer -c HDMI sset IEC958 unmute
Edit:
https://wiki.archlinux.org/index.php/Ad … s_not_work
Last edited by emeres (2013-10-14 00:11:12)
Offline
Offline
Thanks for the suggestions. I looked at the other posts mentioned and they claim that it fixed itself after the update. Unfortunately my issue remains even post-update. Anyone have any suggestions? This is what pavucontrol looks like. Note that despite everything being plugged in and the hdmi display working it shows it as unplugged.
Offline
What does
xrandr --props
for HDMI show?
Offline
Here is the output of xrandr --props
HDMI-0 connected 1920x1080+3360+0 (normal left inverted right x axis y axis) 698mm x 392mm
_MUTTER_PRESENTATION_OUTPUT: 0
EDID:
00ffffffffffff003dcb620b00000000
00150103800000780adaffa3584aa229
17494b00000001010101010101010101
010101010101023a801871382d40582c
4500ba882100001e011d8018711c1620
582c2500ba882100009e000000fc0054
582d4e523630390a20202020000000fd
00173d0f440f000a202020202020015f
020342714f9005200403020706010f0e
0b0a242338097f070f7f071707503f06
c04d02005706005f7e01675400834f00
006c030c001500b82dcf00000000e305
1f01011d007251d01e206e285500ba88
2100001e8c0ad08a20e02d10103e9600
ba88210000188c0ad08a20e02d10103e
96000b882100001800000000000000be
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
coherent: 1
range: (0, 1)
1920x1080 60.0 + 59.9 24.0 24.0
1920x1080i 60.1*+ 60.0
2880x480 60.0 59.9
2880x480i 60.1 60.1
1280x720 60.0 59.9
1440x480 60.0 59.9
1440x480i 60.1 60.1
720x480 60.0 59.9
640x480 60.0 59.9
Offline
Looking at the Xorg logs it says that the option "Audio" is not used. (i added this to the xorg.conf to try to force it on)
X.Org X Server 1.14.4
Release Date: 2013-10-31
[ 12.857] X Protocol Version 11, Revision 0
[ 12.857] Build Operating System: Linux 3.11.6-1-ARCH x86_64
[ 12.857] Current Operating System: Linux david-desktop 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64
[ 12.857] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f921764d-9391-4cfb-8d5d-47e830a3004a rw radeon.audio=1 quiet
[ 12.857] Build Date: 01 November 2013 05:10:48PM
[ 12.857]
[ 12.857] Current version of pixman: 0.30.2
[ 12.857] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 12.857] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
--
[ 14.952] (II) RADEON(0): VRAM usage limit set to 1878750K
[ 14.953] (==) RADEON(0): Backing store disabled
[ 14.953] (II) RADEON(0): Direct rendering enabled
[ 15.061] (II) RADEON(0): Use GLAMOR acceleration.
[ 15.061] (II) RADEON(0): Acceleration enabled
[ 15.061] (==) RADEON(0): DPMS enabled
[ 15.061] (==) RADEON(0): Silken mouse enabled
[ 15.061] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 15.061] (WW) RADEON(0): Option "Audio" is not used
[ 15.061] (--) RandR disabled
[ 15.067] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 15.067] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 15.067] (II) AIGLX: enabled GLX_ARB_create_context
[ 15.067] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 15.067] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 15.067] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 15.067] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
Last edited by djmwj1 (2013-11-03 14:56:01)
Offline
I guess I have the same problem. Switched from fglrx/catalyst yesterday. Pavucontrol shows me unplugged hdmi output.
HD7970 (Southern Island)
➜ ~ lspci -v
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970] (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Tahiti XT2 [Radeon HD 7970 GHz Edition OC]
Flags: bus master, fast devsel, latency 0, IRQ 56
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f7c00000 (64-bit, non-prefetchable) [size=256K]
I/O ports at e000 [size=256]
Expansion ROM at f7c40000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [270] #19
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] #13
Capabilities: [2d0] #1b
Kernel driver in use: radeon
Kernel modules: radeon
➜ ~ lspci -v
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]
Subsystem: Gigabyte Technology Co., Ltd Device aaa0
Flags: bus master, fast devsel, latency 0, IRQ 57
Memory at f7c60000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
➜ ~ aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: PCH [HDA Intel PCH], périphérique 0: ALC898 Analog [ALC898 Analog]
Sous-périphériques: 0/1
Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 1: ALC898 Digital [ALC898 Digital]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 3: HDMI 0 [HDMI 0]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 7: HDMI 1 [HDMI 1]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 1: HDMI [HDA ATI HDMI], périphérique 3: HDMI 0 [HDMI 0]
Sous-périphériques: 0/1
Sous-périphérique #0: subdevice #0
carte 1: HDMI [HDA ATI HDMI], périphérique 7: HDMI 1 [HDMI 1]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 1: HDMI [HDA ATI HDMI], périphérique 8: HDMI 2 [HDMI 2]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 1: HDMI [HDA ATI HDMI], périphérique 9: HDMI 3 [HDMI 3]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 1: HDMI [HDA ATI HDMI], périphérique 10: HDMI 4 [HDMI 4]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 1: HDMI [HDA ATI HDMI], périphérique 11: HDMI 5 [HDMI 5]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
➜ ~ xrandr --props
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
EDID:
00ffffffffffff0015c3422301010101
3316010380331d78ea2795a9544f9e26
0a5054a1080081808140b30081c00101
010101010101023a801871382d40582c
4500fe1f1100001e000000ff00343035
34373132320a20202020000000fd0031
3d0f440f000a202020202020000000fc
004653323333330a2020202020200182
020325f14e901f051404130312021107
160615230907078301000066030c0010
0080e2007b011d8018711c1620582c25
00fe1f1100009e011d80d0721c162010
2c2580fe1f1100009e8c0ad08a20e02d
10103e9600fe1f110000188c0ad09020
4031200c405500fe1f11000018000000
00000000000000000000000000000086
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
coherent: 1
range: (0, 1)
1920x1080 60.0*+ 50.0 59.9
1920x1080i 60.1 50.0 60.0
1680x1050 59.9
1280x1024 60.0
1280x960 60.0
1280x720 60.0 60.0 50.0 59.9
1440x576i 50.1
1024x768 60.0
1440x480i 60.1 60.1
800x600 60.3
720x576 50.0
720x480 60.0 59.9
640x480 60.0 59.9
720x400 70.1
Offline
Offline
I have tried the WIKI solution without any success unfortunately. Should xrandr --props return an audio option normally? Looks like both of us are missing that option.
-> Pluc - Does your xorg logs show the same line: "(WW) RADEON(0): Option "Audio" is not used" even after enabling radeon audio?
Last edited by djmwj1 (2013-11-09 14:20:12)
Offline
I'm having an identical issue with Radeon HD 7560D. Switched from catalyst driver (where HDMI audio was working) to xf86-video-ati.
I have set radeon.audio=1 in my kernel options. aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav "plays" without error, however there is no actual sound.
Offline
I downloading linux 3.12-1 from the testing repo and installed with pacman -U. Works like a charm now
Offline
I have tried the WIKI solution without any success unfortunately. Should xrandr --props return an audio option normally? Looks like both of us are missing that option.
-> Pluc - Does your xorg logs show the same line: "(WW) RADEON(0): Option "Audio" is not used" even after enabling radeon audio?
Didn't get home yet so I didn't try to explicitly set Option "Audio", I'll try when I can. Otherwise nothing in the log.
I downloading linux 3.12-1 from the testing repo and installed with pacman -U. Works like a charm now
Good to know.
Offline
Awesome to hear the new kernel works for you. I think i will wait for it to leave testing but i am hoping it fixes my issue as well. Thanks for sharing.
Offline
Updated to 3.12 kernel tonight.
Now everything seems "normal", pavucontrol shows "Plugged in", but still no sound. I checked all solutions on the wiki, I don't know where to look now.
➜ ~ uname -r
3.12.0-1-ARCH
➜ ~ cat /var/log/Xorg.0.log |grep -i audio
[ 1982.753] Kernel command line: \vmlinuz-linux root=UUID=11926c81-9c24-48a6-8fee-812e2dc6f7c9 PARTUUID=409dfc5a-2654-47e7-8ed9-fc96f3ea2d14 ro radeon.audio=1 initrd=\initramfs-linux.img
[ 1983.052] (WW) RADEON(0): Option "Audio" is not used
➜ ~ dmesg |grep -i audio
[ 0.000000] Command line: \vmlinuz-linux root=UUID=11926c81-9c24-48a6-8fee-812e2dc6f7c9 PARTUUID=409dfc5a-2654-47e7-8ed9-fc96f3ea2d14 ro radeon.audio=1 initrd=\initramfs-linux.img
[ 0.000000] Kernel command line: \vmlinuz-linux root=UUID=11926c81-9c24-48a6-8fee-812e2dc6f7c9 PARTUUID=409dfc5a-2654-47e7-8ed9-fc96f3ea2d14 ro radeon.audio=1 initrd=\initramfs-linux.img
[ 2.267752] [drm] Enabling audio 0 support
[ 2.267753] [drm] Enabling audio 1 support
[ 2.267754] [drm] Enabling audio 2 support
[ 2.267754] [drm] Enabling audio 3 support
[ 2.267755] [drm] Enabling audio 4 support
[ 2.267756] [drm] Enabling audio 5 support
[ 2.540076] hda-intel 0000:01:00.1: Handle VGA-switcheroo audio client
➜ ~ systool -v -m radeon |grep audio
audio = "1"
Also speaker-test -Dhdmi:HDMI was giving me a "Device or ressource busy". Now as I was writing this, I got something new :
➜ ~ speaker-test -Dhdmi:HDMI
speaker-test 1.0.27.2
Le périphérique de lecture est hdmi:HDMI
Les paramètres du flux sont 48000Hz, S16_LE, 1 canaux
Utilisation de 16 octaves de 'pink noise'
Le nombre (1) de canaux est indisponible à la lecture: Argument invalide
Échec de la configuration des paramètres matériel: Argument invalide
Translation :
The number of channels (1) is not available : Invalid argument
Hardware parameters configuration failed : Invalid argument
So with : speaker-test -Dhdmi:HDMI -c 2
I got sound (youhou )
But then again, while writing :
➜ ~ speaker-test -Dhdmi:HDMI -c 2
speaker-test 1.0.27.2
Le périphérique de lecture est hdmi:HDMI
Les paramètres du flux sont 48000Hz, S16_LE, 2 canaux
Utilisation de 16 octaves de 'pink noise'
Erreur d'ouverture à la lecture: -16,Périphérique ou ressource occupé
Translation : Error while openning : -16, Device or resource busy
Well I guess we are close
Offline
Kernel 3.12-1 solved my problems as well. :-)
As for your issues the divece may be busy because it is being used by another process. were you trying to play audio while running the test or making changes in pavucontrol? I know i have seen this issue in the past and it was because some process was trying to use the device while the test was running.
Offline
Pages: 1