public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Phonon + PulseAudio Problem
@ 2010-05-19 19:59 Fabian Köster
  2010-05-19 21:56 ` [gentoo-user] " walt
                   ` (2 more replies)
  0 siblings, 3 replies; 48+ messages in thread
From: Fabian Köster @ 2010-05-19 19:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 6846 bytes --]

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-wrapper@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...

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 48+ messages in thread

end of thread, other threads:[~2010-05-24 22:14 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 19:59 [gentoo-user] Phonon + PulseAudio Problem Fabian Köster
2010-05-19 21:56 ` [gentoo-user] " walt
2010-05-20  8:15   ` Alan McKinnon
2010-05-20  8:40     ` Nikos Chantziaras
2010-05-20 11:13       ` Alan McKinnon
2010-05-20 17:30         ` Canek Peláez Valdés
2010-05-20 17:57           ` Nikos Chantziaras
2010-05-20 18:44             ` Canek Peláez Valdés
2010-05-20 18:45               ` Canek Peláez Valdés
2010-05-20 19:04               ` Nikos Chantziaras
2010-05-20 19:25                 ` Canek Peláez Valdés
2010-05-20 19:36                   ` Alan McKinnon
2010-05-20 22:08                   ` Nikos Chantziaras
2010-05-20 23:03                     ` Canek Peláez Valdés
2010-05-21  1:08                       ` Jonathan
2010-05-21 18:07                         ` Canek Peláez Valdés
2010-05-21  7:02                       ` Nikos Chantziaras
2010-05-21 18:26                         ` Canek Peláez Valdés
2010-05-21 19:29                           ` Nikos Chantziaras
2010-05-21 19:38                             ` Volker Armin Hemmann
2010-05-22  6:21                               ` Nikos Chantziaras
2010-05-22 16:59                                 ` Canek Peláez Valdés
2010-05-22 18:02                                   ` Nikos Chantziaras
2010-05-22 18:18                                     ` Volker Armin Hemmann
2010-05-22 20:26                                     ` Canek Peláez Valdés
2010-05-22 20:31                                       ` Barry Jibb
2010-05-23 14:37                                         ` Volker Armin Hemmann
2010-05-22 16:54                             ` Canek Peláez Valdés
2010-05-22 17:04                               ` Volker Armin Hemmann
2010-05-20  9:10   ` Fabian Köster
2010-05-21  1:21 ` [gentoo-user] " Jonathan
2010-05-21  8:20   ` Fabian Köster
2010-05-23 10:28 ` [gentoo-user] [SOLVED] " Fabian Köster
2010-05-23 10:38   ` Barry Jibb
2010-05-23 10:56     ` Fabian Köster
2010-05-23 11:21       ` Etaoin Shrdlu
2010-05-23 11:44         ` Indexer
2010-05-23 11:49           ` Etaoin Shrdlu
2010-05-23 14:05         ` Peter Humphrey
2010-05-23 14:09           ` Volker Armin Hemmann
2010-05-23 14:40             ` Etaoin Shrdlu
2010-05-23 14:55               ` Volker Armin Hemmann
2010-05-23 14:40           ` Etaoin Shrdlu
2010-05-23 17:43           ` Willie Wong
2010-05-24  0:24             ` Peter Humphrey
2010-05-24 22:10         ` Neil Bothwick
2010-05-23 11:03     ` Fabian Köster
2010-05-24 22:14     ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox