DragonFly BSD
DragonFly bugs List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: sound problem


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Mon, 14 Aug 2006 05:28:00 -0400

On 8/13/06, Thomas Nikolajsen <thomas.nikolajsen@xxxxxxx> wrote:
Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> :Playing sound using pcm(4)/snd(4) gives bad quality: hiss
> and hops, like sound isn't playing for very short time
> periods.
Problem is a scratz every 10 seconds;
this was easier to hear with 440Hz sinus vs music.
> :
> :This is experienced:
> : - not having SMP in kernel config (eg GENERIC)
Ie. no problem when using SMP;
but problem is still heard having SMP without APIC_IO.
> : - from dfly-1.5 26th December '05 (24th is ok using
> kernels from chlamydia);
> :including HEAD.
> :
> :dfly-1.4 is ok, including 1.4.4.
> :
> :Using audio/mpg123 for MP3, 'cp test.raw /dev/dspW' or
> pcmplay for decoded sound.
> :Buffering audio data with mpg123 -b doesn't sound like
> making any difference.
> :
> :CPU load doesn't sound like making any difference.
> :Problem experienced on several systems, using snd_via8233
> and snd_ich.
I was wrong; only one pc experienced problem.
(other systems has bad speakers)
> :
> :No X11 used.
> :
> : -thomas
>
>     Hmm.  That's quite odd.  There aren't any significant
> source code changes
>     bewteen the 24th and 26th of December (I diff'd the 23rd
> and 27th to be
>     conservative).
>
>                                       -Matt
>                                       Matthew Dillon
>                                       <dillon@xxxxxxxxxxxxx>
It turns out problem is irq sharing: pcm0/re0 (too any NICs in test box).

From 26th December '05: when ip-addr is configured on re0 problem is there;
no problem without ip-addr configured.

Try: sysctl kern.polling.enable=1 ifconfig re0 polling

See whether the problem still exists

Best Regards,
sephe

--
Live Free or Die



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]