View previous topic :: View next topic |
Author |
Message |
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Sun Jan 27, 2008 10:37 am Post subject: pulseaudio failed to launch [Solved] |
|
|
Hi!
I'm trying to make pulseaudio work on my gentoo but no way.
I don't understand, i use a SBLive with ALSA.
I emerged "media-sound/pulseaudio-0.9.8-r6" with use flags "X alsa avahi dbus hal jack oss tcpd".[/list]
I built alsa driver as module, and /etc/init.d/alsasound runs fine.
I put nothing in ~/.asoundrc
Here is backtraces:
$pulseaudio -vv
I: core-util.c: Successfully gained nice level -11.
W: pid.c: Stale PID file, overwriting.
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules//module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_13f6_111_alsa_playback_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_13f6_111_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_13f6_111_alsa_playback_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_13f6_111_alsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_13f6_111_alsa_playback_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_13f6_111_alsa_playback_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 4 fragments of size 4408 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_13f6_111_alsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_13f6_111_alsa_capture_0'
pulseaudio: pulsecore/fdsem.c:272: pa_fdsem_after_poll: Assertion `pa_atomic_dec(&f->waiting) >= 1' failed.
Abandon
Does anyone could help me?
Thanks
Last edited by yank74 on Sat Feb 02, 2008 2:55 pm; edited 1 time in total |
|
Back to top |
|
|
automatthias n00b
Joined: 19 Feb 2007 Posts: 20 Location: Dublin
|
Posted: Sun Jan 27, 2008 8:46 pm Post subject: |
|
|
I have no immediate solution, but some ideas on how to investigate. Try starting pulseaudio like this:
It will start up with no configuration, it will not read /etc/pulse/default.pa.
Then try loading modules, look up module names on pulseaudio wiki. Maybe you can try setting alsa sink to another device: try default, try hw:0,0, or something else that you got there. |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Mon Jan 28, 2008 1:57 pm Post subject: |
|
|
$pulseaudio -vv -nC
I: core-util.c: Successfully gained nice level -11.
W: main.c: This program is not intended to be run as root (unless --system is specified).
W: pid.c: Stale PID file, overwriting.
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: client.c: Created 0 "STDIN/STDOUT client"
I: module.c: Loaded "module-cli" (index: #0; argument: "exit_on_eof=1").
I: main.c: Daemon startup complete.
Welcome to PulseAudio! Use "help" for usage information.
>>> load-module module-alsa-source device=hw:0
I: module-alsa-source.c: Successfully opened device hw:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Capture".
I: alsa-util.c: Using mixer control "Mic".
I: source.c: Created source 0 "alsa_input.hw_0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 4 fragments of size 4408 bytes.
I: alsa-util.c: ALSA device lacks separate volumes control for channel 'front-right', falling back to software volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device=hw:0").
>>> pulseaudio: pulsecore/fdsem.c:272: pa_fdsem_after_poll: Assertion `pa_atomic_dec(&f->waiting) >= 1' failed.
Abandon
hum what the hell with pulseaudio? Maybe it comes from the libatomic_ops because of "pa_atomic_dec"? What can i do? |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Mon Jan 28, 2008 4:02 pm Post subject: |
|
|
I tried to downgrade and it works only with the 0.9.5 pulseaudio released. It's fine but this released is no more in the portage |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Tue Jan 29, 2008 9:38 am Post subject: |
|
|
Am i the only one with this problem? |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Tue Jan 29, 2008 10:19 am Post subject: |
|
|
I am using media-sound/pulseaudio-0.9.9-r1 and it works great.
It is in ~ arch. Give it a try and lets see what happens. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Tue Jan 29, 2008 1:49 pm Post subject: |
|
|
Unfortunately i tried and it didn't work too. I will see in posting on the pulseaudio bug tracker.
Thanks all! |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Tue Jan 29, 2008 1:55 pm Post subject: |
|
|
Maybe my problem comes from the fact that i use gcc3. Let's go to rebuild everything with gcc4 |
|
Back to top |
|
|
yank74 n00b
Joined: 08 Nov 2005 Posts: 22
|
Posted: Sat Feb 02, 2008 2:56 pm Post subject: |
|
|
I rebuilt everything with gcc4 and now it's fine |
|
Back to top |
|
|
benklopfen n00b
Joined: 02 Aug 2006 Posts: 3 Location: Colorado, USA
|
Posted: Wed Feb 27, 2008 9:42 pm Post subject: |
|
|
thanks! this is literally the only place i could find this problem online. i hadn't thought about switching to gcc4. |
|
Back to top |
|
|
benklopfen n00b
Joined: 02 Aug 2006 Posts: 3 Location: Colorado, USA
|
Posted: Wed Feb 27, 2008 9:53 pm Post subject: |
|
|
i had the exact same error as you, but I didn't solve it by recompiling pulseaudio with gcc4. was there another component that you needed to recompile as well? |
|
Back to top |
|
|
gcth n00b
Joined: 08 Mar 2008 Posts: 1
|
Posted: Sat Mar 08, 2008 4:26 pm Post subject: |
|
|
I have exacly the same problem, pulseaudio -vvvv gives:
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "sink_name=output").
I: main.c: Daemon startup complete.
pulseaudio: pulsecore/fdsem.c:272: pa_fdsem_after_poll: Assertion `pa_atomic_dec(&f->waiting) >= 1' failed.
or sometimes hangs. It used to work with 0.9.5. I'm unfortunately (to this situation) using hardened gentoo (on server, not laptop) and recompiling with gcc4 is not an option. It happens only when loading alsa modules, and oss. Everything else works (but I'v not checked every possible combination). No change when changing use flags.
The sound is working well on this machine, i've not seen any errors in dmesg. |
|
Back to top |
|
|
|