Tue, 02 Dec 2008

Ubuntu and Pulseaudio


Keywords: linux ubuntu 8.10 intrepid ibex pulseaudio problems solution success multimedia keys volume

I recently upgraded my desktop box from Ubuntu 8.04 (Hardy Heron) to 8.10 (Intrepid Ibex). (I've written down the names so I can look them up when I need to. At least they seem to have settled on some sort of alphabetical system nowadays.)

Anyway, one of the things that broke during the process was sound. And for me it didn't just work, which is bad and wrong. So I searched the web and discovered that 8.10 is now using pulseaudio by default and that I wasn't alone with my sound problem, with many people claiming that pulseaudio just wasn't yet ready for primetime.

So I read up a little on pulseaudio, found out lots of things I didn't really want to know, tweaked all sorts of stuff and eventually got sound out of amarok, but not flash or any of the video players. And not after I had rebooted until I messed with things again. The "solution" involved killing pulseaudio and forcing things to use alsa or oss or something, and it also broke the remaining working multimedia buttons including the volume control, the rest already having been seen off by the upgrade.

Eventually, I really needed to hear something that was on flash, so I searched the web again, and came across a page on the ubuntu forum. I followed it, I set the resample-method to the highest quality, and everything just worked again.

Well, mostly.

Some of the tracks I played caused pulseaudio to crash. So I reduced the resample-method by one notch and things seem OK there so far. I got the volume and mute multimedia keys on my keyboard to work by setting the Default Mixer Track in System/Preferences/Sound to the appropriate "Playback: ALSA" device. I got the rest to work by running the Gnome Multimedia Key's script in the amarok script manager (the author must have been a greengrocer in a previous life).

Of course, the display, the scanner and other stuff were all just as broken as before. But that's another story.

(I'm not sure whether adding the new repositories is strictly necessary - no packages were installed from them - but I can't be bothered to mess with it any more.)

[/unix] permanent link




October 2020
Sun Mon Tue Wed Thu Fri Sat