volume problems with snd_via8233
skywizard at MyBSD.org.my
Sat May 14 12:09:17 PDT 2005
On Sat, 14 May 2005 11:02:30 -0700 (PDT)
Arne "Wörner" <arne_woerner at yahoo.com> wrote:
> --- dgmm <freebsd01 at dgmm.net> wrote:
> > On Saturday 14 May 2005 11:14, vaida bogdan wrote:
> > > Hi, I've bought a new computer with an ASRock K7Upgrade-880
> > > motherboard with 5.1 channels AC'97 Audio (quoting from
> > install guide
> > > and I have a problem with sound on Freebsd 5.4 with
> > snd_via8233.
> > >
> > > After I load the module, the sound volume is set to max and
> > even
> > > though I can lower the sound bar (xmms) or lower the volume in
> > mplayer
> > > the volume doesn't change. I can only change it from my audio
> > boxes.
> > >
> > > I think it could be a module problem because it works ok in
> > windows.
> > >
> > > # cat /dev/sndstat
> > > FreeBSD Audio Driver (newpcm)
> > > Installed devices:
> > > pcm0: <VIA VT8237> at io 0xd000 irq 22 kld snd_via8233
> > (5p/1r/0v
> > > channels duplex default)
> > Same here with this...
Perhaps you guys can try these patches:
> But not here with this:
> > cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <VIA VT8235> at io 0xe000 irq 7 (5p/1r/0v channels duplex
> Works fine... Just strange interuptions in playback, when there is
> heavy concurrency about CPU or IO resources.
VIA is known for it's notorious DXS playback to achive multiple
playback sources. The driver itself not MPSAFE, which is another
reason. You can try to disable it and use pcm virtual channel instead.
Can you try these patch:
Be sure to add hint.pcm.0.via_dxs_disabled=1 into your
/boot/device.hints (this will disable DXS playback). Enabling
PREEMPTION + ULE in your kernel also helps alot.
More information about the freebsd-multimedia