← Back to team overview

ubuntu-audio-dev team mailing list archive

Re: PulseAudio migration plan for Ubuntu 11.10

 

On 2011-08-03 17:41, David Henningsson wrote:

On 2011-08-02 22:23, David Henningsson wrote:
I've talked to a few people today, and nobody seems strongly opposed to
migrating PulseAudio ASAP [1], i e have a PulseAudio based on the
upcoming/planned 1.0 release of PulseAudio, rather than the existing
0.23 release.

In short, here's the plan:

1) Colin Guthrie has promised to release 0.99.1 of PulseAudio, a "beta
test" release before the end of Tuesday (today!).

2) Chris Van Hoof has promised to contribute some (delegated) resources
to help out with testing the new release during this week.

3) Assuming testing goes well, we'll do the actual migration in 11.10
early next week.

About the package:

My suggestion is that we base the package of the 0.99.1 release, at
least for the time being. We can then distro patch jack detection
features on top of that (and UCM?), and possibly other patches as well.
If/when later releases come out (e g 0.99.2 or 1.0) we can select
whether we want to rebase on top of that release, or just apply the
patches from git that differs. The 0.99.1 will be packaged in (yet
another!) separate PPA until the actual migration is done.

About the testing:

We have two options here - either use the above package, which is
probably better if it is ready, but if it is not, we can use the daily
builds for testing. (The differences are not going to big enough to
block start of testing.)
Colin has put some notes here: http://pulseaudio.org/wiki/Notes/0.99
To start with a current snapshot of 11.10 is recommended, but 11.04 can
be used if 11.10 is not working on the current machine, or other
troubles arise.
Please report testing results to me. I'll forward to interested people
(say "yes" now if you're interested!) If you find a bug that only
appears with the new version of PulseAudio, I don't mind being pinged on
IRC for some quick triaging, but email works fine as well.

As for what to test, apart from what's listed in the "Testing 1.0"
section in the 0.99 wiki notes, diversity and imagination in both
hardware and software is important. Try to stress test PA a little -
start several streams, try passthrough, move streams, record and play
back simultaneously (e g voip), record a monitoring source. For
hardware, try normal cards as well as USB, Bluetooth, JACK sinks,
network sources or whatever makes sense in your environment.

Does this make sense to everyone?


Update: Colin released 0.99.1 last night (thanks!) and I've spent most
of today packaging the new versions of Pulseaudio and pavucontrol. They
are currently building at
https://launchpad.net/~diwic/+archive/pulseaudio-testing (for 11.10).

This is the recommended repository for testing PulseAudio. Please go
ahead and start testing. You seem to require a full reboot after
installation of the new packages (not sure why). I've done some tests
myself today, and so far noticed the following:

Simpler test instructions were asked for. I'll make an attempt to simplify.

 * Precondition: An up-to-date Oneiric (Ubuntu 11.10) installation.
 * sudo apt-get install pavucontrol
* Test that your sound system works reasonably well and make some settings in gnome-volume-control and/or pavucontrol.
 * Back up your ~/.pulse folder.
 * sudo add-apt-repository ppa:diwic/pulseaudio-testing
 * sudo apt-get update && sudo apt-get dist-upgrade
* Reboot. After reboot, verify that you upgraded by running "pactl info", it should print:
    Library Protocol Version: 23
    Server Protocol Version: 23
* Ensure that the settings you did before the upgrade are still there - if not, send contents of ~/.pulse folder before and after for forensic analysis, to me or Colin Guthrie * From here, it's a little more of free testing. Test as much as you can, and look for bugs. Examples of things you could test are: - Both playback and recording, and if you have multiple soundcards, test them all
   - Test moving streams between sound cards
   - Test that the volume control correctly changes the volume of
the output and likewise for input (that input gain is correctly changed when the mic level is moved) - Test playing more than one stream at a time, if they play at different volumes (can be changed in pavucontrol or gnome-volume-control) that's good too - Whatever you usually use PulseAudio for. If that's network sinks, go ahead and set up one. Apple devices that used to work? Test them as well. You have a 5.1 surround output system? Test it. Your favourite application that records sound from PulseAudio? Try it.
 * After testing, send me the output of "grep pulseaudio /var/log/syslog".
 * If you encounter a bug contact me ASAP by email or IRC.

Thanks in advance for helping out!

--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic


Follow ups

References