From owner-freebsd-stable@FreeBSD.ORG Mon Jul 12 03:19:58 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2501106564A for ; Mon, 12 Jul 2010 03:19:58 +0000 (UTC) (envelope-from A.J.Caines@halplant.com) Received: from triton.bsd-unix.net (triton.bsd-unix.net [209.8.43.226]) by mx1.freebsd.org (Postfix) with ESMTP id C65598FC0C for ; Mon, 12 Jul 2010 03:19:58 +0000 (UTC) Received: from triton.bsd-unix.net (localhost [127.0.0.1]) by triton.bsd-unix.net (Postfix) with ESMTP id E4C119B434 for ; Sun, 11 Jul 2010 23:19:57 -0400 (EDT) X-Virus-Scanned: amavisd-new at bsd-unix.net Received: from triton.bsd-unix.net ([127.0.0.1]) by triton.bsd-unix.net (triton.bsd-unix.net.bsd-unix.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 84FYl39eOGyS for ; Sun, 11 Jul 2010 23:19:57 -0400 (EDT) Received: from hal10000.halplant.com (ip68-105-188-179.dc.dc.cox.net [68.105.188.179]) (Authenticated sender: ajc) by triton.bsd-unix.net (Postfix) with ESMTPSA id B69C69B425 for ; Sun, 11 Jul 2010 23:19:57 -0400 (EDT) Message-ID: <4C3A8A2A.3030609@halplant.com> Date: Sun, 11 Jul 2010 23:21:14 -0400 From: "Andrew J. Caines" Organization: H.A.L. Plant User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100706 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: More buzzing fun with snd_emu10kx - but now with more determinism! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2010 03:19:59 -0000 On 07/11/2010 17:03, Garrett Cooper wrote: > The problem appears to be with vchan-related code. If I start up 4+ > applications on my machine that access the audio device, all goes > wonky on the 4+ allocation I can confirm this behaviour, which seems odd with hw.snd.maxautovchans defaulting to 16. It does not appear to be affected by increasing dev.pcm.0.play.vchans up fron the default of 2 (as I apparently did at some point up to 7.x), though reading sound(4) it's clear I don't fully understand vchans. A problem I encountered with snd_emu10kx in a clean 8.1RC2 install which was not present in any previous version is a faint rapid mechanical clicking sound adjustable with the "cd" mixer setting. The only non-default audio setting I have is in loader.conf: hint.emu10kx.0.multichannel_disabled="1" hint.emu10kx.1.disabled="1" pcm0: on emu10kx0 pcm0: pcm0: Codec features 5 bit master volume, no 3D Stereo Enhancement FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: on emu10kx0 (4p:2v/1r:1v) default snddev flags=0x2e2 [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004 interrupts 726, underruns 0, feed 5, ready 0 [b:4096/2048/2|bs:4096/2048/2] channel flags=0x2100 ... -- -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com FreeBSD/Linux/Solaris, Web/Mail/Proxy/... http://halplant.com:2001/ "Machines take me by surprise with great frequency" - Alan Turing