Re: snd_ich skipping playback

2007-11-25 Thread Frank Staals

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 ?


[EMAIL PROTECTED] uname -a
FreeBSD FStaals.net 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Mon Nov 19 19:50:46 CET 
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PFSERVERKERNEL  amd64


[EMAIL PROTECTED] pciconf -lv
[EMAIL PROTECTED]: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

[EMAIL PROTECTED] 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 :


[EMAIL PROTECTED] 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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


snd_ich skipping playback

2007-11-20 Thread Frank Staals
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 ?


[EMAIL PROTECTED] uname -a
FreeBSD FStaals.net 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Mon Nov 19 19:50:46 
CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PFSERVERKERNEL  amd64


[EMAIL PROTECTED] pciconf -lv
[EMAIL PROTECTED]: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

[EMAIL PROTECTED] 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

Regards;

--
-Frank Staals


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: snd_ich skipping playback

2007-11-20 Thread Roland Smith
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 ?
 
 [EMAIL PROTECTED] uname -a
 FreeBSD FStaals.net 7.0-BETA3 FreeBSD 7.0-BETA3 #2: Mon Nov 19 19:50:46 CET 
 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PFSERVERKERNEL  amd64
 
 [EMAIL PROTECTED] pciconf -lv
 [EMAIL PROTECTED]: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
 
 [EMAIL PROTECTED] 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
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpfb0AF32HNn.pgp
Description: PGP signature