From owner-freebsd-multimedia@FreeBSD.ORG Thu May 11 22:22:39 2006 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 C7D6516A408 for ; Thu, 11 May 2006 22:22:39 +0000 (UTC) (envelope-from dylan@dylex.net) Received: from datura.dylex.net (datura.dylex.net [64.81.81.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 576B843D49 for ; Thu, 11 May 2006 22:22:39 +0000 (GMT) (envelope-from dylan@dylex.net) Received: from dylan by datura.dylex.net with local (Exim 4.61) (envelope-from ) id 1FeJYM-00015C-S7 for freebsd-multimedia@freebsd.org; Thu, 11 May 2006 15:22:38 -0700 Date: Thu, 11 May 2006 15:22:38 -0700 From: Dylan Alex Simon To: freebsd-multimedia@freebsd.org Message-ID: <20060511222238.GA4133@datura.dylex.net> References: <200605101601.40457.doconnor@gsoft.com.au> <20060510091107.ihklfr948ock04gc@netchild.homeip.net> <200605101937.45885.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605101937.45885.doconnor@gsoft.com.au> Subject: Re: snd_ich garbled audio 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: Thu, 11 May 2006 22:22:40 -0000 > > > It is not totally garbled and doesn't happen all the time but it is > > > almost like the endianess is wrong, or something similar as it only > > > affects loud-ish sounds.. > > > > Please reduce your mixer settings. If the problem vanishes, too high > > The mixer settings are quite low usually (pcm & vol/ogain) I'm having the same kind of problem which started after upgrading from 6.0 to 6.1-RELEASE. This is with an application using ports/libao-0.8.5_2 direct through /dev/dsp0.0 for output, but a little testing with ossdsp output show similar issues. It's not significant distortion but there's clearly little garbled skips. It seems to happen more when the system's under load. If I play a simple pure tone with no load, the most reproducible issue is a little skip (like a few hundred blank samples) every 30 seconds. :-Dylan pcm0@pci0:31:5: class=0x040100 card=0x80b01043 chip=0x24d58086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller' class = multimedia subclass = audio pcm0: port 0xe800-0xe8ff,0xef00-0xef3f mem 0xfe77bc00-0xfe77bdff,0xfe77b800-0xfe77b8ff irq 17 at device 31.5 on pci0 pcm0: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xfe77bc00, 0xfe77b800 irq 17 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default) [pcm0:play:0:dsp0.0]: spd 44100, fmt 0x10000010, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:8192/4096/2|bs:131072/4096/32] {userland} -> feeder_root(0x10000010) -> {hardware} [pcm0:record:0:dsp0.1]: spd 8000, fmt 0x00000008/0x10000010, flags 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 1024, sfree 131072 [b:1024/512/2|bs:131072/128/1024] {hardware} -> feeder_root(0x10000010) -> feeder_16leto8(0x10000010 -> 0x10000040) -> feeder_stereotomono8(0x10000040 -> 0x00000040) -> feeder_sign8(0x00000040 -> 0x00000008) -> {userland} hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.verbose: 2 hw.snd.maxautovchans: 0 hw.snd.unit: 0 hw.snd.pcm0.buffersize: 16384 hw.snd.pcm0.vchans: 0 hw.snd.pcm0.ac97rate: 48000 Mixer vol is currently set to 0:0 Mixer pcm is currently set to 75:75 Mixer line is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer cd is currently set to 0:0 Mixer rec is currently set to 0:0 Mixer igain is currently set to 0:0 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 0:0 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Recording source: mic