From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 6 16:20:14 2007 Return-Path: X-Original-To: freebsd-multimedia@hub.freebsd.org Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF9DC16A401 for ; Tue, 6 Mar 2007 16:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 8869D13C48E for ; Tue, 6 Mar 2007 16:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l26GKEuO061946 for ; Tue, 6 Mar 2007 16:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l26GKEXa061945; Tue, 6 Mar 2007 16:20:14 GMT (envelope-from gnats) Date: Tue, 6 Mar 2007 16:20:14 GMT Message-Id: <200703061620.l26GKEXa061945@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Marcin Cc: Subject: Re: kern/109791: [sound] bad sound with maestro3 sound card X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 16:20:14 -0000 The following reply was made to PR kern/109791; it has been noted by GNATS. From: Marcin To: bug-followup@freebsd.org Cc: Subject: Re: kern/109791: [sound] bad sound with maestro3 sound card Date: Tue, 6 Mar 2007 17:17:43 +0100 ------=_Part_149429_9508591.1173197863971 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/3/6, Ariff Abdullah : > On Tue, 6 Mar 2007 15:20:07 GMT > Marcin wrote: > > > > kenv hint.pcm.0.dac="1" > > kldload snd_maestro3 > > link_elf_lookup_symbol: missing symbol hash table > > link_elf_lookup_symbol: missing symbol hash table > > I don't know what is going on. Your sources probably screwed. Please > recompile everything, just to be sure. It probably harmless, for now. > > [continue..] > > > pcm0: port 0xec00-0xecff mem > > 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 > > pcm0: > > > > ONLY one xmms play, if run secend - xmms show error > > ------------- > > Please enable vchans. Make sure hw.snd.maxautovchans= > and hw.snd.pcm0.vchans= (on -current, this should be > dev.pcm.0.vchans). Try again (remember that hint.pcm.0.dac="1"). > > > kenv hint.pcm.0.dac="2" > > kldload snd_maestro3 > > > > pcm0: detached > > pcm0: port 0xec00-0xecff mem > > 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 > > pcm0: > > pcm0: detached > > pcm0: port 0xec00-0xecff mem > > 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 > > pcm0: > > pcm0:play:1:dsp0.1: play interrupt timeout, channel dead > > pcm0:play:0:dsp0.0: play interrupt timeout, channel dead > > > > play 2 copy xmms but, if click stop sound crappy > > > > ------------- > > Expected. > > > kenv hint.pcm.0.dac="3" > > kldload snd_maestro3 > > > > pcm0: detached > > pcm0: port 0xec00-0xecff mem > > 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 > > pcm0: > > pcm0:play:0:dsp0.0: play interrupt timeout, channel dead > > > > play 2 copy xmms but, if click stop sound crappy > > > > ------------- > > Expected. > > > kenv hint.pcm.0.dac="4" > > kldload snd_maestro3 > > > > pcm0: detached > > pcm0: port 0xec00-0xecff mem > > 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 > > pcm0: > > pcm0:play:0:dsp0.0: play interrupt timeout, channel dead > > > > play 2 copy xmms but, if click stop sound crappy > > > > On this settings multiple playback streams not run. > > I don't test recording, and full-duplex. > > Previous version run better. > > > Expected. > > This version is much better than the previous one since you can > configure total number of DAC. Since yours cannot operate more than 1 > DAC, dac=1 works flawlessly at the cost of enabling vchan (which is > good). > > > -- > Ariff Abdullah > FreeBSD > > ... Recording in stereo is obviously too advanced > and confusing for us idiot ***** users :P ........ > vchan i had enabled: cat /etc/sysctl.conf; hw.snd.pcm0.vchans=4 hw.snd.maxautovchans=4 ------=_Part_149429_9508591.1173197863971 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/3/6, Ariff Abdullah <ariff@freebsd.org>:
> On Tue, 6 Mar 2007 15:20:07 GMT
> Marcin <hybridx87@gmail.com> wrote:
> >
> >  kenv hint.pcm.0.dac="1"
> >  kldload snd_maestro3
> >  link_elf_lookup_symbol: missing symbol hash table
> >  link_elf_lookup_symbol: missing symbol hash table
>
> I don't know what is going on. Your sources probably screwed. Please
> recompile everything, just to be sure. It probably harmless, for now.
>
> [continue..]
>
> >  pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem
> >  0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2
> >  pcm0: <SigmaTel STAC9721/23 AC97 Codec>
> >
> >  ONLY one xmms play, if run secend - xmms show error
> >  -------------
>
> Please enable vchans. Make sure hw.snd.maxautovchans=<greater than 0>
> and hw.snd.pcm0.vchans=<greater than 0> (on -current, this should be
> dev.pcm.0.vchans). Try again (remember that hint.pcm.0.dac="1").
>
> >  kenv hint.pcm.0.dac="2"
> >  kldload snd_maestro3
> >
> >  pcm0: detached
> >  pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem
> >  0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2
> >  pcm0: <SigmaTel STAC9721/23 AC97 Codec>
> >  pcm0: detached
> >  pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem
> >  0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2
> >  pcm0: <SigmaTel STAC9721/23 AC97 Codec>
> >  pcm0:play:1:dsp0.1: play interrupt timeout, channel dead
> >  pcm0:play:0: dsp0.0: play interrupt timeout, channel dead
> >
> >  play 2 copy xmms but, if click stop sound crappy
> >
> >  -------------
>
> Expected.
>
> >  kenv hint.pcm.0.dac= "3"
> >  kldload snd_maestro3
> >
> >  pcm0: detached
> >  pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem
> >  0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2
> >  pcm0: <SigmaTel STAC9721/23 AC97 Codec>
> >  pcm0:play:0:dsp0.0: play interrupt timeout, channel dead
> >
> >  play 2 copy xmms but, if click stop sound crappy
> >
> >  -------------
>
> Expected.
>
> >  kenv hint.pcm.0.dac="4"
> >  kldload snd_maestro3
> >
> >  pcm0: detached
> >  pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem
> >  0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2
> >  pcm0: <SigmaTel STAC9721/23 AC97 Codec>
> >  pcm0:play:0:dsp0.0: play interrupt timeout, channel dead
> >
> >  play 2 copy xmms but, if click stop sound crappy
> >
> >  On this settings multiple playback streams not run.
> >  I don't test recording, and full-duplex.
> >  Previous version run better.
> >
> Expected.
>
> This version is much better than the previous one since you can
> configure total number of DAC. Since yours cannot operate more than 1
> DAC, dac=1 works flawlessly at the cost of enabling vchan (which is
> good).
>
>
> --
> Ariff Abdullah
> FreeBSD
>
> ... Recording in stereo is obviously too advanced
>     and confusing for us idiot ***** users :P ........
>

vchan i had enabled:

cat /etc/sysctl.conf;

hw.snd.pcm0.vchans=4
hw.snd.maxautovchans=4
------=_Part_149429_9508591.1173197863971--