Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
laptop with KMS heating problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jopeto
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2012
Posts: 106

PostPosted: Tue Jul 03, 2012 12:28 am    Post subject: laptop with KMS heating problems Reply with quote

Hello,

I just installed Gentoo on my laptop, which has an Intel Pentium B950 processor and integrated Intel HD graphics. I compiled the kernel with KMS support and use the intel video card. I can start X just fine with the right resolution.

The problem is that the CPU temperature seems to be quite high. Currently Core 0 is showing 55deg and Core 1 is 46deg just being logged on and without even having started X. First, does it make sense that the two cores are almost 10deg apart in temperature? I use the sensors command from lm_sensor package. Is that reading accurate?

Second, I just came to gentoo from FreeBSD, where I also installed the kernel with KMS support and I got temperatures of 65deg and above, which I decided was not healthy for my computer so decided to try linux. I noticed that there are a few other threads in that forum about laptops with KMS heating. Can anyone suggest a workaround to this problem apart from scaling down the CPU frequencies? Also is anyone aware whether the linux kernel developers are aware of this problem and if any course of action is planned? I'm just a bit worried cause the temperatuer is quite a bit higher than under windows...

Thanks a lot in advance!
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2633
Location: Slovenia

PostPosted: Tue Jul 03, 2012 10:08 am    Post subject: Reply with quote

I seriously doubt the temp has anything to do with KMS.

Compile acpi_cpufreq into the kernel, and make the cpufreq_ondemand governor the default (it's an option in the kernel config which governor should be default). That's it.
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 442
Location: Kraków, PL

PostPosted: Tue Jul 03, 2012 10:52 am    Post subject: Reply with quote

Gusar wrote:
I seriously doubt the temp has anything to do with KMS.

Compile acpi_cpufreq into the kernel, and make the cpufreq_ondemand governor the default (it's an option in the kernel config which governor should be default). That's it.

Exactly the point.

Also there is nothing wrong in one core being hotter - there may be some one-threaded app running in background (check with htop) and the cooler may not dissipate heat in an uniform way.
_________________
BTW, TWM FTW!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 470
Location: Scotland

PostPosted: Tue Jul 03, 2012 11:13 am    Post subject: Reply with quote

Hello jopeto

I second Gusars comment with regards to KMS not being the root cause of "heat".
You will find the CPU_FREQ_SCALING in the following location of the kernel config.
Code:
  | -> Power management and ACPI options      │ 
  │       -> CPU Frequency scaling            │ 
  │         -> CPU Frequency scaling          |

Don't forget to set the "default" governor I'd suggest "ondemand".
Also, while you are in Power management and ACPI options:
Code:
CPU Frequency scaling  --->
 -> x86 CPU frequency scaling drivers  --->
  ->  <*> ACPI Processor P-States driver

^^ This is what Gusar is referring to.

You will also need to make sure you have enabled in your kernel config (although you have probably done this already):
Code:
-> Processor type and features
  -> Processor Family
    -> Core2/newer Xeon


Then you will need to re-compile your kernel.
Do all of the above and you will have control over cpu frequency and hopefully cool down your laptop.
Once you have done all of this I would suggest moving on to Lm_Sensors.
http://en.gentoo-wiki.com/wiki/Lm_sensors

Good luck, and give us a shout if you hit any more problems. :)
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
jopeto
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2012
Posts: 106

PostPosted: Tue Jul 03, 2012 1:43 pm    Post subject: Reply with quote

Thanks a lot for all your suggestions! I'll do as you say. You guys are really helpful! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum