UT2004 sound problem

Karel J. Bosschaart karelj at kayjay.xs4all.nl
Thu Apr 8 06:00:14 PDT 2004


On Thu, Apr 01, 2004 at 10:05:42AM -0500, Mathew Kanner wrote:
> On Apr 01, Karel J. Bosschaart wrote:
> > > > 
> > > > Thanks for the quick reply!
> > > > 
> > > > My sound devices:
> > > > 
> > > > pcm0: <CMedia CMI8738> at io 0xa400 irq 10 (1p/1r/0v channels duplex default)
> > > > pcm1: <Avance Logic ALS4000> at io 0xa000 irq 9 (1p/1r/0v channels duplex)
> > > > 
> > > > Both sound cards have the same problem.
> > > > 
> > > > > would suggest that you play with enabling, disabling vchans and see if
> > > > 
> > > > I tried
> > > > 
> > > > sysctl hw.snd.pcm0.vchans=4
> > > > sysctl hw.snd.maxautovchans=4
> > > > 
> > > > but it doesn't help. I'm getting a bunch of extra 
> > > 
> > > 	And setting them to 0?
> > 
> > Isn't that the default value? Anyway, I tried it and the sound is still
> > not good. (Only one 'native_blitbuffer: select error occured')
> 
> 	It's a little weird.  The default is
> 
> 	Sound card with one output channel -> maxautovchans=1
> 	Sound card with multiple output channels -> maxautovchans=0
> 
> 	Can you also experiment with soft mixing, (I'm forgotting what
> we actually call it), y'know auto-rate/format conversion.
>
I guess you mean hw.snd.report_soft_formats ? I tried 0 and 1, for both
soundcards but the problems persists.

Anyway I decided to give up for now, the trick with reboot/demo works
for me. (playing in -current is not an option; sound is OK but framerate
too low probably because I can't use the nvidia AGP driver there).

Thanks for the help, at least I learned some new things about pcm!
Karel.


More information about the freebsd-multimedia mailing list