[pulseaudio-discuss] No or only random connections to PulseAudio server after `pulseaudio -k`.

Paul Menzel paulepanter at users.sourceforge.net
Sat Jan 30 06:59:53 PST 2010


Dear PulseAudio folks,


I want to debug PulseAudio problems as described in [1].

Therefore I added `autospawn = no` to `~/.pulse/client.conf` and issued
`pulseaudio -k` and `pulseaudio -vvvvv`.

But after doing so all my programs are not able to connect to the
PulseAudio server(?) anymore.

Putting `autospawn = yes` to `~/.pulse/client.conf` produces the same
behavior besides with MPlayer, where it is sometimes able to connect to
the server but fails in over 90 % of the attempts doing so.

1. For example running `gstreamer-properties` which has PulseAudio
selected as output device gives an error message.

        $ LANG=C gstreamer-properties
        gstreamer-properties-Message: Error running pipeline 'PulseAudio Sound Server': Failed to connect: Connection refused [pulsesink.c(442): gst_pulseringbuffer_open_device (): /GstPipeline:pipeline0/GstPulseSink:pulsesink3]

2. Also MPlayer does not work anymore with PulseAudio as output.

        AO: [pulse] Init failed: Connection refused
        Failed to initialize audio driver 'pulse'
        Could not open/initialize audio device -> no sound.
        Audio: no sound

Killing PulseAudio with `autospawn = yes` and feeding for example 12
audio files into MPlayer, then maybe half of the time running `mplayer
-ao pulse *` is able to play a song at the end of the list (e. g. 9th
song) and fails for the following songs again.

Here is a excerpt from the debug messages. The whole can be found as an
attachment for the ticket I filed [2] because of the size restrictions
for attachments for this list.

        $ LANG=C pulseaudio -vvvvv 2> 20100130--pa-vvvvv.log
        […]
        D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: alsa-sink.c: Wakeup from ALSA!
        I: module-suspend-on-idle.c: Source alsa_input.pci-0000_20_01.0.analog-stereo idle for too long, suspending ...
        D: source.c: Suspend cause of source alsa_input.pci-0000_20_01.0.analog-stereo is 0x0004, suspending
        I: alsa-source.c: Device suspended...
        I: module-suspend-on-idle.c: Sink alsa_output.pci-0000_20_01.0.analog-stereo idle for too long, suspending ...
        D: sink.c: Suspend cause of sink alsa_output.pci-0000_20_01.0.analog-stereo is 0x0004, suspending
        I: alsa-sink.c: Device suspended...
        D: reserve-wrap.c: Device lock status of reserve-monitor-wrapper at Audio0 changed: not busy
        D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded
        D: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved
        […]

I am using Debian Sid/unstable and you can find the installed version at
the end of this message. Please tell me what other information you need.


Thanks,

Paul


[1] http://fedoraproject.org/wiki/How_to_debug_PulseAudio_problems#General_advice
[2] http://pulseaudio.org/attachment/ticket/785/

--
Version: 0.9.21-1
Versions of packages pulseaudio depends on:
ii  adduser                       3.112      add and remove users and groups
ii  consolekit                    0.4.1-3    framework for defining and trackin
ii  libasound2                    1.0.21a-1  shared library for ALSA applicatio
ii  libasyncns0                   0.3-1      Asyncronous name service query lib
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.17-2   support for getting/setting POSIX.
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libgdbm3                      1.8.3-9    GNU dbm database routines (runtime
ii  libice6                       2:1.0.6-1  X11 Inter-Client Exchange library
ii  libltdl7                      2.2.6b-2   A system independent dlopen wrappe
ii  libpulse0                     0.9.21-1   PulseAudio client libraries
ii  libsamplerate0                0.1.7-3    Audio sample rate conversion libra
ii  libsm6                        2:1.1.1-1  X11 Session Management library
ii  libsndfile1                   1.0.21-2   Library for reading/writing audio 
ii  libspeexdsp1                  1.2~rc1-1  The Speex extended runtime library
ii  libudev0                      150-2      libudev shared library
ii  libwrap0                      7.6.q-18   Wietse Venema's TCP wrappers libra
ii  libx11-6                      2:1.3.3-1  X11 client-side library
ii  libxtst6                      2:1.1.0-2  X11 Testing -- Resource extension 
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  udev                          150-2      /dev/ and hotplug management daemo

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio      0.10.17-1  GStreamer plugin for PulseAudio
ii  libasound2-plugins            1.0.21-3   ALSA library additional plugins
ii  pulseaudio-esound-compat      0.9.21-1   PulseAudio ESD compatibility layer
ii  pulseaudio-module-x11         0.9.21-1   X11 module for PulseAudio sound se

Versions of packages pulseaudio suggests:
pn  paman                         <none>     (no description available)
pn  paprefs                       <none>     (no description available)
ii  pavucontrol                   0.9.9-1    PulseAudio Volume Control
pn  pavumeter                     <none>     (no description available)
ii  pulseaudio-utils              0.9.21-1   Command line tools for the PulseAu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20100130/3d5adcbe/attachment.pgp>


More information about the pulseaudio-discuss mailing list