Heh, forget to append the output of pulseaudio --system -vvv: [jeff@arch Debug]$ sudo pulseaudio --system -vvv Password: D: main.c: Started as real root: yes, suid root: no I: core-util.c: Successfully gained nice level -11. D: main.c: Can realtime: yes, can high-priority: yes D: main.c: Can realtime: yes, can high-priority: yes W: ltdl-bind-now.c: Failed to find original dlopen loader. W: main.c: Running in system mode, but --disallow-exit not set! W: main.c: Running in system mode, but --disallow-module-loading not set! N: main.c: Running in system mode, forcibly disabling SHM mode! N: main.c: Running in system mode, forcibly disabling exit idle time! I: main.c: Found user 'pulse' (UID 130) and group 'pulse' (GID 130). I: main.c: Successfully dropped root privileges. I: main.c: This is PulseAudio 0.9.14 D: main.c: Compilation host: x86_64-unknown-linux-gnu D: main.c: Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wconversion -Wundef -Wformat -Wlogical-op -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math D: main.c: Running on host: Linux x86_64 2.6.28-ARCH #1 SMP PREEMPT Sun Jan 18 19:41:52 UTC 2009 I: main.c: Page size is 4096 bytes D: main.c: Compiled with Valgrind support: no D: main.c: Running in valgrind mode: no D: main.c: Optimized build: yes I: main.c: Machine ID is c63af72ebc7ee8b0be630b45482645e1. I: main.c: Using runtime directory /var/run/pulse. I: main.c: Using state directory /var/lib/pulse. I: main.c: Running in system mode: yes I: main.c: Fresh high-resolution timers available! Bon appetit! D: memblock.c: Using private memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472 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_8788_alsa_playback_1 D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_13f6_8788_alsa_playback_0 tsched=1' D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ... D: alsa-util.c: Maximum hw buffer size is 5944 ms I: module-alsa-sink.c: Successfully opened device front:0. I: module-alsa-sink.c: Successfully enabled mmap() mode. I: module-alsa-sink.c: Successfully enabled timer-based scheduling mode. I: (alsa-lib)control.c: 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_8788_alsa_playback_0" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right I: source.c: Created source 0 "alsa_output.pci_13f6_8788_alsa_playback_0.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right I: module-alsa-sink.c: Using 2 fragments of size 176416 bytes, buffer time is 2000.18ms I: module-alsa-sink.c: Time scheduling watermark is 20.00ms D: module-alsa-sink.c: hwbuf_unused_frames=0 D: module-alsa-sink.c: setting avail_min=349301 I: module-alsa-sink.c: Volume ranges from 0 to 127. I: module-alsa-sink.c: Volume ranges from -127.00 dB to 0.00 dB. I: alsa-util.c: All 2 channels can be mapped to mixer channels. I: module-alsa-sink.c: Using hardware volume control. Hardware dB scale supported. D: alsa-util.c: snd_pcm_dump(): D: alsa-util.c: Hardware PCM card 0 'Xonar DX' device 0 subdevice 0 D: alsa-util.c: Its setup is: D: alsa-util.c: stream : PLAYBACK D: alsa-util.c: access : MMAP_INTERLEAVED D: alsa-util.c: format : S16_LE D: alsa-util.c: subformat : STD D: alsa-util.c: channels : 2 D: alsa-util.c: rate : 44100 D: alsa-util.c: exact rate : 44100 (44100/1) D: alsa-util.c: msbits : 16 D: alsa-util.c: buffer_size : 88208 D: alsa-util.c: period_size : 44104 D: alsa-util.c: period_time : 1000090 D: alsa-util.c: tstamp_mode : NONE D: alsa-util.c: period_step : 1 D: alsa-util.c: avail_min : 349301 D: alsa-util.c: period_event : 0 D: alsa-util.c: start_threshold : -1 D: alsa-util.c: stop_threshold : -1 D: alsa-util.c: silence_threshold: 0 D: alsa-util.c: silence_size : 0 D: alsa-util.c: boundary : 6207086186423386112 D: module-alsa-sink.c: Read hardware volume: 0: 100% 1: 100% 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_8788_alsa_playback_0 tsched=1"). D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_13f6_8788_alsa_capture_0 tsched=1' D: alsa-util.c: Trying front:0 with SND_PCM_NO_AUTO_FORMAT ... D: alsa-util.c: Maximum hw buffer size is 743 ms I: module-alsa-source.c: Successfully opened device front:0. I: module-alsa-source.c: Successfully enabled mmap() mode. I: module-alsa-source.c: Successfully enabled timer-based scheduling mode. I: (alsa-lib)control.c: 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: Cannot find mixer control "Capture". I: alsa-util.c: Using mixer control "Mic". I: source.c: Created source 1 "alsa_input.pci_13f6_8788_alsa_capture_0" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right I: module-alsa-source.c: Using 2 fragments of size 65536 bytes, buffer time is 743.04ms I: module-alsa-source.c: Time scheduling watermark is 20.00ms D: module-alsa-source.c: hwbuf_unused_frames=0 D: module-alsa-source.c: setting avail_min=127541 I: module-alsa-source.c: Volume ranges from 0 to 31. I: module-alsa-source.c: Volume ranges from -34.50 dB to 12.00 dB. I: alsa-util.c: All 2 channels can be mapped to mixer channels. I: module-alsa-source.c: Using hardware volume control. Hardware dB scale supported. D: alsa-util.c: snd_pcm_dump(): D: alsa-util.c: Hardware PCM card 0 'Xonar DX' device 0 subdevice 0 D: alsa-util.c: Its setup is: D: alsa-util.c: stream : CAPTURE D: alsa-util.c: access : MMAP_INTERLEAVED D: alsa-util.c: format : S16_LE D: alsa-util.c: subformat : STD D: alsa-util.c: channels : 2 D: alsa-util.c: rate : 44100 D: alsa-util.c: exact rate : 44100 (44100/1) D: alsa-util.c: msbits : 16 D: alsa-util.c: buffer_size : 32768 D: alsa-util.c: period_size : 16384 D: alsa-util.c: period_time : 371519 D: alsa-util.c: tstamp_mode : NONE D: alsa-util.c: period_step : 1 D: alsa-util.c: avail_min : 127541 D: alsa-util.c: period_event : 0 D: alsa-util.c: start_threshold : -1 D: alsa-util.c: stop_threshold : -1 D: alsa-util.c: silence_threshold: 0 D: alsa-util.c: silence_size : 0 D: alsa-util.c: boundary : 4611686018427387904 D: module-alsa-source.c: Read hardware volume: 0: 80% 1: 80% D: module-alsa-source.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28 I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_13f6_8788_alsa_capture_0 tsched=1"). D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_13f6_8788_alsa_control__1 I: module-hal-detect.c: Loaded 2 modules. I: module.c: Loaded "module-hal-detect" (index: #2; argument: ""). D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: ""). I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: ""). I: module-stream-restore.c: Sucessfully opened database file '/var/lib/pulse/c63af72ebc7ee8b0be630b45482645e1:stream-volumes.x86_64-unknown-linux-gnu.gdbm'. I: module.c: Loaded "module-stream-restore" (index: #5; argument: ""). I: module-device-restore.c: Sucessfully opened database file '/var/lib/pulse/c63af72ebc7ee8b0be630b45482645e1:device-volumes.x86_64-unknown-linux-gnu.gdbm'. I: module.c: Loaded "module-device-restore" (index: #6; argument: ""). I: module.c: Loaded "module-default-device-restore" (index: #7; argument: ""). I: module.c: Loaded "module-rescue-streams" (index: #8; argument: ""). I: module.c: Loaded "module-always-sink" (index: #9; argument: ""). D: module-suspend-on-idle.c: Sink alsa_output.pci_13f6_8788_alsa_playback_0 becomes idle. D: module-suspend-on-idle.c: Source alsa_output.pci_13f6_8788_alsa_playback_0.monitor becomes idle. D: module-suspend-on-idle.c: Source alsa_input.pci_13f6_8788_alsa_capture_0 becomes idle. I: module.c: Loaded "module-suspend-on-idle" (index: #10; argument: ""). I: module.c: Loaded "module-position-event-sounds" (index: #11; argument: ""). I: module-volume-restore.c: Starting with empty ruleset. I: module.c: Loaded "module-volume-restore" (index: #12; argument: "table="/var/pulse/volume-restore.table""). I: main.c: Daemon startup complete. D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired I: module-suspend-on-idle.c: Source alsa_input.pci_13f6_8788_alsa_capture_0 idle for too long, suspending ... I: module-alsa-source.c: Device suspended... I: module-suspend-on-idle.c: Source alsa_output.pci_13f6_8788_alsa_playback_0.monitor idle for too long, suspending ... I: module-suspend-on-idle.c: Sink alsa_output.pci_13f6_8788_alsa_playback_0 idle for too long, suspending ... I: module-alsa-sink.c: Device suspended... On Thu, Jan 22, 2009 at 3:27 PM, Jeff Cook <cookiecaper@gmail.com> wrote:
Thomas,
Thanks for the reply. I've appended the output of pulseaudio --system --vvv; no additional messages are logged on pavucontrol's failure to connect. I've tried removing all parts of pulse's cookies and config files (rm -rf ~/.pulse-cookie && rm -rf ~/pulse && mv /etc/pulse /etc/pulseold && yaourt -S --noconfirm pulseaudio) and letting it start over but that doesn't seem to help either, pavucontrol still can't connect. Sound now seems to work with PulseAudio daemon started (even mpd), but still can't connect via pavucontrol. Any help is appreciated. : )
Thanks Signed Jeff
On Thu, Jan 22, 2009 at 1:47 AM, Thomas Jost <thomas.jost@gmail.com> wrote:
On Thu, Jan 22, 2009 at 4:17 AM, Jeff Cook <cookiecaper@gmail.com> wrote:
Hi all.
After recent update to 0.9.14, PulseAudio no longer allows clients to connect. The server appears to be running properly. On startup, it outputs to both console and messages.log:
Jan 21 15:47:37 arch pulseaudio[13203]: ltdl-bind-now.c: Failed to find original dlopen loader. Jan 21 15:47:37 arch pulseaudio[13203]: main.c: Running in system mode, but --disallow-exit not set! Jan 21 15:47:37 arch pulseaudio[13203]: main.c: Running in system mode, but --disallow-module-loading not set! Jan 21 15:47:37 arch pulseaudio[13203]: main.c: Running in system mode, forcibly disabling SHM mode! Jan 21 15:47:37 arch pulseaudio[13203]: main.c: Running in system mode, forcibly disabling exit idle time!
It's done this before without significant problems, but a couple of those messages are new.
The error presented by pavucontrol and alsamixer is Connection failed: Connection refused.
Please let me know if anything not appended is pertinent.
Thanks for any and all help.
Signed Jeff
Hi Jeff,
I have the very same messages when running PulseAudio, yet all my apps are working correctly.
Could you try to run "pulseaudio --system -vvv" and post its output here? Especially the part that is displayed after pavucontrol or any other app failed to connect to the Pulse server. It would maybe explain why the connection is refused.
If there is something about an invalid cookie, you should try to replace your ~/.pulse-cookie by /var/run/pulse/.pulse-cookie and run "pax11publish -e" to update the PulseAudio data in your X server.
Thomas