[pulseaudio-discuss] Adding "timeout=0" to module module-suspend-on-idle

Harsha, Priya priya.harsha at intel.com
Tue Sep 22 03:01:30 PDT 2009


>> W: module-audiomanager.c: 	name:paplay, index:0, state:0
>> W: module-audiomanager.c: internal paused streams:
>> W: module-audiomanager.c: user paused streams:
>> W: module-audiomanager.c: Get Msg(AM_STREAM_INPUT_NEW) name:paplay
>
>These are not official pulseaudio modules and are part of Moblin.
>
>Can you replicate the problem using only upstream pulseaudio modules?


Here are the logs using only the upstream pulesaudio modules. I see the same behavior with the upstream pulse audio modules as well. After 4th time, playback stops. Please share any clues of anything that I could be doing/using wrongly here.

I: sink-input.c: Created input 0 "/usr/share/sounds/alsa/Front_Center.wav" on alsa_output.pci_8086_800_sound_card_0 with sample spec s16le 1ch 48000Hz and channel map mono
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: memblockq.c: memblockq requested: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
I: protocol-native.c: Final latency 349.95 ms = 210.00 ms + 2*20.00 ms + 99.95 ms
D: core-subscribe.c: Dropped redundant event due to change event.
D: protocol-native.c: Requesting rewind due to end of underrun.
E: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
E: alsa-sink.c: Most likely this is a bug in the ALSA driver '(null)'. Please report this issue to the ALSA developers.
E: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
I: client.c: Created 1 "Native client (UNIX socket client)"
D: protocol-native.c: Protocol version: remote 15, local 15
I: protocol-native.c: Got credentials: uid=500 gid=500 success=1
D: protocol-native.c: SHM possible: yes
D: protocol-native.c: Negotiated SHM: yes
D: protocol-native.c: Underrun on '/usr/share/sounds/alsa/Front_Center.wav', 0 bytes in queue.
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes idle.
D: alsa-sink.c: Requested to rewind 8816 bytes.
D: alsa-sink.c: Limited to 7052 bytes.
D: alsa-sink.c: before: 3526
D: alsa-sink.c: after: 3526
D: alsa-sink.c: Rewound 7052 bytes.
D: sink.c: Processing rewind...
D: source.c: Processing rewind...
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes idle.
D: core.c: Hmm, no streams around, trying to vacuum.
I: sink-input.c: Freeing input 0 "/usr/share/sounds/alsa/Front_Center.wav"
I: client.c: Freed 0 "paplay"
I: protocol-native.c: Connection died.
I: client.c: Created 2 "Native client (UNIX socket client)"
D: protocol-native.c: Protocol version: remote 15, local 15
I: protocol-native.c: Got credentials: uid=500 gid=500 success=1
D: protocol-native.c: SHM possible: yes
D: protocol-native.c: Negotiated SHM: yes
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes busy.
W: resampler.c: Support for resampler 'src-linear' not compiled in, reverting to 'auto'.
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=2, prebuf=0, minreq=1 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=2, prebuf=0, minreq=2 maxrewind=0
I: sink-input.c: Created input 1 "/usr/share/sounds/alsa/Front_Center.wav" on alsa_output.pci_8086_800_sound_card_0 with sample spec s16le 1ch 48000Hz and channel map mono
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: memblockq.c: memblockq requested: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
I: protocol-native.c: Final latency 349.95 ms = 210.00 ms + 2*20.00 ms + 99.95 ms
D: protocol-native.c: Requesting rewind due to end of underrun.
D: protocol-native.c: Underrun on '/usr/share/sounds/alsa/Front_Center.wav', 0 bytes in queue.
D: alsa-sink.c: Requested to rewind 8816 bytes.
D: alsa-sink.c: Limited to 7052 bytes.
D: alsa-sink.c: before: 3526
D: alsa-sink.c: after: 3526
D: alsa-sink.c: Rewound 7052 bytes.
D: sink.c: Processing rewind...
D: source.c: Processing rewind...
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes idle.
D: core.c: Hmm, no streams around, trying to vacuum.
I: sink-input.c: Freeing input 1 "/usr/share/sounds/alsa/Front_Center.wav"
I: client.c: Freed 2 "paplay"
I: protocol-native.c: Connection died.
I: client.c: Created 3 "Native client (UNIX socket client)"
D: protocol-native.c: Protocol version: remote 15, local 15
I: protocol-native.c: Got credentials: uid=500 gid=500 success=1
D: protocol-native.c: SHM possible: yes
D: protocol-native.c: Negotiated SHM: yes
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes busy.
W: resampler.c: Support for resampler 'src-linear' not compiled in, reverting to 'auto'.
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=2, prebuf=0, minreq=1 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=2, prebuf=0, minreq=2 maxrewind=0
I: sink-input.c: Created input 2 "/usr/share/sounds/alsa/Front_Center.wav" on alsa_output.pci_8086_800_sound_card_0 with sample spec s16le 1ch 48000Hz and channel map mono
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: memblockq.c: memblockq requested: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
I: protocol-native.c: Final latency 349.95 ms = 210.00 ms + 2*20.00 ms + 99.95 ms
D: protocol-native.c: Requesting rewind due to end of underrun.
D: protocol-native.c: Underrun on '/usr/share/sounds/alsa/Front_Center.wav', 0 bytes in queue.
D: alsa-sink.c: Requested to rewind 8816 bytes.
D: alsa-sink.c: Limited to 7052 bytes.
D: alsa-sink.c: before: 3526
D: alsa-sink.c: after: 3526
D: alsa-sink.c: Rewound 7052 bytes.
D: sink.c: Processing rewind...
D: source.c: Processing rewind...
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes idle.
D: core.c: Hmm, no streams around, trying to vacuum.
I: sink-input.c: Freeing input 2 "/usr/share/sounds/alsa/Front_Center.wav"
I: client.c: Freed 3 "paplay"
I: protocol-native.c: Connection died.
I: client.c: Created 4 "Native client (UNIX socket client)"
D: protocol-native.c: Protocol version: remote 15, local 15
I: protocol-native.c: Got credentials: uid=500 gid=500 success=1
D: protocol-native.c: SHM possible: yes
D: protocol-native.c: Negotiated SHM: yes
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes busy.
W: resampler.c: Support for resampler 'src-linear' not compiled in, reverting to 'auto'.
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=2, prebuf=0, minreq=1 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=2, prebuf=0, minreq=2 maxrewind=0
I: sink-input.c: Created input 3 "/usr/share/sounds/alsa/Front_Center.wav" on alsa_output.pci_8086_800_sound_card_0 with sample spec s16le 1ch 48000Hz and channel map mono
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: memblockq.c: memblockq requested: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
I: protocol-native.c: Final latency 349.95 ms = 210.00 ms + 2*20.00 ms + 99.95 ms
D: protocol-native.c: Requesting rewind due to end of underrun.
D: protocol-native.c: Underrun on '/usr/share/sounds/alsa/Front_Center.wav', 0 bytes in queue.
D: alsa-sink.c: Requested to rewind 8816 bytes.
D: alsa-sink.c: Limited to 7052 bytes.
D: alsa-sink.c: before: 3526
D: alsa-sink.c: after: 3526
D: alsa-sink.c: Rewound 7052 bytes.
D: sink.c: Processing rewind...
D: source.c: Processing rewind...
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes idle.
D: core.c: Hmm, no streams around, trying to vacuum.
I: sink-input.c: Freeing input 3 "/usr/share/sounds/alsa/Front_Center.wav"
I: client.c: Freed 4 "paplay"
I: protocol-native.c: Connection died.
I: client.c: Created 5 "Native client (UNIX socket client)"
D: protocol-native.c: Protocol version: remote 15, local 15
I: protocol-native.c: Got credentials: uid=500 gid=500 success=1
D: protocol-native.c: SHM possible: yes
D: protocol-native.c: Negotiated SHM: yes
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_800_sound_card_0 becomes busy.
W: resampler.c: Support for resampler 'src-linear' not compiled in, reverting to 'auto'.
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=2, prebuf=0, minreq=1 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=2, prebuf=0, minreq=2 maxrewind=0
I: sink-input.c: Created input 4 "/usr/share/sounds/alsa/Front_Center.wav" on alsa_output.pci_8086_800_sound_card_0 with sample spec s16le 1ch 48000Hz and channel map mono
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: memblockq.c: memblockq requested: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=24000, base=2, prebuf=22082, minreq=1920 maxrewind=0
I: protocol-native.c: Final latency 349.95 ms = 210.00 ms + 2*20.00 ms + 99.95 ms
D: protocol-native.c: Requesting rewind due to end of underrun.

>If not you should probably be speaking with the Mobin guys.
>
>Col



More information about the pulseaudio-discuss mailing list