From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754316AbZGUFsR (ORCPT ); Tue, 21 Jul 2009 01:48:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754198AbZGUFsP (ORCPT ); Tue, 21 Jul 2009 01:48:15 -0400 Received: from cantor2.suse.de ([195.135.220.15]:59765 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753797AbZGUFsP (ORCPT ); Tue, 21 Jul 2009 01:48:15 -0400 Date: Tue, 21 Jul 2009 07:48:14 +0200 Message-ID: From: Takashi Iwai To: Piotr Kaczuba Cc: linux-kernel@vger.kernel.org Subject: Re: [ALSA] emu10k1: hw_ptr skipping when unpausing mplayer In-Reply-To: <20090720185721.GA7540@attika.ath.cx> References: <20090720185721.GA7540@attika.ath.cx> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.3 (x86_64-suse-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Mon, 20 Jul 2009 20:57:21 +0200, Piotr Kaczuba wrote: > > On Mon, Jul 20, 2009 at 08:33:37AM +0200, Takashi Iwai wrote: > > At Sat, 18 Jul 2009 16:07:07 +0000 (UTC), > > Piotr Kaczuba wrote: > > > > > > Since 2.6.30 I'm experiencing sound and video stuttering when unpausing > > > mplayer. The soundcard is an Audigy 1, driver is emu10k1. Kernel is > > > x86_64, userspace is 32-bit. I doesn't happen always, but regularly > > > enough. > > > > To be sure -- isn't it arch-independent? I guess 64bit user-space > > can cause the same problem. > I've tested it and it's the same with 64bit mplayer. OK. > [...] > > The problem is likely due to some wrong operation in the pause/restart. > > Does the patch below work around a problem? > > > > If this works (somehow, not causing the same error), we can focus more > > on the pause implementation of emu10k1. > [...] > > Yes, the patch helps. I've tried half a dozen times and the problem > hasn't reappeared. No messages at all with xrun_debug either. So it > is probably the pause implementation of emu10k1. Thanks. And did you test with the recent 2.6.31-rc* kernel, right? Takashi