From owner-freebsd-current@FreeBSD.ORG Mon May 16 19:53:46 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 62C9316A4CE; Mon, 16 May 2005 19:53:46 +0000 (GMT) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A0AB43D41; Mon, 16 May 2005 19:53:45 +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 7DACB6CC8E; Tue, 17 May 2005 03:56:24 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 34763-02; Tue, 17 May 2005 03:56:23 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.48.108.185]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id CD8BD6CC22; Tue, 17 May 2005 03:56:17 +0800 (MYT) Date: Tue, 17 May 2005 03:54:01 +0800 From: Ariff Abdullah To: pav@FreeBSD.org Message-Id: <20050517035401.36f8b787.skywizard@MyBSD.org.my> In-Reply-To: <1116272004.1404.9.camel@hood.oook.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> <20050516160451.GA66176@stud.fit.vutbr.cz> <20050517032423.5512bfad.skywizard@MyBSD.org.my> <1116272004.1404.9.camel@hood.oook.cz> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY cc: itetcu@people.tecnik93.com cc: xdivac02@stud.fit.vutbr.cz cc: freebsd-current@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 19:53:46 -0000 On Mon, 16 May 2005 21:33:24 +0200 Pav Lucistnik wrote: > Ariff Abdullah p=ED=B9e v =FAt 17. 05. 2005 v 03:24 +0800: > > On Mon, 16 May 2005 18:04:51 +0200 > > Divacky Roman wrote: > > > 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: > > > > >=20 > > > > > > Ion-Mihai Tetcu p=ED=A8e v ne 15. 05. 2005 v 21:51 +0300: > > > > > > > On Sun, 15 May 2005 20:35:40 +0200 > > > > > > > Pav Lucistnik wrote: > > > > > > >=20 > > > > > > > > Edwin L. Culp p=ED?e v ne 15. 05. 2005 v 12:14 -0500: > > > > > > > > > Quoting Divacky Roman : > > > > > > > > >=20 > > > > > > > > > > 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) > > > > > > > > >=20 > > > > > > > > > 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=20 > > > > > > > > > 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. > > > > > > > >=20 > > > > > > > > Same story, different solution. With Open Sound > > > > > > > > drivers from www.opensound.com Skype works correctly. > > > > > > >=20 > > > > > > > Is this with via8235/8237 on -STABLE ? > > > > > >=20 > > > > > > pcm0: port 0xb400-0xb4ff irq 22 at device > > > > > > 17.5 on pci0 pcm0: > > > > > >=20 > > > > > > Both RELENG_5/i386 and RELENG_5/amd64 (different boards, > > > > > > same chip) > > > > >=20 > > > > >=20 > > > > > Yup, I got one of this. > > > > >=20 > > > > > > > > > =20 > > > > Can you guys with snd_via8233 driver try these patches? > > > >=20 > > > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/via8233.c.diff > > > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/vchan.c.diff > > > >=20 > > > > set your hw.snd.maxautovchans or hw.snd.pcm0.vchans > > > > appropriately, add hint.pcm.0.via_dxs_disabled=3D"1" into your > > > > /boot/device.hints and possibly with option PREEMPTION in > > > > kernel. > > >=20 > > > I tried this patch and with: > > > sysctl hw.snd.maxautovchans=3D1 > > > sysctl hw.snd.pcm0.vchans=3D1 > > >=20 > > > it works! so vchans seems to be the culprit... also one has to > > > disable hint.pcm.0.via_dxs_disabled=3D"1" > > >=20 > > > from my pov its an improvement! but why is vchans making such > > > big regression? shouldnt be via_dsx_disabled set on default on > > > rev=3D0x78 (rev I use)? > > >=20 > > > thnx, what other info/help can I provide? > > >=20 > > > roman > >=20 > > Nice to hear that. How about other patches from >=20 > Works nicely with Skype now too... any chance to get the patches > into the tree? What does that dxs_disabled thing really do? Would it > hurt to disable it per default? >=20 VIA DXS (Direct Xcess ?) is the *hardware* way to achive concurrent playback channels. While it seems nice, coupling with current freebsd sound driver is quite problematic, and it's also limited to no more than 4 or 5 playback channels. Using our superior vchans implementation looks better, in this regard. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)