From owner-freebsd-current@FreeBSD.ORG Mon May 23 12:44:52 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 E3E4F16A41C for ; Mon, 23 May 2005 12:44:52 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5389143D1D for ; Mon, 23 May 2005 12:44:51 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from [192.168.254.11] (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 97BDB4BF6B; Mon, 23 May 2005 14:42:07 +0200 (CEST) Message-ID: <4291D0CA.9090706@cordula.ws> Date: Mon, 23 May 2005 14:47:06 +0200 From: cpghost User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050428) X-Accept-Language: en-us, en MIME-Version: 1.0 To: yongari@rndsoft.co.kr References: <4286AB34.6050101@elischer.org> <20050515093422.GA18361@fw.farid-hajji.net> <42871944.4030506@elischer.org> <20050516022100.GB1020@rndsoft.co.kr> In-Reply-To: <20050516022100.GB1020@rndsoft.co.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Current , Julian Elischer Subject: Re: skype on current/5.x and maestro-2E sound X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 23 May 2005 12:44:53 -0000 Pyun YongHyeon wrote: >On Sun, May 15, 2005 at 02:41:24AM -0700, Julian Elischer wrote: > > cpghost@cordula.ws wrote: > > >On Sat, May 14, 2005 at 06:51:48PM -0700, Julian Elischer wrote: > > > > > >>Has anyone run skype successfully on these versions (5 or 6) of freeBSD? > > >>I can run it successfully on 4.x but on my 5.x machine the audio is > > >>completely > > >>broken up. like someone is chopping the audio stream. > > > > > > > > >I'm running Skype on 5.4 (via82c686). On an AMD Duron 1200 MHz, the > > >sound quality is all right; on an EPIA 5000 Eden 500 MHz (also via82c686), > > >the sound is totally chopped and it is impossible to follow. > > > > hmm so maybe its the fact that my machine is too slow.. it's also 500MHz > > my 1GHz 4.11 machine seems to run it fine. > > > >I don't think 500MHz is too slow. Check if kernel converters >are active when you play audio samples.(cat /dev/sndstat after >setting hw.snd.verbose=2). > > This is what I get while skype plays the chopped sound of the echo service: epia2# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xdc00 irq 10 kld snd_via82c686 (1p/1r/0v channels duplex default) [pcm0:play:0]: spd 48000, fmt 0x00000010, flags 0x00003030, 0x00000000, pid 78793 interrupts 18062, underruns 4824, ready 3580 {userland} -> feeder_root(0x00000010) -> {hardware} [pcm0:record:0]: spd 48000, fmt 0x00000010, flags 0x00003030, 0x00000000, pid 78793 interrupts 16968, overruns 4808, hfree 512, sfree 3584 {hardware} -> feeder_root(0x00000010) -> {userland} No idea how to interpret this. >Since the driver also needs Giant lock it may suffer from interrupt >latencies with other devices. In addition if it share IRQ with >other devices(e.g. USB) the issue would be noticable. > > None that I know of: epia2# vmstat -i interrupt total rate irq0: clk 30624081 99 irq1: atkbd0 416592 1 irq8: rtc 39199914 128 irq10: pcm0 1210380 3 irq11: vr0 531082 1 irq12: psm0 1354640 4 irq13: npx0 1 0 irq14: ata0 3681643 12 Total 77018333 251 irc10 is not shared by any other likely interrupt source, or so it seems. Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/