From owner-freebsd-multimedia@FreeBSD.ORG Wed May 23 19:37:24 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FAE61065675; Wed, 23 May 2012 19:37:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 821F68FC16; Wed, 23 May 2012 19:37:23 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q4NJbIJK032572; Wed, 23 May 2012 22:37:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q4NJbIi4059247; Wed, 23 May 2012 22:37:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q4NJbIjW059246; Wed, 23 May 2012 22:37:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 23 May 2012 22:37:18 +0300 From: Konstantin Belousov To: Alexander Motin Message-ID: <20120523193718.GF2358@deviant.kiev.zoral.com.ua> References: <20120522220640.GB2358@deviant.kiev.zoral.com.ua> <4FBD2D50.5080205@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+TV/ighyc7Vd8/th" Content-Disposition: inline In-Reply-To: <4FBD2D50.5080205@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: multimedia@freebsd.org Subject: Re: NV10 hdac issue 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: Wed, 23 May 2012 19:37:24 -0000 --+TV/ighyc7Vd8/th Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 23, 2012 at 09:32:48PM +0300, Alexander Motin wrote: > On 05/23/12 01:06, Konstantin Belousov wrote: > >I have (another) Atom motherboard from Intel, DN2800MT. Now, the problem > >is with distorted sound. Anything is played as if some pause is inserted > >after the next sample is finished. So I hear the proper pitch, but with > >guggle between fragments. I am not sure how to describe it better, except > >to say that it sounds as if buffering was not enough, for regular short > >intervals of approx. 0.5 sec. > > > >I do not believe that 1.8Hhz Atoms are too slow to decode mp3 or to play= =20 > >wav. > > > >The hda controller is > >hdac0@pci0:0:27:0: class=3D0x040300 card=3D0x20128086 chip=3D0x27d8= 8086=20 > >rev=3D0x02 hdr=3D0x00 > >codec is Realtek ALC888. The verbose dmesg from hda_snd load is at > >http://people.freebsd.org/~kib/tom.dmesg.txt , assuming this is useful. > > > >I would want to get normal sound from this board, thanks in advance. >=20 > I haven't seen alike reports neither for this controller, nor for this=20 > CODEC. I would try to experiment with: > 1) disabling MSI interrupts with hint.hdac.0.msi=3D0 > 2) switching to polling mode without using any interrupts with=20 > dev.hdac.0.polling=3D1 > 3) changing buffer size with hw.snd.latency > 4) changing playback format (or vchans format it it is used) > 5) setting sysctl hw.snd.verbose=3D2 and checking for application level= =20 > underruns with `cat /dev/sndstat`. Thank you, setting hw.snd.latency to 10 fixed the issue. Still, I do not understand why default settings for the driver are not enough for the machine. --+TV/ighyc7Vd8/th Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk+9PG0ACgkQC3+MBN1Mb4jmfACgkHrSOL6aAQdcza3uIEZawFdf wD4AoIHqUMrHeovuboPCh7+I8HoMHBka =v0K5 -----END PGP SIGNATURE----- --+TV/ighyc7Vd8/th--