Thursday, December 25, 2008

Pulse-audio rant


I have always found that audio works better if I disable sound servers. So in KDE I have always disabled artsd. In F10 everything seems to be compiled to first use pulse-audio-server (se amazing architecture diagram on the right), a gnome desktop sound server, and then, perhaps, the ALSA device driver. After my upgrade to F10 it was first only half installed and impossible to get working. After intensive use of strace and google I figured out that installing pulse-audio-utils and rebooting to reset whatever erronous state the machine was in fixed that.

Now that I got Amarok working too I finaly found that everything but the flash plugin in Firefox supports pulse-audio. Wouldn't play Money For Nothing off YouTube. Somehow flash and pulse-audio/amarok excludes each other. Quitting Amarok (small click in the speakers as it shuts down - I've not heard that in ages...) and restarting Firefox took care of that, but what a bother.

Out goes pulse-audio:

# rpm -qa | grep pulse

Find list of offending packages. Then:

# yum remove pulseaudio-libs-glib2 pulseaudio-core-libs pulseaudio

And yet again Alsamixer will show a sane selection of mixer levers. I'm probably some kind of dinosaur but why are the young 'uns keeping up this crap? ALSA is all we (I) need! Go away! In the future George Bush will be dead (he said so himself) and the rest of us will use laptops. We don't need no steenking network sound daemons.

2 comments:

ingvar said...

Why the rant? Why not just install Fedora's native interface package for Adobe Flash, that is, libflashsupport (fedora 9), or make alsa work correctly with pulseaudio, alsa-plugins-pulseaudio (fedora 10)

Ingvar

Nicolai said...

That does not help. When flash is started after amarok starts the flash'es are silent. I do get amarok and mpg321 and vlc to play at once though.

# rpm -qa | grep pulseaudio
pulseaudio-module-x11-0.9.13-6.fc10.i386
pulseaudio-0.9.13-6.fc10.i386
pulseaudio-libs-0.9.13-6.fc10.i386
xine-lib-pulseaudio-1.1.15-3.fc10.i386
pulseaudio-utils-0.9.13-6.fc10.i386
pulseaudio-libs-glib2-0.9.13-6.fc10.i386
pulseaudio-core-libs-0.9.13-6.fc10.i386
kde-settings-pulseaudio-4.1-4.20081031svn.fc10.noarch
alsa-plugins-pulseaudio-1.0.18-2.fc10.i386