Page 1 of 3 123 LastLast
Results 1 to 10 of 212

Thread: Safely Remove Pulseaudio?

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Beans
    9

    Safely Remove Pulseaudio?

    Hi everyone,

    I recently upgraded to 9.10 (karmic) and instantly realized I no longer used alsa but instead pulse. This would normally be fine only my games (i.e. fallout 3 and empire total war) only run on alsa.

    I have tried removing pulseaudio but this causes problems for ubuntu sound and actually breaks it. I have also tried searching for a way to actually choose my sound system but it seems ubuntu itself only really support pulseaudio (no library chooser to switch to alsa, unless I'm looking in the wrong place).

    I can remove and replace pulseaudio with alsa but it destroys ubuntu's gui for sound (i.e. system->pref->sound breaks) and I have to change volume via terminal which is a pain especially in a game that won't alt-tab without crashing.

    I was wandering if there was either:

    a. A safe way to replace pulseaudio with alsa
    b. Or use terminal to switch off pulseaudio for a given amount of time so alsa can be run on my games.

    I did have a way to switch off pulseaudio but when ever I use the command now I just get:

    E: pid.c: Daemon already running.
    E: main.c: pa_pid_file_create() failed.

    Which is a pain again.

    Thanks.

  2. #2
    Join Date
    Sep 2007
    Location
    Norwich, UK
    Beans
    964

    Re: Safely Remove Pulseaudio?

    You can disable pulse using the instructions at this address:

    http://idyllictux.wordpress.com/2009/04/21/ubuntu-904-jaunty-keeping-the-beast-pulseaudio-at-bay/


    Note that asoundconf is no longer present in Karmic, but it can be installed from the Jaunty repositories - see comments from the last couple of days on the same page.

    Steve.

  3. #3
    Join Date
    Nov 2006
    Beans
    10
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Safely Remove Pulseaudio?

    Here is what I did to remove pulse audio in Karmic:

    sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio
    sudo apt-get autoremove

    sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss linux-sound-base alsamixergui

    sudo apt-get install esound esound-clients esound-common libesd-alsa0 gnome-alsamixer

    restart your computer!

    Notes:
    -run gstreamer-properties in terminal to set defaults to alsa (the old system/preferences/sound in jaunty)
    -remove gstreamer0.10-pulseaudio to get sound in totem
    -gnome-alsamixer is for changing the volume, not an applet but better that nothing

    Enjoy!

  4. #4
    Join Date
    Nov 2008
    Location
    Tijuana, BC
    Beans
    5
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Safely Remove Pulseaudio?

    The above procedure works. I'll just repeat it for extra points, marked up properly.

    Here is what I did to remove pulse audio in Karmic:

    Code:
    $ sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio
    Code:
    $ sudo apt-get autoremove
    Code:
    $ sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss linux-sound-base alsamixergui
    Code:
    $ sudo apt-get install esound esound-clients esound-common libesd-alsa0 gnome-alsamixer
    restart your computer!

    Notes:
    -run gstreamer-properties in terminal to set defaults to alsa (the old system/preferences/sound in jaunty)
    This means:
    Code:
    $ gstreamer-properties
    -remove gstreamer0.10-pulseaudio to get sound in totem.
    The above commands should have taken care of that, but it never hurts to be sure when talking about the hydra that is PulseAudio.
    -gnome-alsamixer is for changing the volume, not an applet but better that nothing
    This means you are left without a panel applet to control volume across the board, thanks to the thoughtful efforts of Canonical to shove PulseAudio down our throats. So you need to have something to control audio with:
    Code:
    $ sudo apt-get install gnome-alsamixer
    And something to keep gnome-alsamixer within easy reach, provided by AllTray:
    Code:
    $ sudo apt-get install alltray
    Now, one last word of advice. Usually the best solution is to use aptitude or synaptic to do these moves, but you'll run headfirst into their dependency resolution efforts, which command them to put PulseAudio back in your system when reinstalling gnome-alsamixer. So either you use apt-get or you reconfigure aptitude/synaptic dependency resolution to work the way you want.

  5. #5
    Join Date
    Dec 2008
    Location
    Stavanger, Norway
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    PulseAudio - what a stinker!

    Thanks Nullrend for your excellent stepwise guide to purging my laptop of PulseAudio.

    Since upgrading my ancient "web radio" laptop from 9.04 to 9.10 (and then doing a clean install just to make sure) I've had nothing but hassle with the sound system including choppy sound, sound being muted or set at minimum after startup, sound stopping/muting/setting to minimum while in use and awful hammering noises while adjusting the volume using the tray app. And this just using the BBC i-player; With Rhythm box it was even worse!

    How has something as bad as PulseAudio been allowed out for general use? I'll certainly think twice about upgrading automatically to Loony Leopard (or whatever daft name they're going to call it) without waiting a couple of months and checking the forums carefully.

  6. #6
    Join Date
    Jan 2008
    Location
    Kiwi in México
    Beans
    245
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Safely Remove Pulseaudio?

    Yeah, I totally agree - PulseAudio was never anything but a headache for me. It crackled and popped all the time. The first thing I did was replace it after any new installation.

    Imagine my delight to find Xubuntu 9.10 didn't have Pulse!!!!

  7. #7
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: PulseAudio - what a stinker!

    Quote Originally Posted by taffyviking View Post
    Thanks Nullrend for your excellent stepwise guide to purging my laptop of PulseAudio.

    Since upgrading my ancient "web radio" laptop from 9.04 to 9.10 (and then doing a clean install just to make sure) I've had nothing but hassle with the sound system including choppy sound, sound being muted or set at minimum after startup, sound stopping/muting/setting to minimum while in use and awful hammering noises while adjusting the volume using the tray app. And this just using the BBC i-player; With Rhythm box it was even worse!

    How has something as bad as PulseAudio been allowed out for general use? I'll certainly think twice about upgrading automatically to Loony Leopard (or whatever daft name they're going to call it) without waiting a couple of months and checking the forums carefully.
    its called Lucid Lynx and where did i find that?
    its right above this thread.
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  8. #8
    Join Date
    Aug 2005
    Location
    Philadelphia, PA, USA
    Beans
    2,774
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: Safely Remove Pulseaudio?

    Quote Originally Posted by nullrend View Post
    The above procedure works. I'll just repeat it for extra points, marked up properly.
    Here is what I did to remove pulse audio in Karmic: .... (post #4 in this thread)
    Very good tutorial, it worked for me!
    The problem I have with pulse audio is that it is a huge resource hog. On my socket 939 AMD Athlon64 3200+ CPU pulse was using 10-20+ % of my CPU. Alsa uses minimal CPU by comparison.
    I am guessing that pulse will replace alsa at some point in the future, just as alsa has replaced oss. At present, pulse just uses more system resources without adding any advantages over alsa that I can see or hear. I will stick with alsa until I can demonstrate a clear advantage for using pulse.
    Last edited by tommcd; November 22nd, 2009 at 05:00 PM.
    Registered Linux User #422464 http://linuxcounter.net/
    Use the search engine that respects your privacy rights: https://startpage.com/

  9. #9
    Join Date
    Sep 2007
    Location
    TX, USA
    Beans
    385
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Safely Remove Pulseaudio?

    Quote Originally Posted by nullrend View Post
    The above procedure works. I'll just repeat it for extra points, marked up properly.

    Here is what I did to remove pulse audio in Karmic:

    Code:
    $ sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio
    Code:
    $ sudo apt-get autoremove
    Code:
    $ sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss linux-sound-base alsamixergui
    Code:
    $ sudo apt-get install esound esound-clients esound-common libesd-alsa0 gnome-alsamixer
    restart your computer!
    I just installed Karmic 64bit on my desktop with M-Audio 2496 sound card and guess what? No sound at all!
    I followed the the steps in the quote above and restarted, and was greeted by Ubuntu's login sound=D>=D>=D>.

    Regarding the volume control, which disappeared from the panel, I replaced it with envy24 control applet which is part of the alsa-utils package that I installed from the repos.

    Many many thanks to all you guys.

    Best.

  10. #10
    Join Date
    Jul 2007
    Location
    Barcelona
    Beans
    194

    Post Re: Safely Remove Pulseaudio?

    COOL!!!

    Useful post

    After remove pulseaudio I can hear music again! With pulse rhytmbox stopped, spotify crashed and freezed... even MOCP blocked!!!

    Unfortunately the volume icon is not the same, Is there any applet that allow mouse wheel to change headphones level in alsa?

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •