Date: Fri, 22 Dec 2006 01:42:43 +0300 From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org> To: "Ariff Abdullah" <ariff@freebsd.org> Cc: multimedia@freebsd.org Subject: Re: snd_hda: loud distorted sound with NVidia MCP51 Message-ID: <cb5206420612211442u6eb7231ekf887e8d43e523ab6@mail.gmail.com> In-Reply-To: <20061220011231.4ae3ca6b.ariff@FreeBSD.org> References: <sa6mz612cxq.wl%tamaru@myn.rcast.u-tokyo.ac.jp> <sa6psawadmy.wl%tamaru@myn.rcast.u-tokyo.ac.jp> <sa6zm9umnrh.wl%tamaru@myn.rcast.u-tokyo.ac.jp> <20061212010805.3b1b3dff.ariff@FreeBSD.org> <sa6d56qjp8n.wl%tamaru@myn.rcast.u-tokyo.ac.jp> <20061212033104.051a7d0f.ariff@FreeBSD.org> <cb5206420612181050s71681a59tfc9d7a8b66d7d74a@mail.gmail.com> <sa6vek9uhvx.wl%tamaru@myn.rcast.u-tokyo.ac.jp> <cb5206420612181257q60e22da0w922b22bf2d8a074a@mail.gmail.com> <20061220011231.4ae3ca6b.ariff@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/19/06, Ariff Abdullah <ariff@freebsd.org> wrote: > On Mon, 18 Dec 2006 23:57:00 +0300 > "Andrew Pantyukhin" <infofarmer@FreeBSD.org> wrote: > > On 12/18/06, Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp> 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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420612211442u6eb7231ekf887e8d43e523ab6>