LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-20-2017, 05:24 PM   #1
naikin
Member
 
Registered: Jun 2015
Posts: 48

Rep: Reputation: Disabled
Increased fan noise after kernel update


I am on Slackware 14.2 and my laptop is Dell XPS 15 9550. After the latest system update, the kernel was updated from 4.4.14 to 4.4.38. This resulted in problems with the fan:
1. It is constantly ON - this was not the behavior before
2. It makes a high pitched noise which is causing me headaches
Any ideas how I can fix this. I am using the generic kernel with an initrd.
 
Old 04-20-2017, 08:27 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I've never used fancontrol but I think it might be a place to start.

https://linux.die.net/man/8/fancontrol

https://sourceforge.net/projects/fancon/

https://wiki.archlinux.org/index.php/fan_speed_control

There is a script you can use with lm_sensors:
http://www.linuxquestions.org/questi...-a-4175495789/

HTH
 
Old 04-21-2017, 09:31 AM   #3
naikin
Member
 
Registered: Jun 2015
Posts: 48

Original Poster
Rep: Reputation: Disabled
Thanks for the help! I tried both i8kutils and fancontrol and was able to stop the fans. It turned out however, that the high-pitched noise which causes me headaches is not from the fans, because it continued even after the fans were off. I suspect it is coil whine. Any idea why a kernel update would cause that?
 
Old 04-21-2017, 12:08 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by naikin View Post
I suspect it is coil whine. Any idea why a kernel update would cause that?
ouch.
my machine's psu has coil whine and it starts right after i press the power button - can you confirm that?

other than that, my first thought was that your system might be under higher load after the update. maybe because some graphics driver broke and hardware accel isn't available anymore.
 
Old 04-21-2017, 03:16 PM   #5
naikin
Member
 
Registered: Jun 2015
Posts: 48

Original Poster
Rep: Reputation: Disabled
I use bumblebee and keep my nvidia graphics card constantly off. I use the intel graphics for the X server but I have not noticed any slower performance since the update. The whine indeed starts with the power button and it is there even if I go to the BIOS instead of booting into linux. However, the pitch is different from when I am booted into linux, so I guess that the kernel has some influence over it and it is not a purely hardware problem.

Also the whine is definitely worse if I plug the laptop into the AC power compared to when I use it on battery.
 
Old 04-21-2017, 10:16 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
You're Welcome.

I don't recommend keeping the fan turned off for long.
You wouldn't want the CPU to get too hot.

Maybe this coil whine article will be a help?

https://linustechtips.com/main/topic...rd-coil-whine/

When you get a chance open the case and take a good look at the mobo.
Make sure the wire to the fan isn't hanging to touching the board or anything else isn't touching were it shouldn't.
 
Old 04-22-2017, 01:02 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by naikin View Post
The whine indeed starts with the power button and it is there even if I go to the BIOS instead of booting into linux. However, the pitch is different from when I am booted into linux, so I guess that the kernel has some influence over it and it is not a purely hardware problem.
my experience is the same, and i think it's about different currents required at different times, not about software as such.
also see the article linked above - it still might have something to do with the graphics, indirectly (wild idea: kernel update enables better onboard gpu drivers, rersults in more or less current required at different times).

i came to the conclusion that coil whine in a PSU is harmless (albeit extremely annoying).

however, mine is a desktop, not laptop (sorry i missed that before).
typically, your psu is something that isn't even inside the laptop, no? so if the whine comes from inside the laptop, it's probably something more serious.

edit:
the forum thread linked above says something about GPU coil whine - that could apply to your situation.

Last edited by ondoho; 04-22-2017 at 01:03 AM.
 
Old 04-23-2017, 09:11 AM   #8
naikin
Member
 
Registered: Jun 2015
Posts: 48

Original Poster
Rep: Reputation: Disabled
Thanks for your help!

The PSU is indeed not inside the laptop, but it also has a bit of a coil whine. However, the laptop's coil whine is bigger. I feel like the laptop's coil whine increased a bit over the last couple of days, but I might be wrong - it is hard to tell.

I guess it is related a lot to some power management settings, since the whine comes from the area of the power input port. And indeed, after unplugging the power, coil whine almost disappears. So my guess is that when it switches from AC power to battery, some component gets limited in its performance settings and that's why the coil whine stops. I have no idea how to debug this further though.

