PDA

View Full Version : Trying to remove pulse audio?



Phuein
12th August 2008, 05:33 PM
I've been suffering from pulseaudio ever since Fedora 8. I want it removed and to live peacefully with working sound. My specs:

Fedora 9, latest, kde4.1
onboard intel soundcard (nothing special)

I want to remove Pulse Audio completely and use only Alsa. When I go ahead to remove it with YUM (anything that has "pulse" in it), mplayer & smplayer - which are very important to me, insist to have it (pulse lib) as a dependency :S Also, it wants to remove tons of other packages at the same time >|

How can I rid my computer of Pulse Audio, have Alsa working, and not lose functionality here? losing mplayer is ridiculous.

P.S. I have searched everywhere and underwhere for help with this, and just allowed myself to suffer from Pulse for many many months now on and off. Please bare with me.

Edit: Right now it seems I have Xine being able to play music, but Firefox3 not having sound in flash (i have flashlibsupport installed). Also in games, like Nexuiz, I dont have sound either - sound device not detected.

marcelkraan
12th August 2008, 11:06 PM
in FC9 you have a nice setup priority tool and then you can move it downwards to not use it!

Hlingler
12th August 2008, 11:43 PM
Hi Phuein:

I wanted the same, and the same thing happened to me when I un-installed *pulse*: mplayer went "bye-bye" with it.

But I have mplayer now - I got it back immediately after purging PulseAudio:
~]$ rpm -qa|grep -i mplayer|sort
kmplayer-0.10.0c-2.fc8.i386
mplayer-1.0-0.91.20080531svn.lvn8.i386
mplayer-docs-1.0-0.42.rc2.fc8.i386
mplayer-gui-1.0-0.91.20080531svn.lvn8.i386
~]$ rpm -qa|grep -i pulse
pulseaudio-libs-0.9.8-5.fc8.i386
~]$So try:
yum remove *pulse* --exclude=pulseaudio-libs

V

P.S. Same packages on my F9 box.... Sound/Audio working fine on both.

brebs
12th August 2008, 11:52 PM
I want to remove Pulse Audio completely and use only Alsa.
So recompile, as I did.

rpm -qa | grep -i pulse
<nowt>

See mplayer rpms on my FTP site (ftp://brebs.me.uk/fedora/9/).

For nexuiz, use nexuiz-sdl (http://ubuntuforums.org/showthread.php?t=886145) - yes that's the SDL version, rather than the OpenGL version. You might also need:

export SDL_AUDIODRIVER=alsa
From SDL environment vars (http://www.libsdl.org/cgi/docwiki.cgi/SDL_envvars).

M4rc0
18th August 2008, 04:46 PM
May i ask a question that's been buggin me for some time?

If anybody that is in a good mood could answer the following :p

What is pulseaudio for? I always read people having problem with it.

And why did Fedora adopted this on it's instalation?

Why having pulseaudio, alsa, oss, aren't all the same? Can't i have just one?

Hlingler
18th August 2008, 06:24 PM
May i ask a question that's been buggin me for some time?

If anybody that is in a good mood could answer the following :p

What is pulseaudio for? I always read people having problem with it.

And why did Fedora adopted this on it's instalation?See: https://fedoraproject.org/wiki/Releases/FeaturePulseaudio
Why having pulseaudio, alsa, oss, aren't all the same? Can't i have just one?I don't really know all the details, but I do know that the many various programs use different audio interfaces. So, some may need SDL_mixer, some require OSS support, others require ALSA, etc. I do not know how all of the various audio systems interface/interact with each other.

V

M4rc0
18th August 2008, 09:39 PM
So they work together?

The reason i'm posting this, it's because very often on terminal i keep getting this:


*** PULSEAUDIO: Unable to connect: Connection refused
*** Is your sound server running?
*** See: http://www.pulseaudio.org/wiki/Troubleshooting


So how come i have sound at all then? I can listen to music, browse, etc.
The problematic thing is when i have a site with flash opened, then i open amarok and it will complain saying device is "busy", so i close firefox, play the music and open firefox again (and the flash video will be blank).

So if i choose either one or another and i'm fine. Wich is totally the opposite of the link you gave me:


Usage cases/rationale

1. Karl logs into his system. He has desktop sound effects turned on, so it clicks and plings as he presses buttons and does other things. When he listens to music in rhythmbox, the clicks and plings do still happen over the background music.

2. Karl wants to quickly check out another song that he knows how to find in xmms, so he turns down the volume in rhythmbox and starts xmms. He hears the music from both players at the same time.

So either i try to fix this or i wipe pulseaudio out like you suggested.

brebs
19th August 2008, 12:52 AM
So how come i have sound at all then?
If sound is working, then there's obviously a "path" to your soundcard. Probably the app is falling back to using ALSA or OSS.

Ideally, all apps would use ALSA, and ALSA (and its dmix) would work properly. Then 98% of people wouldn't be interested in pulseaudio.

My solution to the current, horrible state of sound in Linux (http://insanecoding.blogspot.com/2007/05/sorry-state-of-sound-in-linux.html) is to use a hardware-mixing soundcard (http://forums.gentoo.org/viewtopic-p-4192284.html#4192284).