From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 17 16:05:50 2005 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 878FB16A41F for ; Sat, 17 Sep 2005 16:05:50 +0000 (GMT) (envelope-from perlfu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id F100743D49 for ; Sat, 17 Sep 2005 16:05:49 +0000 (GMT) (envelope-from perlfu@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so253514nzk for ; Sat, 17 Sep 2005 09:05:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=BiOk/regsyhMjU7dK3D4sgIcu1m+raJs/DAqBloqepUDiixmdksxPugWL5MZ9zTPMWOVY6/3vgrQD7wf8wOAbVqxJGBu2IDP2nt9Qi2xnPdK+s3rfD/lVrtNaKjofTvYeZRFN3JbDlvtBCfDCR40UtqF7/JMcH+qyphiVNg9K9o= Received: by 10.54.10.71 with SMTP id 71mr214918wrj; Sat, 17 Sep 2005 09:05:49 -0700 (PDT) Received: from insomnia.localnet.net ( [66.142.197.120]) by mx.gmail.com with ESMTP id 26sm500809wrl.2005.09.17.09.05.48; Sat, 17 Sep 2005 09:05:48 -0700 (PDT) Date: Sat, 17 Sep 2005 11:05:45 -0500 From: "Mike S." To: freebsd-multimedia@freebsd.org Message-Id: <20050917110545.0d1935ab.perlfu@gmail.com> In-Reply-To: <20050917162025.143954a6.skywizard@MyBSD.org.my> 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> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; amd64-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Vchan/Sound/patch hard locks... 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: Sat, 17 Sep 2005 16:05:50 -0000 On Sat, 17 Sep 2005 16:20:25 +0800 Ariff Abdullah wrote: > On Fri, 16 Sep 2005 23:42:18 -0500 > "Mike S." 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 . > > > -- > > Ariff Abdullah > MyBSD > > http://www.MyBSD.org.my (IPv6/IPv4) > http://staff.MyBSD.org.my (IPv6/IPv4) > http://tomoyo.MyBSD.org.my (IPv6/IPv4) FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xc400 irq 22 kld snd_via8233 (5p/1r/4v channels duplex default) [pcm0:play:0]: spd 44100/48000, fmt 0x10000010, flags 0x00001000, 0x0000 0010 interrupts 0, underruns 0, ready 0 {userland} -> feeder_vchan_s16(0x10000010) -> feeder_rate(44100 -> 48000 ) -> {hardware} [pcm0:play:1]: spd 44100/48000, fmt 0x10000010, flags 0x00003030, 0x0000 0010, pid 14575 interrupts 31045, underruns 2, ready 131072 {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} [pcm0:play:2]: spd 44100/48000, fmt 0x10000010, flags 0x00000000, 0x0000 0010 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} [pcm0:play:3]: spd 22050/48000, fmt 0x00000020/0x10000010, flags 0x00000 000, 0x00000010 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000020) -> feeder_endian(0x00000020 -> 0x0 0000010) -> feeder_monotostereo16(0x00000010 -> 0x10000010) -> feeder_rate(22050 -> 48000) -> {hardware} [pcm0:play:4]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x000 00000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:record:0]: spd 44100/48000, fmt 0x10000010, flags 0x00000000, 0x00 000010 interrupts 0, overruns 0, hfree 4096, sfree 131072 {hardware} -> feeder_root(0x10000010) -> feeder_rate(48000 -> 44100) -> {userland} pcm0:play:0[pcm0:virtual:0]: spd 0, fmt 0x00000000/0x00000008, flags 0x1 0000000, 0x00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0[pcm0:virtual:1]: spd 0, fmt 0x00000000/0x00000008, flags 0x1 0000000, 0x00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0[pcm0:virtual:2]: spd 0, fmt 0x00000000/0x00000008, flags 0x1 0000000, 0x00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware} pcm0:play:0[pcm0:virtual:3]: spd 0, fmt 0x00000000/0x00000008, flags 0x1 0000000, 0x00000000 interrupts 0, underruns 0, ready 0 {userland} -> feeder_root(0x00000000) -> {hardware}