Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2010 14:07:38 +0000
From:      Thomas Hummel <googhummel@gmail.com>
To:        Pieter de Goeje <pieter@degoeje.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sound (micro-)interrupts with 8.0 stable/snd_hda/mplayer/vlc
Message-ID:  <f21a6851001170607t6aa3ee35jc0e623f2d29364a5@mail.gmail.com>
In-Reply-To: <201001170203.02499.pieter@degoeje.nl>
References:  <f21a6851001161017v5e1b3134l1a60ab186340cb40@mail.gmail.com> <201001170203.02499.pieter@degoeje.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 17, 2010 at 1:03 AM, Pieter de Goeje <pieter@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f21a6851001170607t6aa3ee35jc0e623f2d29364a5>