[alsa-devel] snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 4.

Takashi Iwai tiwai at suse.de
Sat Jun 27 10:20:54 CEST 2015


At Sat, 27 Jun 2015 17:36:17 +1000,
Adam Nielsen wrote:
> 
> Hi all,
> 
> I'm trying to track down a problem with my media player (xmms2) where
> it has stopped advancing to the next track after reaching the end of
> the song.
> 
> I have the same distro with the same package versions on two slightly
> different computers, and it works fine on one but not the other.  One
> difference between the two is that although both have Intel HD Audio,
> each is provided by a different type of chip.
> 
> I was asked to try pulseaudio to see if the problem persisted there and
> it did, however upon loading the pulseaudio server it told me this:
> 
> E: [alsa-source-ALC892 Analog] alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 4.
> E: [alsa-source-ALC892 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.
> E: [alsa-source-ALC892 Analog] alsa-util.c: snd_pcm_dump():
> E: [alsa-source-ALC892 Analog] alsa-util.c: Direct Snoop PCM
> E: [alsa-source-ALC892 Analog] alsa-util.c: Its setup is:
> E: [alsa-source-ALC892 Analog] alsa-util.c:   stream       : CAPTURE
> E: [alsa-source-ALC892 Analog] alsa-util.c:   access       : MMAP_INTERLEAVED
> E: [alsa-source-ALC892 Analog] alsa-util.c:   format       : S32_LE
> E: [alsa-source-ALC892 Analog] alsa-util.c:   subformat    : STD
> E: [alsa-source-ALC892 Analog] alsa-util.c:   channels     : 2
> E: [alsa-source-ALC892 Analog] alsa-util.c:   rate         : 48000
> E: [alsa-source-ALC892 Analog] alsa-util.c:   exact rate   : 48000 (48000/1)
> E: [alsa-source-ALC892 Analog] alsa-util.c:   msbits       : 32
> E: [alsa-source-ALC892 Analog] alsa-util.c:   buffer_size  : 16384
> E: [alsa-source-ALC892 Analog] alsa-util.c:   period_size  : 1024
> E: [alsa-source-ALC892 Analog] alsa-util.c:   period_time  : 21333
> E: [alsa-source-ALC892 Analog] alsa-util.c:   tstamp_mode  : ENABLE
> E: [alsa-source-ALC892 Analog] alsa-util.c:   period_step  : 1
> E: [alsa-source-ALC892 Analog] alsa-util.c:   avail_min    : 15943
> E: [alsa-source-ALC892 Analog] alsa-util.c:   period_event : 0
> E: [alsa-source-ALC892 Analog] alsa-util.c:   start_threshold  : -1
> E: [alsa-source-ALC892 Analog] alsa-util.c:   stop_threshold   : 4611686018427387904
> E: [alsa-source-ALC892 Analog] alsa-util.c:   silence_threshold: 0
> E: [alsa-source-ALC892 Analog] alsa-util.c:   silence_size : 0
> E: [alsa-source-ALC892 Analog] alsa-util.c:   boundary     : 4611686018427387904
> E: [alsa-source-ALC892 Analog] alsa-util.c: Hardware PCM card 1 'HDA Intel PCH' device 0 subdevice 0
> E: [alsa-source-ALC892 Analog] alsa-util.c: Its setup is:
> E: [alsa-source-ALC892 Analog] alsa-util.c:   stream       : CAPTURE
> E: [alsa-source-ALC892 Analog] alsa-util.c:   access       : MMAP_INTERLEAVED
> E: [alsa-source-ALC892 Analog] alsa-util.c:   format       : S32_LE
> E: [alsa-source-ALC892 Analog] alsa-util.c:   subformat    : STD
> E: [alsa-source-ALC892 Analog] alsa-util.c:   channels     : 2
> E: [alsa-source-ALC892 Analog] alsa-util.c:   rate         : 48000
> E: [alsa-source-ALC892 Analog] alsa-util.c:   exact rate   : 48000 (48000/1)
> E: [alsa-source-ALC892 Analog] alsa-util.c:   msbits       : 32
> E: [alsa-source-ALC892 Analog] alsa-util.c:   buffer_size  : 16384
> E: [alsa-source-ALC892 Analog] alsa-util.c:   period_size  : 1024
> E: [alsa-source-ALC892 Analog] alsa-util.c:   period_time  : 21333
> E: [alsa-source-ALC892 Analog] alsa-util.c:   tstamp_mode  : ENABLE
> E: [alsa-source-ALC892 Analog] alsa-util.c:   period_step  : 1
> E: [alsa-source-ALC892 Analog] alsa-util.c:   avail_min    : 1024
> E: [alsa-source-ALC892 Analog] alsa-util.c:   period_event : 0
> E: [alsa-source-ALC892 Analog] alsa-util.c:   start_threshold  : 1
> E: [alsa-source-ALC892 Analog] alsa-util.c:   stop_threshold   : 4611686018427387904
> E: [alsa-source-ALC892 Analog] alsa-util.c:   silence_threshold: 0
> E: [alsa-source-ALC892 Analog] alsa-util.c:   silence_size : 0
> E: [alsa-source-ALC892 Analog] alsa-util.c:   boundary     : 4611686018427387904
> E: [alsa-source-ALC892 Analog] alsa-util.c:   appl_ptr     : 0
> E: [alsa-source-ALC892 Analog] alsa-util.c:   hw_ptr       : 8236
> 
> So I am reporting this in the hope that someone understands what the
> problem is and knows how to fix it.

Try the latest alsa-lib git.  This should have been already fixed.


thanks,

Takashi


More information about the Alsa-devel mailing list