Date: Sun, 18 Sep 2005 00:59:43 +0800 From: Ariff Abdullah <skywizard@MyBSD.org.my> To: "Mike S." <perlfu@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: Vchan/Sound/patch hard locks... Message-ID: <20050918005943.5dd098e6.skywizard@MyBSD.org.my> In-Reply-To: <20050917110545.0d1935ab.perlfu@gmail.com> References: <20050914170228.328c571e.perlfu@gmail.com> <20050915150051.7d31bd99.perlfu@gmail.com> <200509152331.24060.lofi@freebsd.org> <200509160109.30482.lofi@freebsd.org> <20050916073134.38ed20b1.skywizard@MyBSD.org.my> <20050916234218.12c427d5.perlfu@gmail.com> <20050917162025.143954a6.skywizard@MyBSD.org.my> <20050917110545.0d1935ab.perlfu@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 17 Sep 2005 11:05:45 -0500 "Mike S." <perlfu@gmail.com> wrote: > On Sat, 17 Sep 2005 16:20:25 +0800 > Ariff Abdullah <skywizard@MyBSD.org.my> wrote: > > > On Fri, 16 Sep 2005 23:42:18 -0500 > > "Mike S." <perlfu@gmail.com> wrote: > > > [..] > > > > > > I cleaned out all my sound stuff, recvs'd, and applied the > > > patch you posted recently, and although I haven't gotten a > > > single hard lock yet, I can no longer get multiple sounds at > > > once, I'm guessing I'm incapable of using vchans somehow. Any > > > input? > > > > > I need the output of cat /dev/sndstat after applying the patch, > > possibly with hw.snd.verbose=2 . > > > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: <VIA VT8237> at io 0xc400 irq 22 kld snd_via8233 (5p/1r/4v > channels duplex > default) I don't think the patch was applied properly. http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_20050916_043softvol.diff get a clean, *real clean* RELENG_5 sources, than do cd /usr/src && patch -p0 < snd_RELENG_5_20050916_043softvol.diff There are few (6) conditions need to be tested: DXS --- 1) No vchans. hw.snd.pcm0.vchans=0 , hw.snd.maxautovchans=0 2) auto vchans. hw.snd.maxautovchans=10 , hw.snd.pcm0.vchans=1 3) fixed vchans. hw.snd.maxautovchans=10 , hw.snd.pcm0.vchans=10 DXS disabled ------------ Make sure /boot/device.hints contains hint.pcm.0.via_dxs_disabled="1", and reboot 4) No vchans. (same with 1) 5) auto vchans. (same with 2) 6) fixed vchans. (same with 3) Do the test for all those conditions, and tell me any success/failure for each of it. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050918005943.5dd098e6.skywizard>