From owner-freebsd-multimedia@FreeBSD.ORG Fri Dec 22 21:53:56 2006 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id F264716A47B; Fri, 22 Dec 2006 21:53:54 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Sat, 23 Dec 2006 05:53:35 +0800 From: Ariff Abdullah To: "Andrew Pantyukhin" Message-Id: <20061223055335.10cb72d9.ariff@FreeBSD.org> In-Reply-To: References: <20061212010805.3b1b3dff.ariff@FreeBSD.org> <20061212033104.051a7d0f.ariff@FreeBSD.org> <20061220011231.4ae3ca6b.ariff@FreeBSD.org> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sat__23_Dec_2006_05_53_35_+0800_fE3KZLCfGvE13bfo" 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: Fri, 22 Dec 2006 21:53:56 -0000 --Signature=_Sat__23_Dec_2006_05_53_35_+0800_fE3KZLCfGvE13bfo Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 22 Dec 2006 23:54:30 +0300 "Andrew Pantyukhin" wrote: > On 12/22/06, Andrew Pantyukhin wrote: > > On 12/19/06, Ariff Abdullah wrote: [....] > > > 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. >=20 > So. I applied the patch and the error disappeared. But, > it feels like some glitch is still there. In the rare > situations when I would expect the error - when the > laptop has just booted and I have just kldloaded > snd_hda - instead of an error I get a 2-10 sec delay > when I start mpg123 before I hear any output. The > output starts from the beginning, i.e. nothing is lost, > there's just a delay. >=20 > A delay is much better than an error, as mpg123 does > not exit. Thanks! I'm ready to do further testing. >=20 How about polling mode? How about loading the module early through loader.conf? -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Sat__23_Dec_2006_05_53_35_+0800_fE3KZLCfGvE13bfo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFjFPnlr+deMUwTNoRAnWSAKCg1GGNiqNvrQd/q7qhZNAvgNVUlQCfZLWN c0j3H7sXQLjD/IFgsGqAD9E= =t0CF -----END PGP SIGNATURE----- --Signature=_Sat__23_Dec_2006_05_53_35_+0800_fE3KZLCfGvE13bfo--