From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 8 06:00:14 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11DC716A4CF for ; Thu, 8 Apr 2004 06:00:14 -0700 (PDT) Received: from kayjay.xs4all.nl (kayjay.xs4all.nl [80.126.33.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59C7A43D1D for ; Thu, 8 Apr 2004 06:00:13 -0700 (PDT) (envelope-from karelj@kayjay.xs4all.nl) Received: from kayjay.xs4all.nl (localhost.wop.wtb.tue.nl [127.0.0.1]) by kayjay.xs4all.nl (8.12.11/8.12.11) with ESMTP id i38Cxoxw094760; Thu, 8 Apr 2004 14:59:51 +0200 (CEST) (envelope-from karelj@kayjay.xs4all.nl) Received: (from karelj@localhost) by kayjay.xs4all.nl (8.12.11/8.12.11/Submit) id i38Cxo0r094759; Thu, 8 Apr 2004 14:59:50 +0200 (CEST) (envelope-from karelj) Date: Thu, 8 Apr 2004 14:59:50 +0200 From: "Karel J. Bosschaart" To: Mathew Kanner Message-ID: <20040408125950.GA94744@kayjay.xs4all.nl> References: <20040331171848.GA86712@kayjay.xs4all.nl> <20040331174206.GE6187@cnd.mcgill.ca> <20040401010159.GA87719@kayjay.xs4all.nl> <20040401141639.GF6187@cnd.mcgill.ca> <20040401145806.GA89990@kayjay.xs4all.nl> <20040401150542.GG6187@cnd.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040401150542.GG6187@cnd.mcgill.ca> User-Agent: Mutt/1.4.2.1i cc: freebsd-multimedia@freebsd.org Subject: Re: UT2004 sound problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 13:00:14 -0000 On Thu, Apr 01, 2004 at 10:05:42AM -0500, Mathew Kanner wrote: > On Apr 01, Karel J. Bosschaart wrote: > > > > > > > > Thanks for the quick reply! > > > > > > > > My sound devices: > > > > > > > > pcm0: at io 0xa400 irq 10 (1p/1r/0v channels duplex default) > > > > pcm1: at io 0xa000 irq 9 (1p/1r/0v channels duplex) > > > > > > > > Both sound cards have the same problem. > > > > > > > > > would suggest that you play with enabling, disabling vchans and see if > > > > > > > > I tried > > > > > > > > sysctl hw.snd.pcm0.vchans=4 > > > > sysctl hw.snd.maxautovchans=4 > > > > > > > > but it doesn't help. I'm getting a bunch of extra > > > > > > And setting them to 0? > > > > Isn't that the default value? Anyway, I tried it and the sound is still > > not good. (Only one 'native_blitbuffer: select error occured') > > It's a little weird. The default is > > Sound card with one output channel -> maxautovchans=1 > Sound card with multiple output channels -> maxautovchans=0 > > Can you also experiment with soft mixing, (I'm forgotting what > we actually call it), y'know auto-rate/format conversion. > I guess you mean hw.snd.report_soft_formats ? I tried 0 and 1, for both soundcards but the problems persists. Anyway I decided to give up for now, the trick with reboot/demo works for me. (playing in -current is not an option; sound is OK but framerate too low probably because I can't use the nvidia AGP driver there). Thanks for the help, at least I learned some new things about pcm! Karel.