snd_pcm_avail() returned a value that is exceptionally large
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Sometimese sound begins stutter while listen to music or watching youtube. In syslog I see:
Jan 29 16:31:08 bazilio-laptop pulseaudio[2155]: [alsa-sink-ALC271X Analog] alsa-util.c: snd_pcm_avail() returned a value that is exceptionally large: 866944 bytes (4914 ms).
Jan 29 16:31:08 bazilio-laptop pulseaudio[2155]: [alsa-sink-ALC271X Analog] alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
I'm using Kubuntu 13.10
$ uname -a
Linux bazilio-laptop 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ kde4-config --version
Qt: 4.8.4
KDE Development Platform: 4.12.0
kde4-config: 1.0
$ pulseaudio --version
pulseaudio 4.0
$ alsactl --version
alsactl version 1.0.27.1
affects: | alsa-driver (Ubuntu) → pulseaudio (Ubuntu) |
Jan 29 16:31:08 bazilio-laptop pulseaudio[2155]: [alsa-sink-ALC271X Analog] alsa-util.c: start_threshold : -1
Jan 29 16:31:08 bazilio-laptop pulseaudio[2155]: [alsa-sink-ALC271X Analog] alsa-util.c: stop_threshold : 4611686018427387904
Jan 29 16:31:08 bazilio-laptop pulseaudio[2155]: [alsa-sink-ALC271X Analog] alsa-util.c: silence_threshold: 0
Jan 29 16:31:08 bazilio-laptop pulseaudio[2155]: [alsa-sink-ALC271X Analog] alsa-util.c: silence_size : 0
Jan 29 16:31:08 bazilio-laptop pulseaudio[2155]: [alsa-sink-ALC271X Analog] alsa-util.c: appl_ptr : 23472671
Jan 29 16:31:08 bazilio-laptop pulseaudio[2155]: [alsa-sink-ALC271X Analog] alsa-util.c: hw_ptr : 23673023
appl_pre is behind hw_ptr which mean pulseaudio did not send enough data to sound card driver
the driver does not stop or report underrun because pulseaudio set the stop threshold to bounadary instead of buffer size