Sound (micro-)interrupts with 8.0 stable/snd_hda/mplayer/vlc

Thomas Hummel googhummel at gmail.com
Sun Jan 17 14:07:40 UTC 2010


On Sun, Jan 17, 2010 at 1:03 AM, Pieter de Goeje <pieter at degoeje.nl> wrote:

Thanks for your reply,

Try increasing the hw.snd.latency sysctl:
>

Going from 5 to 10 doesn't change anything (actually, it seems worse on the
file I tried). So the mystery still stands...

Note that the micro-interrupts don't occur always at the same timestamp in
the file which is playing.
If I play one, let's say 3 times in a row, sound may drop around the same
moment each time but not necessary...

Just thinking out loud here, but maybe you have some non-standard HZ
> configured or powerd configured to clock the CPU back by an extreme amount,
> both could theoretically cause buffer underruns.
>

I'm not quite sure I understand what you're thinking of. Anyway, I haven't
changed any defaults :

% cat /boot/loader.conf
#zfs
zfs_load="YES"
vfs.root.mountfrom="zfs:zroot"

# nividia
nvidia_load="YES"

# sound
snd_hda_load="YES"
hw.snd.default_unit=0

# k3b
atapicam_load="YES"
hw.ata.atapi_dma=1

--
Thomas.


More information about the freebsd-questions mailing list