Date: Sun, 25 Nov 2007 14:05:27 +0100 From: Frank Staals <frankstaals@gmx.net> To: Roland Smith <rsmith@xs4all.nl> Cc: questions@freebsd.org Subject: Re: snd_ich skipping playback Message-ID: <47497317.5090406@gmx.net> In-Reply-To: <20071120182203.GA93313@slackbox.xs4all.nl> References: <47431E4D.3010702@gmx.net> <20071120182203.GA93313@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Roland Smith wrote: > On Tue, Nov 20, 2007 at 06:50:05PM +0100, Frank Staals wrote: > >> I updated to RELENG_7 yesterday, but I'm noticing that the snd_ich driver >> quite often skips playback for a short period of time at some points. >> Especially when doing mysql queries. Anyone else having problems with >> snd_ich ? >> >> frank@FStaals$ uname -a >> FreeBSD FStaals.net 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Mon Nov 19 19:50:46 CET >> 2007 root@FStaals.net:/usr/obj/usr/src/sys/PFSERVERKERNEL amd64 >> >> frank@FStaals$ pciconf -lv >> pcm0@pci0:0:4:0: class=0x040100 card=0x71851462 chip=0x005910de >> rev=0xa2 hdr=0x00 >> vendor = 'Nvidia Corp' >> device = 'Realtek ALC850 Realtek AC'97 Audio' >> class = multimedia >> subclass = audio >> >> frank@FStaals$ dmesg | grep pcm >> pcm0: <nVidia nForce4> port 0xea00-0xeaff,0xee00-0xeeff mem >> 0xfe02d000-0xfe02dfff irq 23 at device 4.0 on pci0 >> pcm0: [ITHREAD] >> pcm0: <Avance Logic ALC850 AC97 Codec> >> > > I've had trouble with skipping sound some time ago on machines with > another chipset; > $ cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) > Installed devices: > pcm0: <VIA VT8237> at io 0xd800 irq 22 [MPSAFE] (5p:4v/1r:1v channels > duplex default) > > I put the following in /boot/device.hints > > # Larger DMA buffer for the soundcard, for better sound quality. > hint.pcm.0.buffersize="16384" > > This fixed the problem for me. > > Roland > Ah thanks for the hint, but I'm guessing that won't work since aparently the buffersice is allready 16K : root@FStaals# sysctl -a | grep pcm dev.pcm.0.%desc: nVidia nForce4 dev.pcm.0.%driver: pcm dev.pcm.0.%location: slot=4 function=0 handle=\_SB_.PCI0.MACI dev.pcm.0.%pnpinfo: vendor=0x10de device=0x0059 subvendor=0x1462 subdevice=0x7185 class=0x040100 dev.pcm.0.%parent: pci0 dev.pcm.0.eapd: 1 dev.pcm.0.play.vchans: 1 dev.pcm.0.play.vchanrate: 48000 dev.pcm.0.play.vchanformat: s16le dev.pcm.0.rec.vchans: 1 dev.pcm.0.rec.vchanrate: 48000 dev.pcm.0.rec.vchanformat: s16le dev.pcm.0.buffersize: 16384 dev.pcm.0.ac97rate: 48000 Anyone else a hint ? -- -Frank Staals
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47497317.5090406>