From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 21 23:07:51 2006 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A2C316A6F3 for ; Thu, 21 Dec 2006 23:07:51 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0AC13C463 for ; Thu, 21 Dec 2006 23:07:49 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so2419899uge for ; Thu, 21 Dec 2006 15:07:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Kg23nSumCLYrErLxYjQco0xVHp8MbFuKlBlcCi52UxZCFnX7kkngHerri2Q/lkHJPTl5JwALqvzqN/ylJMVsWMHPMw8upODVlFp5R2yLfmdp5+8MO7ayzMEq0NpzRh9I1cFrILWTtWUGj1J7b2EF1YO9gfF9gtFWf1c0t265ftU= Received: by 10.78.204.7 with SMTP id b7mr863260hug.1166740963301; Thu, 21 Dec 2006 14:42:43 -0800 (PST) Received: by 10.78.167.16 with HTTP; Thu, 21 Dec 2006 14:42:43 -0800 (PST) Message-ID: Date: Fri, 22 Dec 2006 01:42:43 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Ariff Abdullah" In-Reply-To: <20061220011231.4ae3ca6b.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061212010805.3b1b3dff.ariff@FreeBSD.org> <20061212033104.051a7d0f.ariff@FreeBSD.org> <20061220011231.4ae3ca6b.ariff@FreeBSD.org> X-Google-Sender-Auth: 18f87b4e784c57e3 Cc: multimedia@freebsd.org Subject: Re: snd_hda: loud distorted sound with NVidia MCP51 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Dec 2006 23:07:51 -0000 On 12/19/06, Ariff Abdullah wrote: > On Mon, 18 Dec 2006 23:57:00 +0300 > "Andrew Pantyukhin" wrote: > > On 12/18/06, Hiroharu Tamaru wrote: > > > This is already commited. So look for this line > > > if (subvendor == 0x81cb1043) { > > > and replace it with > > > if (subvendor == 0x81cb1043 || subvendor == > > > 0x10b81734) { > > > and have a try. > > > > This actually works very well! Thank you very much! > > Fix committed I confirm that -current works great. Thank you! > > Ariff, I'll provide additional testing as needed. > > > > Also there's another problem, independent of the > > patch. Sometimes the card starts playing, but > > just as about half a second passes the output > > stops (mpg123 exits) and kernel says this: > > > > pcm0:virtual:0:dsp0.v0: play interrupt timeout, channel dead > > Could you try this patch (attached). snd_hda supports polling mode > instead of interrupt, so you might give it a try as well, _after_ > the given patch failed to address this issue. sysctl > dev.pcm.0.polling. I'm still trying to find a way to reproduce it. I could hardly do it a couple of times since the first one. When I'm sure I can cause it, I'll try the fix and tell you. Thanks!