From: Takashi Iwai Subject: Re: [snd_ali5451] snd_ali5451 0000:00:06.0: BUG: , pos = 16384, buffer size = 16384, period size = 1024 Date: Mon, 25 Apr 2016 16:54:34 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id CBB092625FE for ; Mon, 25 Apr 2016 16:54:34 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Enrico Mioso Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Mon, 25 Apr 2016 16:50:09 +0200, Enrico Mioso wrote: > > Thank you a lot Takashi. > > there are two problems: > 1 - The warning doesn't manifest always: in some cases (instances of mplayer?) this warning manifests itself from time to time, some minutes. Yes, this is likely some XRUN by either hardware boundary condition or a system load. > 2 - I think the audio stops a little bit (less of a second I think), then things go ahead. Still I don't think any message is printed by alsa libraries. > I don't know if this per se indicates there is no overrun, but still my sensation is this. > But this system isn't exactly "extremely fast": so the audio might stop even for other reasons. I'll recompile the kernel to apply this patch and let you know. > The timing will be slow, but I will try. My patch won't improve in this regard, I'm afraid. The PCM core already corrects to the position 0 if such an invalid position is detected, and the patch would do it just implicitly. But, it's still interesting to see whether it has any impact on such behavior. Takashi