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.
]]>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
]]>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.
]]>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.
]]>-> Pluc - Does your xorg logs show the same line: "(WW) RADEON(0): Option "Audio" is not used" even after enabling radeon audio?
]]>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
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
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
xrandr --props
for HDMI show?
]]>]]>
amixer -c HDMI sset IEC958 unmute