How to disable Pulse Audio/Correct your sound problems

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators


  • For some reason Ubuntu 8.04 and later come with this Pulse Audio pain in the ass. I'm not going to sit here and rip on it because it's not a bad little sound device, it's just improperly used. Anyway I was googling around the internet and found a website (see below) that tells you the command needed to disable it. Any time you want pulse audio disabled just enter "killall -9 pulseaudio" and that should correct everything. If you find having Pulse Audio disabled fixes your problems then I would suggest having that command execute at start up by opening your preferences, clicking "Start Up Applications" and adding the command in there.

    Here's the site I got this off of:

    http://tycheent.wordpress.com/2009/03/3 ... ulseaudio/
    User avatar
    Lee_Stricklin
    Alien trapper
     
    Posts: 404
    Joined: Sat Jun 21, 2008 8:42 pm
    Location: Midwest

Mon Jun 15, 2009 8:24 am

  • Well, imho, the ubuntu jaunty release is way much better than intrepid, overall and especially the pulseaudio implementation bit. try it! :D
    [Want to develop? Look HERE]. Image Image Gif sauce.
    paperclips
    Alien trapper
     
    Posts: 346
    Joined: Mon Jan 12, 2009 10:27 am
    Location: internets

Mon Jun 15, 2009 8:55 am

  • Yeah, 9.04 worked better in the beginning. But now my audio stops after a while :(
    So I need to kill pulseaudio anyway... how the f can I remove this piece of shit? I have not seen any easy guide for it yet.
    User avatar
    morfar
    Site Admin
     
    Posts: 938
    Joined: Tue Feb 28, 2006 6:08 pm
    Location: The Island

Mon Jun 15, 2009 9:34 am

  • morfar wrote:Yeah, 9.04 worked better in the beginning. But now my audio stops after a while :(
    So I need to kill pulseaudio anyway... how the f can I remove this piece of shit? I have not seen any easy guide for it yet.
    Try this one.
    [Want to develop? Look HERE]. Image Image Gif sauce.
    paperclips
    Alien trapper
     
    Posts: 346
    Joined: Mon Jan 12, 2009 10:27 am
    Location: internets

Mon Jun 15, 2009 11:36 am

  • paperclips wrote:
    morfar wrote:Yeah, 9.04 worked better in the beginning. But now my audio stops after a while :(
    So I need to kill pulseaudio anyway... how the f can I remove this piece of shit? I have not seen any easy guide for it yet.
    Try this one.

    Why must it be so damn complicated and hacky? :P Is there any good distribution that don't come with pulseaudio?
    User avatar
    morfar
    Site Admin
     
    Posts: 938
    Joined: Tue Feb 28, 2006 6:08 pm
    Location: The Island

Mon Jun 15, 2009 1:25 pm

  • morfar wrote:
    paperclips wrote:
    morfar wrote:Yeah, 9.04 worked better in the beginning. But now my audio stops after a while :(
    So I need to kill pulseaudio anyway... how the f can I remove this piece of shit? I have not seen any easy guide for it yet.
    Try this one.

    Why must it be so damn complicated and hacky? :P Is there any good distribution that don't come with pulseaudio?
    gentoo
    quit for good
    alpha
    Alien trapper
     
    Posts: 492
    Joined: Tue Jun 17, 2008 7:18 pm

Mon Jun 15, 2009 3:37 pm

  • thats not hacky, thats look 'n paste.

    You can however do it the dirty quick way.

    Code: Select all
    sudo mv /etc/X11/Xsession.d/70pulseaudio ~/
    killall pulseaudio
    sudo apt-get remove pulseaudio
    sudo apt-get install esound
    Satisfaction not guaranteed.

    alpha wrote:gentoo
    fattiestrolling.
    [Want to develop? Look HERE]. Image Image Gif sauce.
    paperclips
    Alien trapper
     
    Posts: 346
    Joined: Mon Jan 12, 2009 10:27 am
    Location: internets

Mon Jun 15, 2009 5:09 pm

  • morfar wrote:
    paperclips wrote:
    morfar wrote:Yeah, 9.04 worked better in the beginning. But now my audio stops after a while :(
    So I need to kill pulseaudio anyway... how the f can I remove this piece of shit? I have not seen any easy guide for it yet.
    Try this one.

    Why must it be so damn complicated and hacky? :P Is there any good distribution that don't come with pulseaudio?

    Slackware of course. Just KISS.
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Fri Aug 28, 2009 11:49 am

  • I got pulseaudio to cooperate (sort of) on fresh install of Ubuntu. What I did was kill it, then set my game's sound preferences (I got mine set to 7.1 and 48KHz) and then re-enabled it and all my sound worked correctly after that.
    I have left this website with the rest of the GPL Nexuiz community. You can find us at Xonotic.org
    User avatar
    Lee_Stricklin
    Alien trapper
     
    Posts: 404
    Joined: Sat Jun 21, 2008 8:42 pm
    Location: Midwest

Fri Aug 28, 2009 4:45 pm

  • Was nexuiz running when you re-enabled it? :p


    Alien> arch is KISS too :p
    Meh.
    User avatar
    Mr. Bougo
    Keyboard killer
     
    Posts: 760
    Joined: Mon Sep 10, 2007 3:29 pm

Sat Sep 05, 2009 7:19 am

  • Instead of killing it you might wanna consider removing pulseaudio from the startup scripts or even completely deinstalling it.

    The best soundsystem currently out there is OSS (no, alsa sucks).
    But ubuntu doesn't provide packages for it... so well, you'll have to install it manually :P

    And btw. yes, ArchLinux is awesome :P
    and there are oss pkgs in the AUR :)
    User avatar
    Blµb
    Alien trapper
     
    Posts: 277
    Joined: Thu Mar 29, 2007 1:49 pm

Sun Nov 08, 2009 4:21 pm

  • Ive got pulseaudio and ubuntu karmic amd_x64.

    Ive also ave problem when sound suddenly stop in the game. But
    after changing vid_fullscreen 0 / vid_fullscreen 1 (with vid_reload)
    sound comes back again.

    There is some alsa_plugin_x64-86 that is responsible for sound output.

    after this lines in console sound comes back. But i dont know the reason why it stops.

    S_Startup: initializing sound output format: 44100Hz, 16 bit, 2 channels...
    SndSys_Init: using the ALSA module
    SndSys_Init: PCM device is "default"
    Sound format: 44100Hz, 2 channels, 16 bits per sample
    S_Startup: extra sound time = 3550050
    mealstrom
    Newbie
     
    Posts: 6
    Joined: Tue Sep 22, 2009 3:36 pm

Sat Nov 14, 2009 11:22 pm

  • About 4 years ago
    I used to be a ubuntu fan.
    My sound was working out of the box after every install.
    than they started adding features to ubuntu.
    than some bugs appeared. (not easily fixable for me)
    they added more features
    i have more bugs
    At a certain point they added pulseaudio.
    my audio broke.
    i figured how to get my sound back.
    than in new ubuntu they changed something again and my sound break again.
    i figure how to get my sound back again, but its more dificult and it takes me longer to fix.
    than new ubuntu change something about sound again. and it breaks again and its even longer to fix.(two previous fixes dont work)
    and there is even more new features
    Than i get pissed and i say FUC* YOU ubuntu.
    than i install ArchLinux
    sounds works out of the box perfectly
    there is no feature out of the box
    there is also no bug that get in my way out of the box
    my computer magically is two time faster than it has ever been
    ^ for real

    sorry if there are people who are very liking ubuntu and my post makes them sad...
    but i spent my life in front of a computer and yeah i compare the feeling i got from switching from ubuntu to Arch to the feeling i got when switching from dos to windows 3.1(feels like i can do more stuff :D)
    User avatar
    liolak
    Alien
     
    Posts: 114
    Joined: Fri Jan 25, 2008 12:16 am
    Location: Montréal, Canada

Sun Nov 15, 2009 12:00 am

  • liolak wrote:About 4 years ago
    -
    At a certain point they added pulseaudio.
    --
    magically is two time faster than it has ever been
    ^ for real
    Well.. four years.. that's a aeon in open source and that development speed is going to accelerate alot in the next five to ten years (hello india and so on.) and whoopy doo in fifteen twenty years.. hello china.

    yes they added pulseaudio, but is it really pulseaudios fault?
    I submit to you that it is not.

    As Ive stated in another thread, Pulseaudio is not to blame for being badly implemented in certain distros, because its needed, also in the context for awesome stuff to work. Not to mention sound over TCP. :3

    Magic, for real? In other words, I hope you be trolling here, in either case, cool story bro and try to get up-to-date with where open source is today.
    [Want to develop? Look HERE]. Image Image Gif sauce.
    paperclips
    Alien trapper
     
    Posts: 346
    Joined: Mon Jan 12, 2009 10:27 am
    Location: internets

Sun Nov 15, 2009 2:14 am

  • yeah i was probably semi-trolling, what i wanted to point out is the awesomeness of archlinux that comes from its simplicity.
    i have nothing against pulseaudio (or pulse audio implementation in ubuntu) and i dont know why it does not work in my particular use case. im saying its not something that is trivial to fix (maybe it is but than its not easy to find the instructions). sadly it was imposed to me by ubuntu deciders to use it if i wanted to keep that distribution. That, I dont like.

    as for the 4 years thing with india and china, i dont understand what you mean.
    I dont want to start anything here, all i want to do is to let nexuiz users know that all the problems i had in ubuntu where adressed and solved by switching to archlinux.
    User avatar
    liolak
    Alien
     
    Posts: 114
    Joined: Fri Jan 25, 2008 12:16 am
    Location: Montréal, Canada

Sun Nov 15, 2009 2:52 am

  • apt-get remove pulseaudio pulseaudio-tools

    or something like that ;)
    He can talk the talk, but can he caulk the caulk?
    User avatar
    lda17h
    Alien
     
    Posts: 221
    Joined: Tue Jun 16, 2009 1:04 pm
    Location: Germany

Sun Nov 15, 2009 3:29 am

  • tried that but it than ask to remove ubuntu-desktop :/
    User avatar
    liolak
    Alien
     
    Posts: 114
    Joined: Fri Jan 25, 2008 12:16 am
    Location: Montréal, Canada

Sun Nov 15, 2009 1:41 pm

  • liolak wrote:tried that but it than ask to remove ubuntu-desktop :/


    ubuntu-desktop is just a meta-package. no harm in removing it.

    EDIT: Al least in karmic. No guarantees. apt-get should tell you what other packages it might remove and ask whether it should proceed. If it takes down the whole gnome, etc., better not do it ;)
    He can talk the talk, but can he caulk the caulk?
    User avatar
    lda17h
    Alien
     
    Posts: 221
    Joined: Tue Jun 16, 2009 1:04 pm
    Location: Germany

Sat Nov 28, 2009 7:19 pm

  • liolak wrote:nexuiz users know that all the problems i had in ubuntu where adressed and solved by switching to archlinux.
    Well.. you have to make it to not autospawn as well. So IMHO its a bit easier to:
      - Create/edit the file: "~/.pulse/client.conf" and write "autospawn = no"
      - Kill PulseAudio with "killall pulseaudio" in the terminal.
      - Play Nexuiz or whatever you fancy at the time being.
      - Type "pulseaudio -D" in the terminal if you want PulseAudio back.
    Bit simpler than wiping your current os then installing a new distro. But OSS is all about freedom, so if it floats your boat, by all means have at it.
    I actually had this problem not other day, rather the other week with an old libopenal thingy and strangely enough recompiling openal and so forth did not solve the problem, hence I had to resort to, to quote a former president, "nucular weapons" to get rid off the mosquito.
    [Want to develop? Look HERE]. Image Image Gif sauce.
    paperclips
    Alien trapper
     
    Posts: 346
    Joined: Mon Jan 12, 2009 10:27 am
    Location: internets

Sat Nov 28, 2009 7:27 pm

  • Now that 9.10 is out, of course all my fears are true. No sound what so ever.
    But thanks to Kyre I found a solution that works for me, 2 computers tested. Start nexuiz with -sndpcm 'hw:0,0'
    User avatar
    morfar
    Site Admin
     
    Posts: 938
    Joined: Tue Feb 28, 2006 6:08 pm
    Location: The Island


  • I have Karmic 9.10 installed. I have usb sound 2 ch 44.1kz. I used to lose sound until on these forums, I was told to kill pulseaudio. Wahla! I don't lose sound. Another problem here. My sound is delayed somehow. I have turned off music and just have sounds on. I think this is some kind of lag. But not sure. Is there a way to change some settings?

    Thnx
    Couch_Potato
    Couch_Potato
    Newbie
     
    Posts: 3
    Joined: Wed Dec 23, 2009 12:23 am
    Location: Pennsylvania, U.S.A.



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest