Bug 46350

Summary: Unable to recovery from massive underrun flood
Product: PulseAudio Reporter: Arun Raghavan <arun>
Component: alsaAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: astrand, lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Arun Raghavan 2012-02-20 07:58:20 UTC
Currently, after a massive flood of underruns (crazy amounts of system load, for example), PA can get into a state where playback remains choppy even after the cause of the underruns has gone away. The only way this gets "fixed" is if we give PA time to suspend (i.e. close) the ALSA device and reopen it.
Comment 1 Tomas Frydrych 2012-12-13 17:22:19 UTC
I think I am seeing this same problem since we updated PA in Guacamayo from 1.2 to 2.1. Playing a video, fairly regularly the sound just cuts out; when it happens, I see the following in the syslog:

  Dec 13 16:35:34 atom-pc user.debug pulseaudio[1057]: [alsa-sink] protocol-native.c: Underrun on ''Sintel Trailer' by 'Durian Open Movie Team'', 0 bytes in queue.
  Dec 13 16:35:35 atom-pc user.debug pulseaudio[1057]: [alsa-sink] ratelimit.c: 99 events suppressed
  Dec 13 16:35:35 atom-pc user.debug pulseaudio[1057]: [alsa-sink] flist.c: pulsecore/memblockq.c: list_items flist is full (don't worry)

With the last message repeating again and again. I am not clear on the cause of the under runs, but it's not load CPU related. If I restart the playback from the beginning, the sound is working again.
Comment 2 Tomas Frydrych 2012-12-21 15:59:16 UTC
PA 3.0 also suffers from this issue, which makes is unusable on any media appliance.
Comment 3 GitLab Migration User 2018-07-30 10:04:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/198.

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.