From owner-freebsd-current@FreeBSD.ORG Thu Dec 18 14:09:40 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A0AD16A4CE for ; Thu, 18 Dec 2003 14:09:40 -0800 (PST) Received: from opiate.soulwax.net (CPE0010a702d464-CM000039ae486b.cpe.net.cable.rogers.com [63.139.24.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 969CD43D41 for ; Thu, 18 Dec 2003 14:09:38 -0800 (PST) (envelope-from chopra@opiate.soulwax.net) Received: by opiate.soulwax.net (Postfix, from userid 1001) id C5618405E; Thu, 18 Dec 2003 17:09:41 -0500 (EST) Date: Thu, 18 Dec 2003 17:09:41 -0500 From: Munish Chopra To: freebsd-current@freebsd.org Message-ID: <20031218220941.GC4255@opiate.soulwax.net> Mail-Followup-To: freebsd-current@freebsd.org References: <20031212165822.GC48271@opiate.soulwax.net> <20031212190956.GA83087@opiate.soulwax.net> <20031217224800.GB41308@xor.obsecurity.org> <20031218031512.GA628@opiate.soulwax.net> <20031218034220.GA2107@opiate.soulwax.net> <20031218035143.GB2107@opiate.soulwax.net> <20031218044752.GF85297@cnd.mcgill.ca> <20031218051221.GC2107@opiate.soulwax.net> <3FE21E99.1010803@bis.midco.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FE21E99.1010803@bis.midco.net> Subject: Re: audio lag in 5.2-Beta (card emu10k1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2003 22:09:40 -0000 On 2003-12-18 15:39 +0000, Peter Schultz wrote: > Munish Chopra wrote: > >On 2003-12-17 23:47 +0000, Mathew Kanner wrote: > > > >>On Dec 17, Munish Chopra wrote: > >> > >>>Embarrassingly enough another reply to myself, but I didn't think I'd > >>>find it this quickly. Reverting to revision 1.88 of channel.c fixed > >>>things right up (also 1.20 of buffer.c and 1.7 of buffer.h). No more > >>>lag. > >>> > >>>Revision 1.89 of channel.c attempted to make really short sounds > >>>actually play. Looks like buffer issues. > >> > >> Munish, > >> Does this only fix the amount of time it takes to seek in > >>mplayer or xmms, or to start a track? > >> --Mat > > > > > >Yes, reverting fixes seek/startup time. > > > >If you're concerned about the popping noises, I switched soundcards to > >an old SB PCI128 I had lying around (some form of Ensoniq chipset), and > >I don't seem to have them anymore. I had several identical SB16's > >around, every single one of them had clearly audible popping > >noises. > > > >Your patch in kern/59208 *did* seem to lessen the popping noises on the > >SB16 cards significantly, though it didn't remove them completely. > > > > Is there anything more one can do to help narrow this problem down? > I've never tried profiling before, would it be helpful in this situation? > I'm not sure. After approximately a full day I noticed a few popping noises even with the new soundcard, but they're very rare in comparison to before. I'm going to apply the patch in kern/59208 while running with revision 1.88 of channel.c for a day or two and see if that doesn't somehow fix the popping. -- Munish Chopra