Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2009 19:06:27 -0400
From:      Ben Kaduk <minimarmot@gmail.com>
To:        Yoshihiro Ota <ota@j.email.ne.jp>
Cc:        Garrett Cooper <yanefbsd@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>, =?ISO-8859-1?Q?St=E5le_Lyngaas?= <staale@lyngaas.com>
Subject:   Re: Annoying whitenoise sound coming from snd_hda enabled chipset
Message-ID:  <47d0403c0907291606v3dd8857bo1fd9d49b10e2555f@mail.gmail.com>
In-Reply-To: <20090728224331.4fc5ed50.ota@j.email.ne.jp>
References:  <7d6fde3d0902210101yfb42ff6yd0aa31e6f16b5761@mail.gmail.com> <558ffc2b0907231623v2bad80bbref035bd1fd950d39@mail.gmail.com> <20090728224331.4fc5ed50.ota@j.email.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

2009/7/28 Yoshihiro Ota <ota@j.email.ne.jp>:
> On Fri, 24 Jul 2009 01:23:18 +0200
> Ståle Lyngaas <staale@lyngaas.com> wrote:
>
>> On Sat, Feb 21, 2009 at 11:01 AM, Garrett Cooper<yanefbsd@gmail.com> wrote:
>> >    I don't know how else to describe it, but when I turn up my
>> > speakers enough (50%+) and don't have any sound playing, I hear a
>> > whitenoise hiss coming out of them. When I change webpages (nvidia
>> > driver is GIANT locked) or do something else kernel intensive it stops
>> > for a brief second, but apart from that it's an annoying trill sound
>> > almost like a mosquito humming around me waiting to be swatted.
>>
>> I suspect this is due to the CPU executing the HLT instruction.
>>
>> Try running the following command:
>>     sysctl machdep.cpu_idle_hlt=0
>>
>> --
>> Ståle Lyngaas
>
> I couldn't find such a sysctl.
> The close one was machdep.cpu_hlt.

Setting machdep.idle from acpi to spin make my problems go away.
(None of the other options (mwait, mwait_hlt, hlt, acpi) helped.)

-Ben Kaduk



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