From owner-freebsd-multimedia@FreeBSD.ORG Sun May 13 13:15:44 2007 Return-Path: X-Original-To: freebsd-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 5994516A400; Sun, 13 May 2007 13:15:43 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Sun, 13 May 2007 21:15:12 +0800 From: Ariff Abdullah To: Martin Dieringer Message-Id: <20070513211512.4da57723.ariff@FreeBSD.org> In-Reply-To: <20070513141949.E700@thinkpad.dieringer.dyndns.org> References: <20070502032244.R860@thinkpad.dieringer.dyndns.org> <20070503221048.1061f296.ariff@FreeBSD.org> <20070508182001.U839@thinkpad.dieringer.dyndns.org> <20070509033542.D700@thinkpad.dieringer.dyndns.org> <20070511234912.4df9c1c7.ariff@FreeBSD.org> <20070513141949.E700@thinkpad.dieringer.dyndns.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=_Sun__13_May_2007_21_15_12_+0800_S=arE.GFwV5fNiJF" Cc: freebsd-multimedia@freebsd.org Subject: Re: still audio hiccups 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: Sun, 13 May 2007 13:15:44 -0000 --Signature=_Sun__13_May_2007_21_15_12_+0800_S=arE.GFwV5fNiJF Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 13 May 2007 14:28:25 +0200 (CEST) Martin Dieringer wrote: > On Fri, 11 May 2007, Ariff Abdullah wrote: >=20 > > On Wed, 9 May 2007 03:40:35 +0200 (CEST) > > Martin Dieringer wrote: > >> On Tue, 8 May 2007, Martin Dieringer wrote: > >> > >>> On Thu, 3 May 2007, Ariff Abdullah wrote: > >>> > >>>> On Wed, 2 May 2007 03:40:08 +0200 (CEST) > >>>> Martin Dieringer wrote: > >>>>> > >>>>> > >>>>> I thought it was over when I killed powerd. But now it > >suddenly >>>> makes "hiccup" every few seconds again. > >>>>> This appears on the internal sound card (intel ich4) as well > >as >> the >> USB (m-audio transit) > >>>>> With mpd, xmms, waveplay... > >>>>> No load, processor or disk stress. > >>>>> > >>>>> - Thinkpad T42p > >>>>> - FreeBSD 6.2-STABLE #5: Thu Mar 29 16:23:53 CEST 2007 > >>>>> > >>>> > >>>> Please show the output of pciconf -lv | grep ^pcm > >>>> > >>> > >>> > >>> pcm0@pci0:31:5: class=3D0x040100 card=3D0x05371014 chip=3D0x24c58086 > >>> rev=3D0x01 hdr=3D0x00 > >>> vendor =3D 'Intel Corporation' > >>> device =3D '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 > >Audio >> Controller' > >>> class =3D multimedia > >>> subclass =3D audio > >>> > >>> # cat /dev/sndstat FreeBSD Audio Driver (newpcm) > >>> Installed devices: > >>> pcm0: at io 0xc0000c00, 0xc0000800 irq 11 > >>> bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default) > >>> pcm1: at ? kld snd_uaudio (1p/1r/0v channels duplex) > >>> mode 1:(output) 2ch, 24/24bit, pcm, 48001-96000Hz > >>> mode 3:(output) 2ch, 16/16bit, pcm, 8000-48000Hz > >>> mode 1:(input) 2ch, 24/24bit, pcm, 48001-96000Hz > >>> mode 2:(input) 2ch, 24/24bit, pcm, 8000-48000Hz > >>> mode 3:(input) 2ch, 16/16bit, pcm, 8000-48000Hz > >> > >> I switched to ACPI now (instead of APM), but the hiccups > >remained. > > >> They start after either the system is running for a while (now 6 > >> hours) or music playback of some time (now about 2 hours > >altogether) > and get worse. > >> > >> Shortly after a reboot everything seems ok. > >> > >> When I run "vmstat -w 1" they get worse, but I cannot relate them > >> to any events.. > >> > > > > pcm0 or pcm1, or both? Try enabling vchans, or grab binary modules > > from http://people.freebsd.org/~ariff/BINARY_MODULES/ . Your clock > > issues could be the prime suspect here. >=20 >=20 > setting vchans=3D1 does resampling of 44.1 to 48kHz, which is > unacceptable. >=20 > I use a hacked snd_uaudio driver for the m-audio transit, so I > suspect I cannot use your BINARY_MODULES... >=20 > I have no more clock issues since I moved to ACPI btw. >=20 Well, as I said... __try__ . I still don't know whether your issues is with pcm0 (snd_ich) _or_ pcm1 (snd_uaudio, hacked? What kind of hack?) _or_ _both_ . If you insist on not using (or even _trying_) the binary modules, look for the patchset in the above directory. Disable acpi_throttle (read, "acpi_throttle", nothing to with powerd or est or speedstep) if that matters. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Sun__13_May_2007_21_15_12_+0800_S=arE.GFwV5fNiJF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGRw9glr+deMUwTNoRAjecAKCJ5fXHnEufoV5HwhtG5ImTXZd9jwCg22Cv +E7mHLSmTIPW7C2vrJeHUCg= =t8Pl -----END PGP SIGNATURE----- --Signature=_Sun__13_May_2007_21_15_12_+0800_S=arE.GFwV5fNiJF--