1 |
Hi *, |
2 |
|
3 |
I am currently trying to use Phonon and PulseAudio and have the following |
4 |
problem: |
5 |
|
6 |
When I play some Video with a Non-KDE application like VLC everything is |
7 |
perfectly directed to the local PulseAudio running on my machine and i have |
8 |
the expected sound-output. |
9 |
|
10 |
But when I use a KDE-Application like Kaffeine or Amarok there is no sound |
11 |
output although the stream is listed by pavucontrol. The volume-indicator for |
12 |
the stream does not show any activity. |
13 |
|
14 |
Does anybody have an idea what is causing this misbehavior? Or any hint on |
15 |
debugging this? When I run pulseaudio -vvv I cannot see any suspicious output |
16 |
(see below) |
17 |
|
18 |
Thanks in advance, |
19 |
Fabian |
20 |
|
21 |
|
22 |
=== My setup === |
23 |
|
24 |
media-sound/pulseaudio-0.9.21.1 was built with the following: |
25 |
USE="X alsa asyncns avahi bluetooth caps dbus glib ipv6 tcpd udev -doc -gnome |
26 |
-hal -jack -libsamplerate -lirc (-oss) (-system-wide) -test" |
27 |
|
28 |
kde-base/phonon-kde-4.4.3 was built with the following: |
29 |
USE="alsa xine (-aqua) -debug (-kdeenablefinal) (-kdeprefix)" |
30 |
|
31 |
media-sound/phonon-4.4.1 was built with the following: |
32 |
USE="alsa pulseaudio xcb xine (-aqua) -debug -gstreamer" |
33 |
|
34 |
== Output of pulseaudio -vvv when Kaffeine starts playing === |
35 |
|
36 |
I: client.c: Created 2 "Native client (UNIX socket client)" |
37 |
D: protocol-native.c: Protocol version: remote 16, local 16 |
38 |
I: protocol-native.c: Got credentials: uid=1000 gid=100 success=1 |
39 |
D: protocol-native.c: SHM possible: yes |
40 |
D: protocol-native.c: Negotiated SHM: yes |
41 |
D: module-augment-properties.c: Looking for .desktop file for kaffeine |
42 |
I: client.c: Freed 2 "libphonon-probe" |
43 |
I: protocol-native.c: Connection died. |
44 |
I: client.c: Created 3 "Native client (UNIX socket client)" |
45 |
I: client.c: Created 4 "Native client (UNIX socket client)" |
46 |
D: protocol-native.c: Protocol version: remote 16, local 16 |
47 |
I: protocol-native.c: Got credentials: uid=1000 gid=100 success=1 |
48 |
D: protocol-native.c: SHM possible: yes |
49 |
D: protocol-native.c: Negotiated SHM: yes |
50 |
D: module-augment-properties.c: Looking for .desktop file for kaffeine |
51 |
D: protocol-native.c: Protocol version: remote 16, local 16 |
52 |
I: protocol-native.c: Got credentials: uid=1000 gid=100 success=1 |
53 |
D: protocol-native.c: SHM possible: yes |
54 |
D: protocol-native.c: Negotiated SHM: yes |
55 |
D: module-augment-properties.c: Looking for .desktop file for kaffeine |
56 |
I: module-stream-restore.c: Restoring volume for sink input sink-input-by- |
57 |
media-role:video. |
58 |
D: sink.c: Suspend cause of sink alsa_output.pci-0000_00_1b.0.analog-stereo is |
59 |
0x0000, resuming |
60 |
D: reserve-wrap.c: Successfully acquired reservation lock on device 'Audio0' |
61 |
I: alsa-sink.c: Trying resume... |
62 |
D: alsa-util.c: Maximum hw buffer size is 371 ms |
63 |
D: alsa-util.c: Set buffer size first (to 16384 samples), period size second (to |
64 |
8192 samples). |
65 |
D: alsa-sink.c: hwbuf_unused=0 |
66 |
D: alsa-sink.c: setting avail_min=15502 |
67 |
I: alsa-sink.c: Resumed successfully... |
68 |
I: alsa-sink.c: Starting playback. |
69 |
D: alsa-sink.c: Cutting sleep time for the initial iterations by half. |
70 |
D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo |
71 |
becomes idle, timeout in 5 seconds. |
72 |
D: alsa-sink.c: Cutting sleep time for the initial iterations by half. |
73 |
D: alsa-sink.c: Cutting sleep time for the initial iterations by half. |
74 |
D: module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo |
75 |
becomes busy. |
76 |
I: resampler.c: Using resampler 'speex-float-3' |
77 |
I: resampler.c: Using float32le as working format. |
78 |
I: resampler.c: Choosing speex quality setting 3. |
79 |
D: memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, |
80 |
prebuf=0, minreq=1 maxrewind=0 |
81 |
D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, |
82 |
base=4, prebuf=0, minreq=4 maxrewind=0 |
83 |
I: sink-input.c: Created input 0 "Audio Stream" on |
84 |
alsa_output.pci-0000_00_1b.0.analog-stereo with sample spec s16le 2ch 48000Hz |
85 |
and channel map front-left,front-right |
86 |
I: sink-input.c: media.name = "Audio Stream" |
87 |
I: sink-input.c: application.name = "kaffeine" |
88 |
I: sink-input.c: native-protocol.peer = "UNIX socket client" |
89 |
I: sink-input.c: native-protocol.version = "16" |
90 |
I: sink-input.c: media.role = "video" |
91 |
I: sink-input.c: phonon.streamid = |
92 |
"{1d2615a1-66ea-43cd-879a-754656791fa3}" |
93 |
I: sink-input.c: application.process.id = "22783" |
94 |
I: sink-input.c: application.process.user = "fabian" |
95 |
I: sink-input.c: application.process.host = "fkoest-nb" |
96 |
I: sink-input.c: application.process.binary = "kaffeine" |
97 |
I: sink-input.c: application.language = "de_DE.UTF-8" |
98 |
I: sink-input.c: window.x11.display = ":0.0" |
99 |
I: sink-input.c: application.process.machine_id = |
100 |
"3e11ad7a09a7286cfb0063054bba5809" |
101 |
I: sink-input.c: application.process.session_id = |
102 |
"3e11ad7a09a7286cfb0063054bba5809-1274289751.605749-741466757" |
103 |
I: sink-input.c: module-stream-restore.id = "sink-input-by-media- |
104 |
role:video" |
105 |
I: protocol-native.c: Requested tlength=250,00 ms, minreq=20,00 ms |
106 |
D: protocol-native.c: Traditional mode enabled, modifying sink usec only for |
107 |
compat with minreq. |
108 |
D: alsa-sink.c: Cutting sleep time for the initial iterations by half. |
109 |
D: alsa-sink.c: Cutting sleep time for the initial iterations by half. |
110 |
D: memblockq.c: memblockq requested: maxlength=4194304, tlength=48000, base=4, |
111 |
prebuf=44164, minreq=3840 maxrewind=0 |
112 |
D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=48000, base=4, |
113 |
prebuf=44164, minreq=3840 maxrewind=0 |
114 |
I: protocol-native.c: Final latency 460,00 ms = 210,00 ms + 2*20,00 ms + |
115 |
210,00 ms |
116 |
D: alsa-sink.c: Requested volume: 0: 100% 1: 100% |
117 |
D: alsa-sink.c: Got hardware volume: 0: 100% 1: 100% |
118 |
D: alsa-sink.c: Calculated software volume: 0: 100% 1: 100% (accurate- |
119 |
enough=yes) |
120 |
D: alsa-sink.c: Cutting sleep time for the initial iterations by half. |
121 |
D: alsa-sink.c: Latency set to 210,00ms |
122 |
D: alsa-sink.c: hwbuf_unused=28492 |
123 |
D: alsa-sink.c: setting avail_min=15503 |
124 |
D: alsa-sink.c: Requesting rewind due to latency change. |
125 |
D: alsa-sink.c: Requested to rewind 65536 bytes. |
126 |
D: alsa-sink.c: Limited to 61496 bytes. |
127 |
D: alsa-sink.c: before: 15374 |
128 |
D: alsa-sink.c: after: 15374 |
129 |
D: alsa-sink.c: Rewound 61496 bytes. |
130 |
D: sink.c: Processing rewind... |
131 |
D: sink-input.c: Have to rewind 61496 bytes on render memblockq. |
132 |
D: source.c: Processing rewind... |
133 |
D: core-subscribe.c: Dropped redundant event due to change event. |
134 |
D: reserve-wrap.c: Device lock status of reserve-monitor-wrapper@Audio0 |
135 |
changed: not busy |
136 |
D: protocol-native.c: Requesting rewind due to end of underrun. |
137 |
D: alsa-sink.c: Requested to rewind 65536 bytes. |
138 |
D: alsa-sink.c: Limited to 32684 bytes. |
139 |
D: alsa-sink.c: before: 8171 |
140 |
D: alsa-sink.c: after: 8171 |
141 |
D: alsa-sink.c: Rewound 32684 bytes. |
142 |
D: sink.c: Processing rewind... |
143 |
D: sink-input.c: Have to rewind 32684 bytes on render memblockq. |
144 |
D: source.c: Processing rewind... |