I opened the laptop and everything inside seemed fine. In any way, I don't think it is a hardware issue: I booted the 4.4.14 kernel from my installation USB stick and the coil whine was not there. Indeed, not the same modules would have been loaded and the power load would not be the same, but I guess it is some basis for comparison since the whine is there with the 4.4.38 kernel, even before I start X.

In terms of the intel GPU theory, I checked the changelog of the update, and no intel-related drivers were updated. But I guess it still can it be caused only by a change inside the kernel? Do you know how can I limit the FPS of the intel graphics so I can test if the coil whine disappears. I have been trying to figure that out, but cannot find anything helpful.

Last edited by naikin; 04-23-2017 at 01:12 PM.
 
Old 04-23-2017, 01:12 PM   #9
naikin
Member
 
Registered: Jun 2015
Posts: 48

Original Poster
Rep: Reputation: Disabled
Another update: This might actually be a hardware issue. I reinstalled the old kernel, but the coil whine is there. Can this be because of some library / package update? The whine is there even before I start X. Or is it definitely a hardware issue?
 
Old 04-23-2017, 02:46 PM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
all i can say is, if it is coil whine, then it's a hardware issue.
it can be affected by software, but don't let that lead you to believe that you can fix it with software.

on my desktop, i've been planning to drown the affected coils in hot glue, i read somewhere that it might help. if you understand the physicality of the process, it makes sense.
 
Old 04-23-2017, 03:06 PM   #11
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
A few weeks ago I installed Gentoo on an XPS 13 (2nd gen).
During the installation I heard all the time some noise like coil whine - I especially suspected some kind of coil whine because the noise was disappearing every time I was using at least 1 cpu 100%.
The noise disappeared once I activated the correct audio modules in the kernel (which I initially forgot...) => the weird noise came therefore from the speakers.
 
Old 04-23-2017, 05:34 PM   #12
naikin
Member
 
Registered: Jun 2015
Posts: 48

Original Poster
Rep: Reputation: Disabled
ondoho, I have heard that varnish also helps. I still have difficulty locating the problematic coils though. Here is a picture I took when I opened the laptop: https://ibb.co/dfd7bQ . I cannot see any coils though...

Pearlseattle, this sounds interesting. Do you remember from which area of the laptop the whine was comping from? Mine is coming from around the power cable input. Also what are the audio modules that you use and how did you determine they are the correct ones?
 
Old 04-24-2017, 12:26 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
if you look at the puictures i linked you will notice there's also something called "capacitor squeal".

but i've never heard of anyone having that on a laptop, sorry.

you're going to have to trust your ears to identify where that sound actually comes from.
 
Old 04-24-2017, 07:50 AM   #14
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Quote:
Pearlseattle, this sounds interesting. Do you remember from which area of the laptop the whine was comping from? Mine is coming from around the power cable input. Also what are the audio modules that you use and how did you determine they are the correct ones?
I think that it was an incredibly stupid mistake (something like selecting everything excluding the intel hd audio) but I don't remember anymore and cannot check as I have borrowed the laptop to a friend. But I remember that in the end I just selected all audio drivers as modules, rebooted, and the noise was gone (was teaching the installation of Gentoo to a friend and after two weeks of working on it we were both relieved of not having to hear that anymore - at the beginning he did not notice the noise but as soon as I made him aware of that he couldn't stop hearing it, hehe...).
Basically the noise disappeared as soon as we were able to play an audio file with "mpv myaudio.mp3" without any options (meaning that the correct audio device was being picked up by default).
If I remember correctly the noise was coming from the upper-right part of the laptop.
 
  


Reply

Tags
fan, kernel, kernel parameter, slackware 14.2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fan noise on new computer... trist007 Slackware 5 03-15-2014 08:56 PM
Fan makes much noise on some distros raippi Linux - Newbie 5 06-04-2011 09:05 AM
Fan Noise. Master Fox Linux - Software 12 07-20-2009 01:25 AM
Fan noise problems... -=TRA=- Linux - Hardware 6 01-22-2006 02:55 PM
Inspiron 8600 Fan noise. siggiae Slackware 3 05-24-2005 04:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration