[aur-general] PulseAudio doesn't work after update to 0.9.14
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 My .asoundrc: pcm.!default { type pulse } ctl.!default { type pulse } My default.pa: #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. # This startup script is used only if PulseAudio is started per-user # (i.e. not in system mode) .nofail ### Load something into the sample cache #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav #load-sample-lazy pulse-access /usr/share/sounds/generic.wav .fail ### Automatically restore the volume of streams and devices load-module module-device-restore load-module module-stream-restore ### Load audio drivers statically (it's probably better to not load ### these drivers manually, but instead use module-hal-detect -- ### see below -- for doing this automatically) #load-module module-alsa-sink #load-module module-alsa-source device=hw:1,0 #load-module module-oss device="/dev/dsp" sink_name=output source_name=input #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input #load-module module-null-sink #load-module module-pipe-sink ### Automatically load driver modules depending on the hardware available .ifexists module-hal-detect.so load-module module-hal-detect .else ### Alternatively use the static hardware detection module (for systems that ### lack HAL support) load-module module-detect .endif ### Automatically load driver modules for Bluetooth hardware #.ifexists module-bluetooth-discover.so #load-module module-bluetooth-discover #.endif ### Load several protocols .ifexists module-esound-protocol-unix.so load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix ### Network access (may be configured with paprefs, so leave this commented ### here if you plan to use paprefs) #load-module module-esound-protocol-tcp #load-module module-native-protocol-tcp #load-module module-zeroconf-publish ### Load the RTP reciever module (also configured via paprefs, see above) #load-module module-rtp-recv ### Load the RTP sender module (also configured via paprefs, see above) #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink" #load-module module-rtp-send source=rtp.monitor ### Automatically restore the default sink/source when changed by the user during runtime load-module module-default-device-restore ### Automatically move streams to the default sink if the sink they are ### connected to dies, similar for sources load-module module-rescue-streams ### Make sure we always have a sink around, even if it is a null sink. load-module module-always-sink ### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle ### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. load-module module-console-kit ### Enable positioned event sounds load-module module-position-event-sounds ### Load additional modules from GConf settings. This can be configured with the paprefs tool. ### Please keep in mind that the modules configured by paprefs might conflict with manually ### loaded modules. .ifexists module-gconf.so .nofail load-module module-gconf .fail .endif # X11 modules should not be started from default.pa so that one daemon # can be shared by multiple sessions. ### Load X11 bell module #load-module module-x11-bell sample=bell-windowing-system ### Register ourselves in the X11 session manager #load-module module-x11-xsmp ### Publish connection data in the X11 root window #.ifexists module-x11-publish.so #.nofail #load-module module-x11-publish #.fail #.endif ### Make some devices default #set-default-sink output #set-default-source input # #NETOWRK # load-module module-native-protocol-tcp My client.conf: #This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. ## Configuration file for PulseAudio clients. See pulse-client.conf(5) for ## more information. Default values a commented out. Use either ; or # for ## commenting. ; default-sink = ; default-source = ; default-server = ; autospawn = yes ; daemon-binary = /usr/bin/pulseaudio ; extra-arguments = --log-target=syslog ; cookie-file = ; disable-shm = no ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
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
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
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
2009/1/22 Jeff Cook <cookiecaper@gmail.com>:
Heh, forget to append the output of pulseaudio --system -vvv:
Hi Jeff, first thing I'd try, does pulseaudio work as a user? Stop the daemon and launch it with no arguments with your user, maybe it's some kind of permission problem. Also, is your user a member of pulseaudio's groups? They are pulse, pulse-access and pulse-rt. Corrado
participants (3)
-
bardo
-
Jeff Cook
-
Thomas Jost