You are not logged in.
Hello,
I'm trying to make pulseaudio works on my sistem, I have 2 cards, one integrated and one is the graphics HDMI audio card.
$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xfbff8000 irq 46
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfb9fc000 irq 47This is my aplay -l:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC889 Analog [ALC889 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC889 Digital [ALC889 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 0/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 #0And there is aplay -L
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=PCH
HDA Intel PCH, ALC889 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
Front speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC889 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA ATI HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA ATI HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 3
HDMI Audio OutputI have installed pulseaudio and pulseaudio-alsa and the lib32 library, this is my .asoundrc:
$ cat ~/.asoundrc
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,3"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 1
}All was going good but today I plugged my hearset and switched the output with pavucontrol to it, right now i can't give to the HDMI the control of the audio.
It doesn't do any sound.
This is my speaker-test:
$ speaker-test
speaker-test 1.0.27.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Playback open error: -16,Dispositivo o risorsa occupataOwh I added the "radeon.audio=1" to my kernel boot option.
Thank you!
Sorry for my bad english, if you need more information to help me ask me ^^
Last edited by New813 (2014-03-26 21:27:48)
Offline
Hi there! ![]()
If you're using the latest kernel spin (3.13), you don't have to really put that kernel parameter in your bootloader config anymore because it's enabled by default already. Which DE are you using? GNOME, GNOME Flashback, Cinnamon and Unity have all integrated with pulseaudio and no extra configuration is needed. If you're using Xfce, LXDE, KDE or any other WM/DE, you'll have to install pulseaudio-alsa and alsa-utils to get it working. That made my HDMI audio work out of the box on my ancient KDE session with the open source driver.
I hope this helps!
Best of Luck ![]()
"The way your heart sounds makes all the difference" John Myung
I love Dream Theater! ImL
Best Guitar Solo Ever
Offline
Hi there!
If you're using the latest kernel spin (3.13), you don't have to really put that kernel parameter in your bootloader config anymore because it's enabled by default already. Which DE are you using? GNOME, GNOME Flashback, Cinnamon and Unity have all integrated with pulseaudio and no extra configuration is needed. If you're using Xfce, LXDE, KDE or any other WM/DE, you'll have to install pulseaudio-alsa and alsa-utils to get it working. That made my HDMI audio work out of the box on my ancient KDE session with the open source driver.
I hope this helps!
Best of Luck
Hi,
okay I just removed the kernel option, thanks for the advice!
I'm using xfce and I already had installed pulseaudio-alsa and alsa-utils, anyway the strange thing is that before switching to headphones (on the other card) it worked, but now it seems that is dead...
Thank you for helping!
Offline
Oh I get this on boot too:
mar 26 12:52:16 bill systemd-gpt-auto-generator[217]: Out of memory.
(I'm using mbr, LOL)
Can it be something about the audio?...
Offline
Okay I solved, I just disabled the module module-suspend-on-idle from loading on /etc/pulse/default.pa and unmuted the channel with pacmd, the problem essentially is that pavucontrol doesn't work well, I will open a bug track.
For more informations: https://en.wikibooks.org/wiki/Configuri … leshooting
bye
Offline
Is it a good idea to add it to the wiki? ![]()
Offline