syscons + mouse == stuttering playback

Ulrich Spoerlein uspoerlein at gmail.com
Mon Jul 2 19:18:23 UTC 2007


Hi,

on a recent CURRENT, without WITNESS or INVARIANTS. Both with SCHED_ULE
and SCHED_4BSD I observed the following:

Make sure almost nothing is running (to rule out other influences). Run
mpg123 on some MP3 file. Then start moving the syscons mouse cursor. I
get a high frequency stuttering on playback, playback is also slowed
down.

I'm using kern.hz=100, if it matters. Is somebody able to reproduce it?

cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <Intel ICH4 (82801DB)> at io 0xf4fff800, 0xf4fff400 irq 9 bufsz 16384 kld snd_ich [MPSAFE] (1p:1v/1r:1v channels duplex default)

dev.pcm.0.%desc: Intel ICH4 (82801DB)
dev.pcm.0.%driver: pcm
dev.pcm.0.%location: slot=31 function=5 handle=\_SB_.PCI0.AUD_
dev.pcm.0.%pnpinfo: vendor=0x8086 device=0x24c5 subvendor=0x1028 subdevice=0x0191 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


Cheers,
Ulrich Spoerlein
-- 
"The trouble with the dictionary is you have to know how the word is
spelled before you can look it up to see how it is spelled."
-- Will Cuppy


More information about the freebsd-multimedia mailing list