Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753520Ab0DNGIp (ORCPT ); Wed, 14 Apr 2010 02:08:45 -0400 Received: from cantor.suse.de ([195.135.220.2]:34458 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753336Ab0DNGIn (ORCPT ); Wed, 14 Apr 2010 02:08:43 -0400 Date: Wed, 14 Apr 2010 08:08:42 +0200 Message-ID: From: Takashi Iwai To: =?UTF-8?B?w4lyaWM=?= Piel Cc: Jaroslav Kysela , "Rafael J. Wysocki" , Linux Kernel Mailing List , alsa-devel@alsa-project.org Subject: Re: [REGRESSION bisected] Sound goes too fast due to commit 7b3a177b0 In-Reply-To: <4BC4E812.6050602@tremplin-utc.net> References: <4BC4E812.6050602@tremplin-utc.net> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1137 Lines: 31 At Tue, 13 Apr 2010 23:54:26 +0200, Éric Piel wrote: > > Hello, > > Since 2.6.34-rc*, I have a regression on alsa which prevents the sound > to be played correctly. When playing, the music goes too fast, skipping > some parts. Typically, it's very easy to reproduce by doing: > time mplayer -endpos 30 sound-file-which-lasts-more-than-thirty-sec.mp3 > > If the wall clock is less than 30s, you have the bug. With my intel-hda > (AD1981), it's reliably reproducible: it gives ~27s, instead of the > normal ~31s. > > After bisection, it turns out that it is commit > 7b3a177b0d4f92b3431b8dca777313a07533a710, aka "ALSA: pcm_lib: fix > "something must be really wrong" condition" which caused this > regression. Reverting it on top of 2.6.34-rc3+ fixes the problem. What happens if you pass position_fix=1 option to snd-hda-intel? Is it via PulseAudio or other backend? thanks, Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/