From owner-freebsd-multimedia@FreeBSD.ORG Wed Nov 7 04:03:45 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from misaki (localhost [IPv6:::1]) by hub.freebsd.org (Postfix) with SMTP id 20C0016A417; Wed, 7 Nov 2007 04:03:41 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Wed, 7 Nov 2007 12:02:55 +0800 From: Ariff Abdullah To: Thomas Donnelly Message-Id: <20071107120255.37093111.ariff@FreeBSD.org> In-Reply-To: <473130B9.8070409@aol.com> References: <4730022B.6090109@aol.com> <20071106185327.2afdec15@meijome.net> <473130B9.8070409@aol.com> 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=_Wed__7_Nov_2007_12_02_55_+0800_Htb.D9ebjsQMPM44" Cc: freebsd-multimedia@freebsd.org Subject: Re: snd_hda extremely choppy on 7-beta2 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, 07 Nov 2007 04:03:45 -0000 --Signature=_Wed__7_Nov_2007_12_02_55_+0800_Htb.D9ebjsQMPM44 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 06 Nov 2007 21:27:53 -0600 Thomas Donnelly wrote: > Norberto Meijome wrote: > > On Mon, 05 Nov 2007 23:56:59 -0600 > > Thomas Donnelly wrote: > > > > =20 > >> I recently installed 7.0 and cvsupd to 7.0-beta2 right away. > >> I have snd_hda set to load in via /boot/loader.conf > >> Whenever ANY sound plays, be it KDE sounds, noatun, amarok, etc. > >it is > VERY choppy, not start and stop, but skipping chunks. (IE > >song would be > ABCDEFGHIJ, plays ABEGJ) > >> Something misconfigured? I tried setting buffer to maximum and > >realtime > priority via control center in kde. > >> =20 >=20 > My information: > =20 > Barracuda# cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) > Installed devices: > pcm0: 0xfebfc000 irq 19 kld snd_hda [20071020_0048] [MPSAFE] (1p:3v/1r:1v=20 > channels duplex default) >=20 >=20 > Barracuda# sysctl hw.snd > hw.snd.latency_profile: 1 > hw.snd.latency: 5 > hw.snd.report_soft_formats: 1 > hw.snd.compat_linux_mmap: 0 > hw.snd.feeder_buffersize: 16384 > hw.snd.feeder_rate_round: 25 > hw.snd.feeder_rate_max: 2016000 > hw.snd.feeder_rate_min: 1 > hw.snd.verbose: 1 > hw.snd.maxautovchans: 16 > hw.snd.default_unit: 0 > hw.snd.version: 2007061600/i386 > hw.snd.default_auto: 0 >=20 > This is not affected by CPU load, if it is nearly idle, or full > load, still skips. >=20 1) Try using smaller or bigger DMA buffer size. Set hint.pcm.0.buffersize to something like 4096 or 32768 (start with smaller value). Refer to kenv(8) or device.hints(5) or loader.conf(5) 2) Experiment with other multimedia (mplayer, madplay, mpg123, etc) players that has _nothing_ to do with artsd (KDE soundserver) or esound. 3) Try FreeBSD 6.x . No comment. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Wed__7_Nov_2007_12_02_55_+0800_Htb.D9ebjsQMPM44 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHMTjvlr+deMUwTNoRAkKlAKCmhP6lDuR2oPYxKtFgavy4aOJqxQCg3A3D hixSe9zliDrB2aBFYCagQN0= =rkEu -----END PGP SIGNATURE----- --Signature=_Wed__7_Nov_2007_12_02_55_+0800_Htb.D9ebjsQMPM44--