From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 26 04:20:33 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org 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 142C016A41F for ; Sat, 26 Nov 2005 04:20:33 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D71143D5A for ; Sat, 26 Nov 2005 04:20:29 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 1C8696CC23; Sat, 26 Nov 2005 12:24:03 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 77495-10; Sat, 26 Nov 2005 12:24:01 +0800 (MYT) Received: from osaka (osaka.MyBSD.org.my [IPv6:2001:328:2002:aa2:2c0:9fff:fed2:b55]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 3D1766CC22; Sat, 26 Nov 2005 12:24:00 +0800 (MYT) Date: Sat, 26 Nov 2005 12:20:20 +0800 From: Ariff Abdullah To: pyunyh@gmail.com Message-Id: <20051126122020.5b15de14.skywizard@MyBSD.org.my> In-Reply-To: <20051126034958.GB22479@rndsoft.co.kr> References: <20051124215447.GA790@trimind.de> <20051125131548.sx9hpr45dvoc0gss@netchild.homeip.net> <20051125153348.GA6748@trimind.de> <20051125235318.06250835.skywizard@MyBSD.org.my> <20051126034958.GB22479@rndsoft.co.kr> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: Sound card recommendations? 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: Sat, 26 Nov 2005 04:20:33 -0000 On Sat, 26 Nov 2005 12:49:58 +0900 Pyun YongHyeon wrote: > > In the days of FreeBSD 2.2.x, I also used AWE64 with sound font. It > was well made card and I'm satisfied with its quality of sound. Now > I had to use SB Live due to lack of ISA slots and I lost > bass/treble/MIDI support and suffered from stuttering issues. :-( > > Since I noticed some audio cards does not show stuttering issue(even > with Giant lock and without PREEMTION option), I guess the real > issue is in driver itself. ATM it seems that increasing pcm > buffersize is the only way to remedy the issue. As you know, it has > side effect of lagging audio playback and DMA memory extravagance. > I'm really like to make emu10k1(4) to use its hardware MMU. This > would be the prerequisite condition to support sound font. However > due to lack of documentation, it's not easy to add this capability, > I think. > Another technique to eliminate stuttering issue without increasing buffersize is to increase DMA block count, at the cost of increasing interrupt rate. Unfortunately, most driver does not adhere with this property changes an assume static block allocation early during device attach and DMA segment allocation. This can be changed in future. > > > Without lapsing into an audiophile discussion, the Live > > > card sounds just ?flat? in comparison to the AWE64 with > > > properly adjusted bass and treble mixers. > > > > > This is a known deficiency of sblive especially among > > audiophiles. Its internal sample rate converter (convertor?) and > > the behaviour of sampling everything out as 48k are pretty much > > unsatisfactory. > > > > Now, if you're talking about crackling or stuttering sound, you > > should give those patchsets a try. If you think something had to > > be done about the pci latency timer, you can use pciconf(8) to > > adjust/increase its value or perhaps using this wrapper: > > http://people.freebsd.org/~ariff/utils/pcilattimer > > .. since pci latency_timer is available only for snd_es137x. > > > > Probably not, as maestro(4) also provides R/W access to PCI latency > timer in PCI configuration space. I guess all sane PCI interface > hardwares provides R/W access to the register. It seems that cheap > PCI audio hardware are exception. > I was talking about sysctl hw.snd.pcm."latency_timer", which is currently specific only for snd_es137x. Few motherboards indeed have option to tune general PCI latency timer settings, or if not, use pciconf(8). -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)