Bug#521675: Only sound via alsa or when pulseaudio does not run

Robin Haunschild H at unschild.de
Mon May 24 17:51:22 UTC 2010


Package: pulseaudio
Version: 0.9.21-1
Severity: normal


System: Debian/testing

I made a safe-upgrade on 05/18/10. Before the upgrade programs like dragon, 
kaffeine, miro, and totem were able to play sounds. Since the upgrade only 
programs which could play directly via alsa (alsaplayer, vlc, etc.) have 
sound. Now, various programs (e.g. totem and miro) do have sound only if I 
kill the pulseaudio pulseaudio process.  However, KDE programs as kaffeine 
start a new pulse audio process and fail to play sound.

My user is a member of pulse and pulse-access.

$ pulseaudio -v -v -v
as user gives

I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
D: core-rtclock.c: Timer slack is set to 50 us.
I: core-util.c: Failed to acquire high-priority scheduling: No such file or 
directory
I: main.c: This is PulseAudio 0.9.21
D: main.c: Compilation host: x86_64-pc-linux-gnu
D: main.c: Compilation CFLAGS: -g -O2 -g -Wall -O2 -Wall -W -Wextra -pipe -
Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-
optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security 
-Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-
arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-
prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -
Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -
Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-
common -fdiagnostics-show-option
D: main.c: Running on host: Linux x86_64 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 
22:40:40 UTC 2010
D: main.c: Found 2 CPUs.
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: Running in VM: no
D: main.c: Optimized build: yes
D: main.c: All asserts enabled.
I: main.c: Machine ID is 1255fd68d056555ca29812ab4b119d93.
I: main.c: Session ID is 
1255fd68d056555ca29812ab4b119d93-1274720210.111180-90847104.
I: main.c: Using runtime directory 
/home/robin/.pulse/1255fd68d056555ca29812ab4b119d93-runtime.
I: main.c: Using state directory /home/robin/.pulse.
I: main.c: Using modules directory /usr/lib/pulse-0.9.21/modules.
I: main.c: Running in system mode: no
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: cpu-x86.c: CPU flags: MMX SSE SSE2 SSE3 SSSE3 SSE4_1 
I: svolume_mmx.c: Initialising MMX optimized functions.
I: remap_mmx.c: Initialising MMX optimized remappers.
I: svolume_sse.c: Initialising SSE2 optimized functions.
I: remap_sse.c: Initialising SSE2 optimized remappers.
I: sconv_sse.c: Initialising SSE2 optimized conversions.
D: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, 
total size is 64.0 MiB, maximum usable slot size is 65472
D: database-gdbm.c: Opened GDBM database 
'/home/robin/.pulse/1255fd68d056555ca29812ab4b119d93-device-volumes.x86_64-pc-
linux-gnu.gdbm'
I: module-device-restore.c: Sucessfully opened database file 
'/home/robin/.pulse/1255fd68d056555ca29812ab4b119d93-device-volumes'.
I: module.c: Loaded "module-device-restore" (index: #0; argument: "").
D: database-gdbm.c: Opened GDBM database 
'/home/robin/.pulse/1255fd68d056555ca29812ab4b119d93-stream-volumes.x86_64-pc-
linux-gnu.gdbm'
I: module-stream-restore.c: Sucessfully opened database file 
'/home/robin/.pulse/1255fd68d056555ca29812ab4b119d93-stream-volumes'.
I: module.c: Loaded "module-stream-restore" (index: #1; argument: "").
D: database-gdbm.c: Opened GDBM database 
'/home/robin/.pulse/1255fd68d056555ca29812ab4b119d93-card-database.x86_64-pc-
linux-gnu.gdbm'
I: module-card-restore.c: Sucessfully opened database file 
'/home/robin/.pulse/1255fd68d056555ca29812ab4b119d93-card-database'.
I: module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: module.c: Loaded "module-augment-properties" (index: #3; argument: "").
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9.21/modules/module-udev-detect.so': success
D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: module-udev-detect.c: /devices/pci0000:00/0000:00:1b.0/sound/card0 is busy: 
yes
I: module-udev-detect.c: Found 1 cards.
I: module.c: Loaded "module-udev-detect" (index: #4; argument: "").
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': failure
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9.21/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #5; argument: "").
I: module.c: Loaded "module-native-protocol-unix" (index: #6; argument: "").
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9.21/modules/module-gconf.so': failure
I: module-default-device-restore.c: Saved default sink 'auto_null' not 
existant, not restoring default sink setting.
I: module-default-device-restore.c: Saved default source 'auto_null.monitor' 
not existant, not restoring default source setting.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: module-device-restore.c: Restoring volume for sink auto_null.
I: module-device-restore.c: Restoring mute state for sink auto_null.
I: sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and 
channel map front-left,front-right
I: sink.c:     device.description = "Dummy Output"
I: sink.c:     device.class = "abstract"
I: sink.c:     device.icon_name = "audio-card"
D: core-subscribe.c: Dropped redundant event due to change event.
I: source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 
44100Hz and channel map front-left,front-right
I: source.c:     device.description = "Monitor of Dummy Output"
I: source.c:     device.class = "monitor"
I: source.c:     device.icon_name = "audio-input-microphone"
D: module-null-sink.c: Thread starting up
I: module.c: Loaded "module-null-sink" (index: #9; argument: 
"sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: module.c: Loaded "module-always-sink" (index: #10; argument: "").
I: module.c: Loaded "module-intended-roles" (index: #11; argument: "").
D: module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 
seconds.
I: module.c: Loaded "module-suspend-on-idle" (index: #12; argument: "").
D: dbus-util.c: Successfully connected to D-Bus system bus 
6c92d8d7f507c244a09cdb9c00000020 as :1.65
I: client.c: Created 0 "ConsoleKit Session 
/org/freedesktop/ConsoleKit/Session1"
D: module-console-kit.c: Added new session 
/org/freedesktop/ConsoleKit/Session1
I: module.c: Loaded "module-console-kit" (index: #13; argument: "").
I: module.c: Loaded "module-position-event-sounds" (index: #14; argument: "").
I: module.c: Loaded "module-cork-music-on-phone" (index: #15; argument: "").
D: dbus-util.c: Successfully connected to D-Bus session bus 
69dee966d584f6ae544172a200000044 as :1.259
D: main.c: Got org.pulseaudio.Server!
I: main.c: Daemon startup complete.
D: module-console-kit.c: dbus: interface=org.freedesktop.DBus, 
path=/org/freedesktop/DBus, member=NameAcquired

I: module-suspend-on-idle.c: Sink auto_null idle for too long, suspending ...
D: sink.c: Suspend cause of sink auto_null is 0x0004, suspending
D: core-subscribe.c: Dropped redundant event due to change event.



$ pulseaudio -v -v -v
as root gives

W: main.c: This program is not intended to be run as root (unless --system is 
specified).
D: core-rtclock.c: Timer slack is set to 50 us.
D: core-util.c: setpriority() worked.
I: core-util.c: Successfully gained nice level -11.
I: main.c: This is PulseAudio 0.9.21
D: main.c: Compilation host: x86_64-pc-linux-gnu
D: main.c: Compilation CFLAGS: -g -O2 -g -Wall -O2 -Wall -W -Wextra -pipe -
Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-
optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security 
-Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-
arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-
prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -
Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -
Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-
common -fdiagnostics-show-option
D: main.c: Running on host: Linux x86_64 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 
22:40:40 UTC 2010
D: main.c: Found 2 CPUs.
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: Running in VM: no
D: main.c: Optimized build: yes
D: main.c: All asserts enabled.
I: main.c: Machine ID is 1255fd68d056555ca29812ab4b119d93.
I: main.c: Session ID is 
1255fd68d056555ca29812ab4b119d93-1274721054.955569-929994720.
I: main.c: Using runtime directory 
/root/.pulse/1255fd68d056555ca29812ab4b119d93-runtime.
I: main.c: Using state directory /root/.pulse.
I: main.c: Using modules directory /usr/lib/pulse-0.9.21/modules.
I: main.c: Running in system mode: no
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: cpu-x86.c: CPU flags: MMX SSE SSE2 SSE3 SSSE3 SSE4_1 
I: svolume_mmx.c: Initialising MMX optimized functions.
I: remap_mmx.c: Initialising MMX optimized remappers.
I: svolume_sse.c: Initialising SSE2 optimized functions.
I: remap_sse.c: Initialising SSE2 optimized remappers.
I: sconv_sse.c: Initialising SSE2 optimized conversions.
D: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, 
total size is 64.0 MiB, maximum usable slot size is 65472
D: database-gdbm.c: Opened GDBM database 
'/root/.pulse/1255fd68d056555ca29812ab4b119d93-device-volumes.x86_64-pc-linux-
gnu.gdbm'
I: module-device-restore.c: Sucessfully opened database file 
'/root/.pulse/1255fd68d056555ca29812ab4b119d93-device-volumes'.
I: module.c: Loaded "module-device-restore" (index: #0; argument: "").
D: database-gdbm.c: Opened GDBM database 
'/root/.pulse/1255fd68d056555ca29812ab4b119d93-stream-volumes.x86_64-pc-linux-
gnu.gdbm'
I: module-stream-restore.c: Sucessfully opened database file 
'/root/.pulse/1255fd68d056555ca29812ab4b119d93-stream-volumes'.
I: module.c: Loaded "module-stream-restore" (index: #1; argument: "").
D: database-gdbm.c: Opened GDBM database 
'/root/.pulse/1255fd68d056555ca29812ab4b119d93-card-database.x86_64-pc-linux-
gnu.gdbm'
I: module-card-restore.c: Sucessfully opened database file 
'/root/.pulse/1255fd68d056555ca29812ab4b119d93-card-database'.
I: module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: module.c: Loaded "module-augment-properties" (index: #3; argument: "").
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9.21/modules/module-udev-detect.so': success
D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: module-udev-detect.c: /devices/pci0000:00/0000:00:1b.0/sound/card0 is busy: 
yes
I: module-udev-detect.c: Found 1 cards.
I: module.c: Loaded "module-udev-detect" (index: #4; argument: "").
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': failure
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9.21/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #5; argument: "").
I: module.c: Loaded "module-native-protocol-unix" (index: #6; argument: "").
D: cli-command.c: Checking for existance of 
'/usr/lib/pulse-0.9.21/modules/module-gconf.so': failure
I: module-default-device-restore.c: Saved default sink 'auto_null' not 
existant, not restoring default sink setting.
I: module-default-device-restore.c: Saved default source 'auto_null.monitor' 
not existant, not restoring default source setting.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and 
channel map front-left,front-right
I: sink.c:     device.description = "Dummy Output"
I: sink.c:     device.class = "abstract"
I: sink.c:     device.icon_name = "audio-card"
D: core-subscribe.c: Dropped redundant event due to change event.
I: source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 
44100Hz and channel map front-left,front-right
I: source.c:     device.description = "Monitor of Dummy Output"
I: source.c:     device.class = "monitor"
I: source.c:     device.icon_name = "audio-input-microphone"
D: module-null-sink.c: Thread starting up
I: module.c: Loaded "module-null-sink" (index: #9; argument: 
"sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: module.c: Loaded "module-always-sink" (index: #10; argument: "").
I: module.c: Loaded "module-intended-roles" (index: #11; argument: "").
D: module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 
seconds.
I: module.c: Loaded "module-suspend-on-idle" (index: #12; argument: "").
D: dbus-util.c: Successfully connected to D-Bus system bus 
6c92d8d7f507c244a09cdb9c00000020 as :1.66
I: client.c: Created 0 "ConsoleKit Session 
/org/freedesktop/ConsoleKit/Session3"
D: module-console-kit.c: Added new session 
/org/freedesktop/ConsoleKit/Session3
I: module.c: Loaded "module-console-kit" (index: #13; argument: "").
I: module.c: Loaded "module-position-event-sounds" (index: #14; argument: "").
I: module.c: Loaded "module-cork-music-on-phone" (index: #15; argument: "").
W: main.c: Unable to contact D-Bus: 
org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated 
abnormally with the following error: Autolaunch error: X11 initialization 
failed.
I: main.c: Daemon startup complete.
D: module-console-kit.c: dbus: interface=org.freedesktop.DBus, 
path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Sink auto_null idle for too long, suspending ...
D: sink.c: Suspend cause of sink auto_null is 0x0004, suspending
D: core-subscribe.c: Dropped redundant event due to change event.


Hope that helps,

Robin

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pulseaudio depends on:
ii  adduser                       3.112      add and remove users and groups
ii  consolekit                    0.4.1-4    framework for defining and trackin
ii  libasound2                    1.0.22-2   shared library for ALSA 
applicatio
ii  libasyncns0                   0.3-1      Asyncronous name service query 
lib
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared 
lib
ii  libcap2                       1:2.17-2   support for getting/setting 
POSIX.
ii  libdbus-1-3                   1.2.24-1   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                      154-1      libudev shared library
ii  libwrap0                      7.6.q-18   Wietse Venema's TCP wrappers 
libra
ii  libx11-6                      2:1.3.3-3  X11 client-side library
ii  libxtst6                      2:1.1.0-2  X11 Testing -- Resource extension 
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init 
scrip
ii  udev                          154-1      /dev/ and hotplug management 
daemo

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio      0.10.22-1  GStreamer plugin for PulseAudio
ii  libasound2-plugins            1.0.22-1   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)
pn  pavucontrol                   <none>     (no description available)
pn  pavumeter                     <none>     (no description available)
ii  pulseaudio-utils              0.9.21-1   Command line tools for the 
PulseAu

-- no debconf information
-- 
Robin Haunschild
<H at unschild.de>





More information about the pkg-pulseaudio-devel mailing list