From owner-freebsd-current@FreeBSD.ORG Mon May 16 16:04:56 2005 Return-Path: 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 9726516A4CE; Mon, 16 May 2005 16:04:56 +0000 (GMT) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67CF143DA8; Mon, 16 May 2005 16:04:55 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) (8.13.4/8.13.3) with ESMTP id j4GG4pOP066359 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 16 May 2005 18:04:51 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.4/8.13.3/Submit) id j4GG4pg8066358; Mon, 16 May 2005 18:04:51 +0200 (CEST) Date: Mon, 16 May 2005 18:04:51 +0200 From: Divacky Roman To: Ariff Abdullah Message-ID: <20050516160451.GA66176@stud.fit.vutbr.cz> References: <4286AB34.6050101@elischer.org> <42871944.4030506@elischer.org> <20050515163535.GB59332@stud.fit.vutbr.cz> <20050515121406.mawapm16gwkcs4gc@mail.encontacto.net> <1116182140.19799.9.camel@hood.oook.cz> <20050515215140.539d804f@it.buh.cameradicommercio.ro> <1116183590.19799.12.camel@hood.oook.cz> <20050515221522.2361523c@it.buh.cameradicommercio.ro> <20050516225039.01def6b0.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050516225039.01def6b0.skywizard@MyBSD.org.my> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.49 on 147.229.10.14 cc: Ion-Mihai Tetcu cc: freebsd-current@freebsd.org cc: pav@freebsd.org Subject: Re: skype on current/5.x and maestro-2E sound X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 16 May 2005 16:04:56 -0000 On Mon, May 16, 2005 at 10:50:39PM +0800, Ariff Abdullah wrote: > On Sun, 15 May 2005 22:15:22 +0300 > Ion-Mihai Tetcu wrote: > > On Sun, 15 May 2005 20:59:50 +0200 > > Pav Lucistnik wrote: > > > > > Ion-Mihai Tetcu pí¨e v ne 15. 05. 2005 v 21:51 +0300: > > > > On Sun, 15 May 2005 20:35:40 +0200 > > > > Pav Lucistnik wrote: > > > > > > > > > Edwin L. Culp pí?e v ne 15. 05. 2005 v 12:14 -0500: > > > > > > Quoting Divacky Roman : > > > > > > > > > > > > > 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 have exactly the same problem (broken sound) > > > > > > > pcm0: at io 0xe800 irq 12 kld snd_via8233 > > > > > > > (5p/1r/0v channels duplex default) > > > > > > > > > > > > I had this on all my AMD/Athlon boards with the via sound > > > > > > chipset. I found a reference to the problem, no solution, > > > > > > on one of the Skype BB's. I finally just disabled the > > > > > > onboard sound and added cheap available sound cards and > > > > > > they all have worked great. I've tried to get the via > > > > > > sound to work a couple of times after that, without success. > > > > > > > > > > Same story, different solution. With Open Sound drivers from > > > > > www.opensound.com Skype works correctly. > > > > > > > > Is this with via8235/8237 on -STABLE ? > > > > > > pcm0: port 0xb400-0xb4ff irq 22 at device 17.5 on > > > pci0 pcm0: > > > > > > Both RELENG_5/i386 and RELENG_5/amd64 (different boards, same > > > chip) > > > > > > Yup, I got one of this. > > > > > > Can you guys with snd_via8233 driver try these patches? > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/via8233.c.diff > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/vchan.c.diff > > set your hw.snd.maxautovchans or hw.snd.pcm0.vchans appropriately, add > hint.pcm.0.via_dxs_disabled="1" into your /boot/device.hints and > possibly with option PREEMPTION in kernel. I tried this patch and with: sysctl hw.snd.maxautovchans=1 sysctl hw.snd.pcm0.vchans=1 it works! so vchans seems to be the culprit... also one has to disable hint.pcm.0.via_dxs_disabled="1" from my pov its an improvement! but why is vchans making such big regression? shouldnt be via_dsx_disabled set on default on rev=0x78 (rev I use)? thnx, what other info/help can I provide? roman