How to Remove PulseAudio & use ALSA in Ubuntu Linux?

PulseAudio is a powerful cross-platform (meaning that it can be used on different

environments) sound server. You can use it to directly access your audio hardware and carry the

to output devices. Or because of the way it’s designed, you can use it as an a front-end for the existing, much older and mature sound servers, such as ALSA (it’s primarily an API for accessing audio drivers), OSS etc as well.The thing about PulseAudio is that (at least in my experience) it gives you all , but for some reason it has never worked that well for me. But ALSA on the other hand has always been an extremely stable one and has worked on all of my audio hardware devices.Now in Ubuntu Linux, few years ago they decided to use PulseAudio as the default sound server. But since PulseAudio cannot directly communicate with the audio hardware, it still needs tools like ALSA to function. So what happens is that, after mixing the audio (on software level), PulseAudio simply ‘hands it over’ to ALSA, and ALSA takes in from there.Well, it’s certainly powerful, but I’ve had my fair share of issues with it :/ …Anyhow, in my case, I suspect that it’s this, the bad communication between ALSA -> PulseAudio, is the reason for most of these issues, because every time I enable “audio amplification” in PulseAudio, my audio output mutes (update: This is no longer true. PulseAudio works really well under my new Dell notebook) .Now in the past I used to use the

to disable this audio amplification but in Ubuntu 11.10 Pulse just enables this audio amplification automatically. So most of the time I end up no sound outputs at all.However, out of these frustrations I just thought , “to hell with it!” (a lot of bad words were filtered :D). “I’m gonna remove PulseAudio and just use ALSA”. I just did it and now all my audio outputs works perfectly fine!.So if you’re also having the same issue or any other similar issues with PulseAudio in Ubuntu, then perhaps you can do the same and who knows it might save your day ;-). But remember, if you remove PulseAudio, you no longer will get that pretty looking “Volume Indicator applet” anymore. And if PulseAudio is working just fine for you, then I highly recommend that you stick with it.No more of these pretty audio indicators …If you’re ready, let’s do it.1. First let’s remove PulseAudio from your . I don’t remember since when Ubuntu used to come installed it by default, but for the recent versions such as: 12.04 Precise Pangolin, 11.10 Oneiric Ocelot, 11.04 Natty Narwhal, 10.10 and 10.04 the below command should remove it.sudo apt-get autoremove pulseaudio2. Now do a reboot since PulseAudio daemon () is also running from the background. So it’s better to let the OS update everything.3. Now the next time you login to your Desktop you won’t see the Volume Icon around the system tray area.Now ALSA is installed by default in Ubuntu but since we have to have a GUI for configuring audio mixing, let’s install the default tool that used to come

called: “Gnome-ALSA-Mixer” (a GTK+ front-end).For that please use the below command.sudo apt-get install gnome-alsamixer4.I’m not sure whether this is really necessary but just to make sure, again reboot your PC so the configuration is updated.5. As said before, for various reasons I have to disable the audio amplification otherwise the audio is muted. So if you too not getting any audio outputs after say running Totem for instance, then simply open your Terminal window and enter the below command.gnome-alsamixerNow this should open a new window, similar to the below one. From its window simply remove the “check” mark that says “External Amplifier”, that should solve most of your issues.Update: If you have an amplifier, then try leaving the “External Amplifier” enabled first. If you don’t get any sounds with it enabled, then you can try disabling it (thanks ‘Chris’ for pointing it out).Make sure your main output channels are also not muted …Oh and make sure Master output, PCM etc aren’t muted.Update: If you’re having issues while using ‘Gnome ALSA Mixer’, then , which is a new ALSA mixer GUI. It’s also known to fix some of the run-time errors of ‘Gnome ALSA …’ as well.Well, that’s pretty much it. Now if everything goes according to plan you should hear your speakers screaming!. That’s it and good luck.Related Posts

An RHCE, ‘Linux’ user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.Thanks! Was pulling my hair over why my audio stopped working andsudo apt-get autoremove pulseaudio sudo apt-get install gnome-alsamixerenabled me to find setting in gnome-alsamixer that got me sound… Gayan, Thanks so much for the post. There is a saying “less is more” and you have proved it. My 12.04 system works great now after deleting Pulse and adding ALSA. Now I can input Amatuer Radio signals into my sound card and process them with no problem, and Audacity never worked better!Thanks again,John pulseaudio just screwed me out of 2 days in gentoo.

i didn’t know what it was until now.

kernel compiles recompiling for hours on end, and no sound. removing pulseaudio and compiling alsa without it fixed me right up. I cannot thank you enough.

I am a newcomer to Linux, since I have a old netbook and it came with Windows XP.

Once Microsoft discontinued XP support, I really didn’t want to use a vulnerable OS.

