Is PulseAudio Really That Bad?
Sadly I have not had time to put together the video I was hoping to for this post as my day got the best of me. Despite this, I am going to put one myth to bed right now. There is nothing wrong with PulseAudio in modern releases of Ubuntu. Yes, I said it and I can even back it up. Having used PulseAudio extensively on Ubuntu 8.10 and a little bit on 9.04 on a secondary test box, I really fail to see what all of the whining is about.
Granted, the devs really let people down by not mentioning that PulseAudio is a total headache to understand without the inclusion of a very important piece of software you must install yourself. It’s called the PulseAudio Device Chooser. To install it, along with its dependencies, just install padevchooser from your package manager or for you CLI fans, apt-get it.
Now add this to your Sessions preferences by using padevchooser as the command for the startup app. Bingo. You now have full control over your audio destiny. I use it to send music from my USB headset to my speakers and back again, with great ease. Just left click on the icon next to the clock for the PulseAudio Device Chooser and select Volume.
Assuming you are actually playing music with both a speaker setup and a USB headset plugged in, goto the Playback tab, look for the tiny \/ arrow next to the Db readout on the right, select the device you want sound to play out of. Simple. Want to make the headset the default playback. Output devices tab, right click over the volume sliders and select the choice you wish to be default. Again, easy.
What about recording audio? I use the PulseAudio Device Chooser to move my Ustream audio from my webcam’s mic to my headset in real time by following this. With Ustream on, Recording tab, tiny \/ arrow then select the right USB recording device. This can be a bit confusing as both will show up as USB. However if you look, one will be mono while the other is stereo. Think….ah, you got it. The mono is the mic on the webcam while the stereo is for the headset. Again, that is all there is to it. And yes, it is very powerful. I can even use the output monitors to stream music if I wanted. But that is for another article all together.

