Bug 88637 - 2 seconds lag after application finished playing audio (all apps)
Summary: 2 seconds lag after application finished playing audio (all apps)
Status: RESOLVED INVALID
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-20 20:03 UTC by Dâniel Fraga
Modified: 2015-07-24 23:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Dâniel Fraga 2015-01-20 20:03:41 UTC
I'm using Pulseaudio 5.0 and all applications show a delay of about 2 seconds after the audio finished playing.

I searched for Google and it's exactly like what was reported here:

pa_simple_drain() takes over 2 seconds to complete!
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/660567

What you need to debug this?

Thanks.
Comment 1 Dâniel Fraga 2015-01-23 19:57:45 UTC
Nobody?
Comment 2 Dâniel Fraga 2015-01-31 01:08:51 UTC
Still nobody?
Comment 3 Tanu Kaskinen 2015-02-25 17:18:58 UTC
Hi, thanks for the report. Sorry for the delay, I don't have much time to read bug reports, let alone fix them...

The problem with slow draining has been fixed, so I don't know what the problem in your case might be. Can you reproduce the problem with this command:

    for i in {1..5}; do paplay /usr/share/sounds/alsa/Front_Center.wav; done

On my machine there's no delay between the paplay invocations.
Comment 4 Dâniel Fraga 2015-02-25 18:35:53 UTC
(In reply to Tanu Kaskinen from comment #3)
> Hi, thanks for the report. Sorry for the delay, I don't have much time to
> read bug reports, let alone fix them...
> 
> The problem with slow draining has been fixed, so I don't know what the
> problem in your case might be. Can you reproduce the problem with this
> command:
> 
>     for i in {1..5}; do paplay /usr/share/sounds/alsa/Front_Center.wav; done
> 
> On my machine there's no delay between the paplay invocations.

Hi Tanu, thanks for the answer. I tried the above command and there're a 2 second delay between the paplay invocations.

Do you need more information? Just ask and I will provide. Thanks.

Ps: mplayer or aplay takes longer to exit, about 4 seconds.
Comment 5 Dâniel Fraga 2015-07-24 23:41:44 UTC
I'm changing this to INVALID since the problem was with the Full dynticks in the kernel. There're some problem with the full dyntick code.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.