So I’ve been trying variants of Linux for the past few months, with mixed results.

I liked Lubuntu, but was having a big problem with the sound skipping.

So I switched to Linux Mint, and liked it a lot, but it had the same problem!I was searching through Google and various Linux forums for help, to no avail.

I was going to either buy a Chromebook, or just have to make do with no sound (on top of choppy video; I do want to use the netbook for productivity purposes, but want a little frills).

But I didn’t give up, found your page, and finally found a solution that actually worked.

I can’t thank you enough, this is awesome. Another thank you for this article.

Using Linux Mint LMDE2 I was frustrated with pulseaudio’s inability to save and restore my sound settings across a reboot, not to mention my inability to understand it.

I removed it and life is much better now. thank you! April 2016 and another satisfied customer.Kodi on xUbuntu connected to a Yamaha RX-773 receiver. This was a new build and for the life of me I couldn’t get DTS and DTS-HD to show up on my receiver.Worked flawlessly. Thanks again Thanks a ton Gayan. I was stuck with the issue for a couple of days trying multiple things, before I tried your solution. It works fine. Hi Gayan,I have been having a problem with the sound in many different flavors of Linux on my system. The issue is that the system plays audio from Youtube videos perfectly but when I play any video / audio on my system it sounds like my bass is broken. High beats and bass get so distorted its’ like I am listening from a blown out speaker. DO you have any idea how to rectify the problem.This will make working and be developing a hell lot easier too. 😀Thanks, Ishan Still relevant in 2017. I’ve had this issue for as long as I can remember, on many different versions of Ubuntu. Finally found this page and removed pulseaudio and use just also. This on Ubuntu 17.10(!) Not a single skip since the change. Gayan, I have some audio issues that are very mind-boggling. Here is what I am experiencing: I’m currently using Xubuntu 16.04 LTS on an old Lenovo IdeaCenter K410 tower. So far, it has worked flawlessly for the past 2 years (migrated from Win7). Recently, I wanted to use a USB audio interface (Behringer UMC22), but the audio part wouldn’t even detect it. So I tried uninstalling Pulseaudio & ALSA, and then re-installing both and now it won’t even detect my audio hardware. Here’s what I did up to this point:sudo apt-get remove alsa-base pulseaudio sudo apt-get purge alsa-base pulseaudio sudo apt-get install alsa-base pulseaudioUpon checking some things, here is what I am NOW finding: $ sudo aplay -l **** List of PLAYBACK Hardware Devices ****shows NO audio devices detected.Doing the following shows I have some missing things from a previous check: $ pactl list short sources 0



s16le 1ch 16000Hz




s16le 2ch 44100Hz

SUSPENDEDIt shows I’m missing the following: 1



s16le 2ch 44100Hz




s16le 2ch 44100Hz


alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor module-alsa-card.c

s16le 2ch 44100Hz




s16le 2ch 44100Hz

SUSPENDEDDoing this: $ lsusb shows the following is missing from a previous check: Bus 002 Device 006: ID 08bb:2902 Texas Instruments PCM2902 Audio CodecUpon doing the following, it also shows some missing things: $ cat /proc/asound/cards 1 [U0x46d0x9a4

]: USB-Audio – USB Device 0x46d:0x9a4 USB Device 0x46d:0x9a4 at usb-0000:00:1a.0-1.4, high speedWhat’s missing, compared to the previous state, is: 0 [PCH

]: HDA-Intel – HDA Intel PCH HDA Intel PCH at 0xf7d00000 irq 31 2 [CODEC

]: USB-Audio – USB Audio CODEC Burr-Brown from TI USB Audio CODEC at usb-0000:00:1d.0-1.3.2, full speedWhere did it all go? I’m still searching for a solution to having no audio. Where did I go wrong, how do I fix this, what’s my next step? (I’m seriously considering upgrading to 17.10.1, thinking that will correct all of this.)I also have cross-posted all my steps and developments to this issue on another website: Could you please help me find a solution to this problem? If it works, I’ll post it on that other website. Thanks. its 2019 and this still works. gg. Don’t do this in Linux Mint or your system will get hosed. Removing pulse in this way removes Cinnamon which is the Mint desktop! Thank you very much!

I got help from dynobot computer audio on installing mpd but the piano music with sonata client was distorted.

So annoying because I know what a piano is supposed to sound like.

Then I followed your instructions: and wow!

distortion gone and just beautiful music.

Thank you again. I so love linux. kenneth This site uses Akismet to reduce spam. .Recent Posts

ContactAbout HecticGeekWelcome to HecticGeek, it is an independent blog founded back in 2010. We cover in-depth Linux OS, product review with other all technology-related software and tools. Our mission is to provide valuable and trustful technology-related content to our users.

Leave a Reply

Your email address will not be published.