26 Comments
Carlos
May 6th, 2009
at 5:58am
I agree, I’m using for some months and never got any problem, after installing what you said. And it adds great flexibility.
Ron
May 6th, 2009
at 7:38pm
Quite honestly, I’ve had no issues with PulseAudio. Mostly likely because my distro of choice, Linux Mint, installs padevchooser by default. I think it also helps to choose hardware that is solidly supported by your prefered Linux distribution.
Webcaming With Ubuntu Is Easy ~ Linux Fanatics
May 7th, 2009
at 11:56pm
[...] STX and both the Logitech Communicate Deluxe. Both work very well, plus thanks to help from the PulseAudio Device Chooser, the include mics are usable out of the box as [...]
icheyne
May 17th, 2009
at 9:13am
I’ve had constant nightmares with Pulseaudio, but this nice little guide should help now that Jaunty has got its act together. Seriously though, PulseAudio has been a disaster. Audio *just worked* before.
Matt Hartley
May 17th, 2009
at 1:55pm
icheyne: Should you still have issues with it, I have the cure
apt-get remove pulseaudio
From there, you can go old school if you wish to set the default soundcard because the GUI in Preferences>sound>sucks.
asoundconf list
then’
asoundconf set-default-card NAME-OF-CARD-ABOVE
Good luck. ;)
For help with the mic, not using Pulse, use the volume control. It’s rather limiting and not very useful anymore, but it still works.
Making The Switch Pt 1 ~ Linux Fanatics
June 29th, 2009
at 10:51am
[...] for sound, again, you should not have any problems. And with the addition of PulseAudio, you might actually find audio in Linux to be a really powerful [...]
Alessa
July 1st, 2009
at 7:38am
PulseAudio will always be a solution in search of a problem.
I’ve used ArchLinux for quite some time, and after installing ESD and a desktop environment, audio just worked. But I recently switched to Linux Mint–an “easier” distribution–due to some technical difficulties with my optical drive at the time…and with it, everything has worked great -except- PulseAudio, which had decided to only let my headphone jacks put out sound, and then disabled even them when I went from GNOME to Xfce.
Honestly, who really -needs- the ability to play sound over a network? That’s the only advantage it has over ESD, and as far as I can see, that capability’s just a toy for IT guys who should really be doing their jobs instead.
Let’s recap:
- No advantage over ESD for most users.
- Doesn’t even work on many sound cards, despite ESD working just fine on them. (Word to the wise: Even a system with very common hardware that’s been around for a year might not work with Pulse.)
- Many good applications are still incompatible with it, and require various hacks to solve this problem.
- Has been known to crash randomly and often. I thought Linux was supposed to crash less than Windows?
You might not see the problem with PulseAudio, but that doesn’t mean it’s not there.
joe
July 23rd, 2009
at 9:10am
google “remove pulse audio” – 4,030,000 results
Yes Pulse Is really that bad and should only have ever been a user app for the very few who need it.
Most don’t need it, they need better asound and alsa configuration. That would solve the headphone jack, multi-channel speaker, etc. issues. Volume control belongs in the app. I shouldn’t have to run a seperate app to change volume. It doesn’t work the way many want with a remote control, only the focused app should be muted or have it’s volume changed by the remote. If you want to mute the whole machine that can easily be done with a remote control key/button assignment.
The pulse argument that programmers don’t know how to program sound “so they should use a poorly written buggy software layer and never learn how to program sound” is counter-productive to generating better linux software.
Concerning multiple streams why not use jack, the both pro audio and regular users would be using the same tool and benefit from each others knowledge. Linux distributions should never add code to the base systems for the masses to compensate for manufacturers of shoddy hardware. Inexpensive sound chips can easily do hardware mixing, force the other manufacturers to provide better sound chips. Why load the cpu for something that can be done simply and inexpensively in hardware?
Pulse has does nothing but degrade linux sound for the majority of users. This is not the programmers fault in coding. The fault is the campaign to include a buggy product in the base code and the distributions “me too” attitude to follow, coupled with this drive to stupidity to make everything “under the hood” like windows. You really can have the best of both worlds, a gui config tool that explains the conf file, manages revisions and testing of different settings. Distributions could share working solutions of conf files. We all do this by hand now but if conf’s were treated like themes we could all benefit from the poor soul that struggled and got it working.
In the current releases of Ubuntu 9.04, Fedora 11, and Mandriva 2009.1 pulse is still not working properly except for a handful of people.
daniel
July 27th, 2009
at 6:49am
will remove pulse solve a probleme with no sound on flash (or a huge noise sometimes)???
nightway1
August 14th, 2009
at 7:28am
lets put it like this …
PULSEAUDIO is hurting linux!
on most systems i have seen problems with pulse.
from strange latency issues to instand system crashes
it needs to GO … NOW!
drop it. please.
Matt Hartley
August 14th, 2009
at 5:44pm
Will never happen. Why? Because for those who have sane system setups, realize how to use it, there is nothing better. It is the only thing out there providing a level playing field with individual application control from the audio perspective.
Don’t like it, remove it. ;)
No one out there is going to mind.
nightway1
August 18th, 2009
at 1:21am
some distos are making pulseaudio a dependency for many packages. so removing is no longer possible in a normal way. it is being forced up on people. and killing their pc’s .
disabling it is still possible.
sane setups? would never use pulse.
but just alsa dmix ,jack etc
greets.
allen
August 23rd, 2009
at 1:15pm
hello . well im new to ubuntu . but i have HDA intel – stac92xx. well thats what it says i have for my devices . i did what you said above to the best of my . ability . i think that i got it , but im still not getting any sound . on pulse audio manager . devices tab . under sinks is ; asla_output.pci_8086_293e_sound_card_0_alsa_playback_0 .
then lower than that is #486 i think its due to the song im trying to play
sources are about the same as sinks . but the endinds 0.monitor and alsa_capture_0 ..
when i go to show volume meter there moving but still no sound … im really new to ubuntu only had it for two days now . ill give more info if needed just let me know how and were to get it . and ill do my best to get it .. thank you for your help
Hugo
August 28th, 2009
at 4:22pm
I’ve got a Creative Audigy (CA0106) card.in my PC and a Sigmatel (STAC92xx) in my laptop. Both of them run Jaunty.
Pulseaudio works decently in the laptop, but NOT fine. I don’t know if you tested some Alsa-based game (i.e. powermanga): delays an problems with synchronization. The same for apps running through Wine: they worked perfectly in previous Pulseaudio-free distros.
What about the PC? A real Nightmare. There’s no way to convince Pulseaudio to work together Firefox/Flash… not to say the disaster that Pulseaudio causes to Skype. Yeah, proprietary software but… it worked like a charm in previous distros! Why the hardware support gets worse and worse as software versions advance? Furthermore, you can only partially disable Pulseaudio, but it is still on the road like a dead cow. Alsa can’t get the full control of your audio hardware so you can’t redirect channels by the .asoundrc configuration. Then, you have to choose between the poor Pulseaudio performance or a good audio support without specific (and important) features of your audio hardware (namely 5.1 surround). Yeah, you were lucky because of your a priori hardware setup but, what about the rest of the world?
Matt Hartley
August 28th, 2009
at 5:27pm
Sounds like a real sound card issue to me. I have no less than four currently installed 9.04 running pulseaudio, tested eight and all of them are fine using stuff like Frets on Fire, Audacity, etc.
Firefox and Flash 10.x – could not work better – perfection. Clearly, you either have a very Linux incompatible sound card or you are using Pulse out of the box without the benefit of the padevchooser. Did I mention Skype became even easier with my upgrade to the latest Ubuntu? I can now set the whole thing to Pulse and do my work from padevchooser. Place a test call, tab over to Recording and make whatever soundcard you want to be the default. It’s just not that difficult…
And as for not being able to take control of your 5.1channels, there maybe issues with 5.1 specifically.
Opening up system monitor and just killing pulse will likely remedy that for those rare occasions when one needs a real 5.1 experience…which again, is really going to be rare for 99% of the world. It’s just a feature. Easy to remove. I kill pulse with a simple script when I need JACK for very specific, rarely used applications.
Matt Hartley
August 28th, 2009
at 5:32pm
BTW, give this a whirl, it might help.
http://ubuntuforums.org/showpost.php?p=4751258&postcount=11
Hugo
August 29th, 2009
at 5:04am
Hi Matt….
No, I have a multi OS installation in this PC and, sadly, I have to say that the sound card works OK in Windows. And the problem is not only with Skype: the microphone configuration issue is the same for every application in Jaunty, even after a fresh installation, no matter how much you mess with the infamous pavdevchooser; the only way to solve that problem was disabling Pulseaudio.
I have no personal problem with any Pulseaudio developer… I’m trapped in the third word wasteland I come from, so I don’t know who they are ;) … the problem is that this sort of decisions put the people far away from Linux. The architectural beauty of the concept becomes a whim if the real thing doesn’t work. Tell your father or girlfriend that he/she has to “kill Pulseaudio” to start a game or to watch a movie with a decent audio playing…
Hugo
August 29th, 2009
at 5:07am
Oh, and yes, I have channel redirection with Pulseaudio, but the point is that you have your subwoofer working… but playing stuttered, delayed, noisy audio
Matt Hartley
August 29th, 2009
at 11:31am
Sorry to hear about your problems. I do have a subwoofer myself, works fantastic. No static here or off noise here.
I would again point out that in a multitude of setups I have tested with Pulse, there is no problem to be had. Not to say that with one or two select sound cards won’t present problems, just that with most of them, things work fine as my own findings have demonstrated to myself personally. :)
Hugo
August 29th, 2009
at 9:42pm
Hi again,
Just to say that my Linux sound nightmare finally ended. How come? Well, I have to say exactly what you expect me to say: completely remove Pulseaudio.
Of course, I was wrong: it is possible to uninstall Pulseaudio in Jaunty. I misinterpreted the partial solution given here
http://idyllictux.wordpress.com/2009/04/21/ubuntu-904-jaunty-keeping-the-beast-pulseaudio-at-bay/
But I tested a solution for a previous Ubuntu version and, surprisingly, after months of hacking, it worked for Jaunty with some little modifications. For those interested, the link is here:
http://idyllictux.wordpress.com/2009/04/21/ubuntu-904-jaunty-keeping-the-beast-pulseaudio-at-bay/
I have only a little advice to say G’bye: don’t convince yourself of anything if your only support to your beliefs is your own perception… it could be a delusion. Learn to listen is a must in this short life.
Matt Hartley
August 30th, 2009
at 10:57am
Hugo and all,
While I was finally able to duplicate the problems you were having with Pulseaudio and Skype, I still have not had problems with other apps. Sorry, but despite seeing a LOT of supporting evidence in what you all are saying (meaning you are not alone), I cannot duplicate those problems with Pulse except for VoIP apps. There, I can finally see the 100% CPU eating frustrating with audio dropping out.
Again, I do hear you. But if I cannot duplicate the “other problems”, often times with some people (alsa confs hacked to death), not much I can do there for ya.
Would not consider personal experience with a multitude of PCs a delusion, rather a reality based on HOURS upon HOURS of testing throughout the years.
Just working on Pulse alone, I have likely clocked over a month straight collectively. I have tested every hack, tweak, etc. And yes, once can get rid of Pulseaudio – sure. But I will never do this as it ALWAYS ties up your sound card which makes the switch meaningless in the first place.
All of this said, I have found the solution with skype-static-oss. As pulse has tested perfectly for me with Flash 10, Totem Movie Player, Mplayer, VLC, etc, I would again say that just as my experience with people working with Wifi in Linux, they are over-complicating. I have seen it happen again and again, each time people swearing that _____ just sucked. ;)
Pulsesucks
December 3rd, 2009
at 11:44pm
Pulseaudio is nothing but a fxxxkin garbage.
It should not be a default installation for every day joe shimo users. It is killing linux.
I heard debian is not using pulseaudio. I am trying debian.
Greggr
January 9th, 2010
at 10:04pm
I want to keep an open mind about Pulseaudio but I think a joke is in order. Q. How many users does it take to run a Ubuntu distro?. A. One to install it and a dozen to debate and fix Pulseaudio. If it walks like a duck….
Miro Collas
January 23rd, 2010
at 11:49pm
I found this article while trying to find a way to get audio to work the way I want on linux (mint 7 KDE). I have an Audigy SB card and a Jabra headset; I would like all sound on the soundcard *except* voice, which I need on the headset (VoIP).
Thus far, I have found no way to get VoIP to even work, let alone do what I need. I installed Pulseaudio hoping it would help, but so far, I have had no luck at all.
Matt Hartley
January 24th, 2010
at 5:04pm
Miro: Sorry for your troubles. Assuming Skype is the VoIP you are wanting to use, here are two completely different approaches.
With PulseAudio: http://www.youtube.com/watch?v=ORxV_n1gHfU
Without PulseAudio: http://www.youtube.com/watch?v=rrs_jxo8Abs
Greggr
January 24th, 2010
at 9:57pm
Finally! after reading a whole lot I began to understand what is going on. It’s not really Pulseaudio or Ubuntu or the apps. Let’s just call it tech overload or Home Theater Configuration Syndrome HTCS. There are so many ways to connect, so many devices out there, so many terms to be understood. I downloaded Skype 2.1 Beta then opened Sound>Preferences>Input (in Ubuntu 9.10). After that, I plugged in my USB headset and viola! a new connection choice appeared! I selected “audio adapter analog Mono”. I then ran sound recorder. It worked! Next, I did the same with regard to “output”, selected the new output that appeared and it worked!
I ran the test call on Skype. Lo and Behold it works!
Hope this helps someone like myself, just looking through it all, needing different glasses.