Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233789 - media-sound/pulseaudio-0.9.11-r1: systemwide probably won't work
Summary: media-sound/pulseaudio-0.9.11-r1: systemwide probably won't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-03 11:37 UTC by Rafał Mużyło
Modified: 2008-08-09 22:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2008-08-03 11:37:22 UTC
Disclaimer: This report may be considered a bit offensive.

I haven't tested this ebuild yet, but AFAICT it is broken.
I've been trying to get pulseaudio 0.9.11 running for the last few days,
learning differences between 0.9.10 and 0.9.11 and finally yesterday
I managed to get it to work (more or less).
First of all, system-wide won't work now, cause now it reads /etc/pulse/system.pa.
This file was missing in the initial 0.9.11 release. When it's missing,
daemon will simply quit, as it won't know which modules should be loaded.
Next problem is that (manpage is incorrect on that, author failed to update it)
now daemon now has exit-idle-time = 20 by default and system-wide obviously
needs -1.

There's also the fact, that while alsa-lib 1.0.17 is in the tree,
pulseaudio author advices to use it with his three patches, that got into
alsa-lib git.
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2008-08-03 11:52:22 UTC
It doesn't work indeed.

pulseaudio[12730]: main.c: Daemon startup without any loaded modules, refusing to work.
main.c: Daemon startup failed.

Copying /etc/pulse/default.pa to /etc/pulse/system.pa solves the problem.
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2008-08-03 12:45:56 UTC
Also please note the following:

1) Non-fatal error at startup (using libtool-2.2.4):
ltdl-bind-now.c: Failed to find original dlopen loader.

2) Pulseaudio aborts on stop. It happened with 0.5.10 too.
core.c: Assertion 'pa_idxset_isempty(c->sinks)' failed at pulsecore/core.c:166, function core_free(). Aborting.

3) The init script should be changed to parse /etc/pulse/system.pa instead of default.pa

4) If module-console-kit is requested to be loaded in system.pa, pulseaudio's init script should depend on consolekit, otherwise pulseaudio won't start.
Comment 3 Rafał Mużyło 2008-08-03 12:47:09 UTC
The idle time is important too.
Unless you run something that make use of the sound card,
daemon will quit in 20s after it's run.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2008-08-03 14:21:55 UTC
(In reply to comment #3)
> The idle time is important too.
> Unless you run something that make use of the sound card,
> daemon will quit in 20s after it's run.
> 

Nope, on my machine pulseaudio doesn't quit even after long periods of inactivity (with no clients connected).
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2008-08-03 14:38:57 UTC
Ignore my previous comment please. The 20-secs timer starts when the last client disconnects, so if you just start pulseaudio but don't use it, it'll stay running because the timer is never triggered.
Comment 6 Patrick McLean gentoo-dev 2008-08-03 18:06:55 UTC
Ok, media-sound/pulseaudio-0.9.11-r2 is now in portage as well as media-libs/alsa-lib-1.0.17-r1 which should fix everything here except for the aborting on stop in comment #2, which I can't replicate. It would probably be a good idea to report that one upstream.

As to the non-fatal error, it appears to be a harmless warning.