You are not logged in.

#1 2010-12-03 23:00:27

mclabaut
Member
Registered: 2007-06-18
Posts: 41

Pulseaudio starts only from command line !

I've got a very strange problem....

First my setup : I use pulseaudio in system mode. I know it is not the recomended way but until I find a good way for having an mpd daemon playing music at boot and being controlled by any of the connected user while those being still able to play sounds, it looks the best solution to me (any other suggestion would be nonetheless appreciated)...

I also have 2 audio cards and a jack plugin (necessary for controlling midi device).

So everything works okay when as root I type in the command line :

  /etc/rc.d/pulseaudio start

i.e. : pulseaudio works like a charm.

I also have a "pulseaudio"  in my rc.conf DAEMON line.

But when booting  the pulseaudio dameon failed with the following log :

pulseaudio[6055]: main.c: Running in system mode, but --disallow-module-loading not set!
pulseaudio[6055]: main.c: Running in system mode, forcibly disabling SHM mode!
pulseaudio[6056]: core-util.c: Successfully gained nice level -11.
pulseaudio[6056]: main.c: Found user 'pulse' (UID 130) and group 'pulse' (GID 130).
pulseaudio[6056]: main.c: Successfully dropped root privileges.
pulseaudio[6056]: main.c: This is PulseAudio 0.9.22
pulseaudio[6056]: main.c: Page size is 4096 bytes
pulseaudio[6056]: main.c: Machine ID is 5c42ee32f1e6b834e3857b4448ffaa17.
pulseaudio[6056]: main.c: Using runtime directory /var/run/pulse.
pulseaudio[6056]: main.c: Using state directory /var/lib/pulse.
pulseaudio[6056]: main.c: Using modules directory /usr/lib/pulse-0.9.22/modules.
pulseaudio[6056]: main.c: Running in system mode: yes
pulseaudio[6056]: main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
pulseaudio[6056]: main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
pulseaudio[6056]: main.c: Please read [url]http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode[/url] for an explanation why system mode is usually a bad idea.
pulseaudio[6056]: main.c: Fresh high-resolution timers available! Bon appetit!
pulseaudio[6056]: cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 
pulseaudio[6056]: svolume_mmx.c: Initialising MMX optimized functions.
pulseaudio[6056]: remap_mmx.c: Initialising MMX optimized remappers.
pulseaudio[6056]: svolume_sse.c: Initialising SSE2 optimized functions.
pulseaudio[6056]: remap_sse.c: Initialising SSE2 optimized remappers.
pulseaudio[6056]: sconv_sse.c: Initialising SSE2 optimized conversions.

and 6 seconds later :

pulseaudio[6056]: main.c: Daemon terminated

I ever tried to launch pulseaudio in .etc.rc.local after a sleep of 50 seconds (in order to let the time for wicd to set up the network and so one) but nothing worked....


I'd be very glad if one of you perspicuous reader would be able to shed some light on this very strange problem...

Offline

Board footer

Powered by FluxBB