From: Takashi Iwai Subject: Re: Timer instability Date: Wed, 25 Feb 2009 14:36:23 +0100 Message-ID: References: <20090219024611.GA7930@tango.0pointer.de> <200902251234.37222.clive@vacuumtube.org.uk> 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 D101524430 for ; Wed, 25 Feb 2009 14:36:23 +0100 (CET) In-Reply-To: <200902251234.37222.clive@vacuumtube.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Clive Messer Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 25 Feb 2009 12:34:37 +0000, Clive Messer wrote: > > On Wednesday 25 Feb 2009 10:22:26 Takashi Iwai wrote: > > > Could you check the raw hwptr and applptr values surrounding the error > > time, e.g. with the patch to alsa-lib below? > > If it's really hwsync that makes values unstable, we have to see the > > value skips there... > > Does this help? Log attached. (head -n 100, tail -n 100) Thanks. At least it shows the values in hwsync ioctl are sane. So something wrong in elsewhere. Could you check whether this error happens with sync_ptr_ioctl flag in PCM config? For example, define the below in ~/.asoundrc, pcm.mytest { type hw card 0 sync_ptr_ioctl true } Then run with PCM "mytest". Takashi