Hi *, I am currently trying to use Phonon and PulseAudio and have the following problem:
When I play some Video with a Non-KDE application like VLC everything is perfectly directed to the local PulseAudio running on my machine and i have the expected sound-output. But when I use a KDE-Application like Kaffeine or Amarok there is no sound output although the stream is listed by pavucontrol. The volume-indicator for the stream does not show any activity. Does anybody have an idea what is causing this misbehavior? Or any hint on debugging this? When I run pulseaudio -vvv I cannot see any suspicious output (see below) Thanks in advance, Fabian === My setup === media-sound/pulseaudio-0.9.21.1 was built with the following: USE="X alsa asyncns avahi bluetooth caps dbus glib ipv6 tcpd udev -doc -gnome -hal -jack -libsamplerate -lirc (-oss) (-system-wide) -test" kde-base/phonon-kde-4.4.3 was built with the following: USE="alsa xine (-aqua) -debug (-kdeenablefinal) (-kdeprefix)" media-sound/phonon-4.4.1 was built with the following: USE="alsa pulseaudio xcb xine (-aqua) -debug -gstreamer" == Output of pulseaudio -vvv when Kaffeine starts playing === I: client.c: Created 2 "Native client (UNIX socket client)" D: protocol-native.c: Protocol version: remote 16, local 16 I: protocol-native.c: Got credentials: uid=1000 gid=100 success=1 D: protocol-native.c: SHM possible: yes D: protocol-native.c: Negotiated SHM: yes D: module-augment-properties.c: Looking for .desktop file for kaffeine I: client.c: Freed 2 "libphonon-probe" I: protocol-native.c: Connection died. I: client.c: Created 3 "Native client (UNIX socket client)" I: client.c: Created 4 "Native client (UNIX socket client)" D: protocol-native.c: Protocol version: remote 16, local 16 I: protocol-native.c: Got credentials: uid=1000 gid=100 success=1 D: protocol-native.c: SHM possible: yes D: protocol-native.c: Negotiated SHM: yes D: module-augment-properties.c: Looking for .desktop file for kaffeine D: protocol-native.c: Protocol version: remote 16, local 16 I: protocol-native.c: Got credentials: uid=1000 gid=100 success=1 D: protocol-native.c: SHM possible: yes D: protocol-native.c: Negotiated SHM: yes D: module-augment-properties.c: Looking for .desktop file for kaffeine I: module-stream-restore.c: Restoring volume for sink input sink-input-by- media-role:video. D: sink.c: Suspend cause of sink alsa_output.pci-0000_00_1b.0.analog-stereo is 0x0000, resuming D: reserve-wrap.c: Successfully acquired reservation lock on device 'Audio0' I: alsa-sink.c: Trying resume... D: alsa-util.c: Maximum hw buffer size is 371 ms D: alsa-util.c: Set buffer size first (to 16384 samples), period size second (to 8192 samples). D: alsa-sink.c: hwbuf_unused=0 D: alsa-sink.c: setting avail_min=15502 I: alsa-sink.c: Resumed successfully... I: alsa-sink.c: Starting playback. D: alsa-sink.c: Cutting sleep time for the initial iterations by half. D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes idle, timeout in 5 seconds. D: alsa-sink.c: Cutting sleep time for the initial iterations by half. D: alsa-sink.c: Cutting sleep time for the initial iterations by half. D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes busy. I: resampler.c: Using resampler 'speex-float-3' I: resampler.c: Using float32le as working format. I: resampler.c: Choosing speex quality setting 3. D: memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0 D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0 I: sink-input.c: Created input 0 "Audio Stream" on alsa_output.pci-0000_00_1b.0.analog-stereo with sample spec s16le 2ch 48000Hz and channel map front-left,front-right I: sink-input.c: media.name = "Audio Stream" I: sink-input.c: application.name = "kaffeine" I: sink-input.c: native-protocol.peer = "UNIX socket client" I: sink-input.c: native-protocol.version = "16" I: sink-input.c: media.role = "video" I: sink-input.c: phonon.streamid = "{1d2615a1-66ea-43cd-879a-754656791fa3}" I: sink-input.c: application.process.id = "22783" I: sink-input.c: application.process.user = "fabian" I: sink-input.c: application.process.host = "fkoest-nb" I: sink-input.c: application.process.binary = "kaffeine" I: sink-input.c: application.language = "de_DE.UTF-8" I: sink-input.c: window.x11.display = ":0.0" I: sink-input.c: application.process.machine_id = "3e11ad7a09a7286cfb0063054bba5809" I: sink-input.c: application.process.session_id = "3e11ad7a09a7286cfb0063054bba5809-1274289751.605749-741466757" I: sink-input.c: module-stream-restore.id = "sink-input-by-media- role:video" I: protocol-native.c: Requested tlength=250,00 ms, minreq=20,00 ms D: protocol-native.c: Traditional mode enabled, modifying sink usec only for compat with minreq. D: alsa-sink.c: Cutting sleep time for the initial iterations by half. D: alsa-sink.c: Cutting sleep time for the initial iterations by half. D: memblockq.c: memblockq requested: maxlength=4194304, tlength=48000, base=4, prebuf=44164, minreq=3840 maxrewind=0 D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=48000, base=4, prebuf=44164, minreq=3840 maxrewind=0 I: protocol-native.c: Final latency 460,00 ms = 210,00 ms + 2*20,00 ms + 210,00 ms D: alsa-sink.c: Requested volume: 0: 100% 1: 100% D: alsa-sink.c: Got hardware volume: 0: 100% 1: 100% D: alsa-sink.c: Calculated software volume: 0: 100% 1: 100% (accurate- enough=yes) D: alsa-sink.c: Cutting sleep time for the initial iterations by half. D: alsa-sink.c: Latency set to 210,00ms D: alsa-sink.c: hwbuf_unused=28492 D: alsa-sink.c: setting avail_min=15503 D: alsa-sink.c: Requesting rewind due to latency change. D: alsa-sink.c: Requested to rewind 65536 bytes. D: alsa-sink.c: Limited to 61496 bytes. D: alsa-sink.c: before: 15374 D: alsa-sink.c: after: 15374 D: alsa-sink.c: Rewound 61496 bytes. D: sink.c: Processing rewind... D: sink-input.c: Have to rewind 61496 bytes on render memblockq. D: source.c: Processing rewind... D: core-subscribe.c: Dropped redundant event due to change event. D: reserve-wrap.c: Device lock status of reserve-monitor-wrap...@audio0 changed: not busy D: protocol-native.c: Requesting rewind due to end of underrun. D: alsa-sink.c: Requested to rewind 65536 bytes. D: alsa-sink.c: Limited to 32684 bytes. D: alsa-sink.c: before: 8171 D: alsa-sink.c: after: 8171 D: alsa-sink.c: Rewound 32684 bytes. D: sink.c: Processing rewind... D: sink-input.c: Have to rewind 32684 bytes on render memblockq. D: source.c: Processing rewind...
signature.asc
Description: This is a digitally signed message part.