You are not logged in.
Hello. I am running Arch with Gnome and PulseAudio. I'm having a strange problem with audio. Whenever I have Skype open as well as a browser (Chromium) I can only hear one of the applications. (This happens in other applications as well.) For example, when I am talking to someone on Skype I would not be able to listen to Pandora Radio of a YouTube video. Can anyone here help? Thanks.
Last edited by smithr.michael1997 (2010-12-12 18:50:58)
Regards, Michael Smith
Offline
Is there a special reason to use pulseaudio? Did you try it without pulse?
Offline
Is there a special reason to use pulseaudio? Did you try it without pulse?
Not really. It's what I'm used to from my days in Ubuntu. I was looking for a fix without having to switch audio servers.
Regards, Michael Smith
Offline
Awebb wrote:Is there a special reason to use pulseaudio? Did you try it without pulse?
Not really. It's what I'm used to from my days in Ubuntu. I was looking for a fix without having to switch audio servers.
Are you actually using networked audio? If not, why do you need an audio server?
ALSA has dmix, and it can play multiple streams at once without pulse on top of it.
As for the pulse problem, it's probably due to things using ALSA/OSS outputs rather than pulse, which can break mixing.
Last edited by thestinger (2010-12-11 18:58:00)
Offline
As for the pulse problem, it's probably due to things using ALSA/OSS outputs rather than pulse, which can break mixing.
Do you know of a fix?
Regards, Michael Smith
Offline
You could try installing pulseaudio-alsa which will make ALSA programs do
ALSA ---> Pulse ---> ALSA ---> soundcard
instead of
ALSA ---> soundcard
Last edited by thestinger (2010-12-11 19:12:01)
Offline
You could try installing pulseaudio-alsa which will make ALSA programs do
ALSA ---> Pulse ---> ALSA ---> soundcard
instead of
ALSA ---> soundcard
Already have it.
Regards, Michael Smith
Offline
Probably one of these applications is using the OSS compatibility of ALSA. As it is the default of a lot of apps to try OSS first.
ALSA has dmix which is a software mixer, but -in my experience- it often fails when the OSS compatibility is used. Perhaps it can work if you do some configuring of it, but since this is Newbie Forums, I guessing it's stock (no problem with that! that's fine).
An easy fix is to blacklist the snd-pcm-oss module, to prevent applications of using the OSS compatibility layer. You hardly need it nowadays.
Edit /etc/rc.conf with your favorite editor (and don't forget you need root priviliges to save your work ) and blacklist the module in the MODULES clause:
MODULES=(!snd-pcm-oss)
Now you can reboot and the module will no longer be loaded.
And if you don't want to reboot immediatly:
Make sure you have closed all apps that might use sound and therefor use the OSS module.
Go to a terminal and:
# rmmod snd-pcm-oss
Note the "#", this is with root priviliges again. So either become root or sudo to issue this command.
Offline
Probably one of these applications is using the OSS compatibility of ALSA...
...An easy fix is to blacklist the snd-pcm-oss module...
...Now you can reboot and the module will no longer be loaded...
That did not fix the problem. Still can only hear one or the other.
Regards, Michael Smith
Offline
Than it's probably not an issue of OSS being used instead of ALSA.
Could be related to PulseAudio, which I have no experience with, so I can't provide you with tips on that.
"Does it work without pulseaudio?" would be my question now.
That way you would know whether the problem lies with Pulseaudio or the components beneath it such as ALSA or soundcard selection (e.g. pc speaker stealing index 0).
Offline
I recommend ridding your system of pulse...forever. Even if it doesn't fix your issue, it is still one less layer of abstraction to worry about.
Offline
I recommend ridding your system of pulse...forever. Even if it doesn't fix your issue, it is still one less layer of abstraction to worry about.
Unfortunately, that might not be an option anymore for GNOME 3...
Last edited by thestinger (2010-12-12 03:17:21)
Offline
If you use 64 bit and Skype from multilib, install lib32-libpulse.
Offline
I recommend ridding your system of pulse...forever. Even if it doesn't fix your issue, it is still one less layer of abstraction to worry about.
If you use 64 bit and Skype from multilib, install lib32-libpulse.
I already have lib32-libpulse.
I think that I will take Misfit138's advice and get rid of pulse and see if it works with alsa. Any advice for that would be great.
I will report back here with the results.
Regards, Michael Smith
Offline
Alright. I've managed to get everything working:
1. I removed pulseaudio (including all dependencies e.g. pulseaudio-gnome etc.)
2. Configured alsa using the instructions at the wiki.
So I'm all set. Thanks to everyone. I'll be sure to mark this as solved.
Regards, Michael Smith
Offline