Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Heatin / Fan issues
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
qrthur
n00b
n00b


Joined: 01 Apr 2014
Posts: 10

PostPosted: Tue Apr 01, 2014 6:54 pm    Post subject: Heatin / Fan issues Reply with quote

Hello everyone,

This is my first post here so greetins, I am qrthur and I trying to setup a Gentoo desktop :) If I do something wrong I am sorry.

I have a big problem with my Gentoo install and I can not understand from where it come from.

Basically, my laptop is overheating, however, the output of ps -aux (or top) shows that my cpu is not being used more than 2/3%. Still its temperature is equal to 75/95C all the time (and it goes to 95/105 when compiling stuff with makeopt="j4") And the fan is going crazy, with 0%cpu usage. So it must come from the GPU.

The problem appeared since I am using X. More precisely since I installed Framebuffer and my driver for my Radeon cards. I installed the drivers as explained on the wiki. I installed lm_sensors to get the values. I saw several other posts on the gentoo forum but nothing helped me so I come to you guys...

CPU : Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz
GPU : ATI Radeon HD6470

I tried, as root, to do this but i get an error
Code:
qrthur-Gentoo linux # echo "low" > /sys/class/drm/card0/device/power_method
bash: echo: write error: Invalid argument



lm_sensors (idle)

Code:
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +77.0°C  (high = +86.0°C, crit = +100.0°C)
Core 0:         +76.0°C  (high = +86.0°C, crit = +100.0°C)
Core 1:         +77.0°C  (high = +86.0°C, crit = +100.0°C)

radeon-pci-0100
Adapter: PCI adapter
temp1:        +90.5°C 


lm_sensors (playing flash video on chromium)
Code:
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +84.0°C  (high = +86.0°C, crit = +100.0°C)
Core 0:         +82.0°C  (high = +86.0°C, crit = +100.0°C)
Core 1:         +84.0°C  (high = +86.0°C, crit = +100.0°C)

radeon-pci-0100
Adapter: PCI adapter
temp1:        +95.0°C 



lspci -k output
Code:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
   Subsystem: Hewlett-Packard Company Device 1618
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
   Kernel driver in use: pcieport
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
   Subsystem: Hewlett-Packard Company Device 1618
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
   Subsystem: Hewlett-Packard Company Device 1618
   Kernel driver in use: e1000e
   Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
   Subsystem: Hewlett-Packard Company Device 1618
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
   Subsystem: Hewlett-Packard Company Device 1618
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
   Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
   Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
   Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
   Kernel driver in use: pcieport
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b4)
   Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
   Subsystem: Hewlett-Packard Company Device 1618
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
   Subsystem: Hewlett-Packard Company Device 1618
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
   Subsystem: Hewlett-Packard Company Device 1618
   Kernel driver in use: ahci
   Kernel modules: ahci
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]
   Subsystem: Hewlett-Packard Company Radeon HD 6470M
   Kernel driver in use: radeon
   Kernel modules: radeon
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series]
   Subsystem: Hewlett-Packard Company Device 161a
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
24:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (rev 30)
   Subsystem: Hewlett-Packard Company Device 1618
24:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
   Subsystem: Hewlett-Packard Company Device 1618
24:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
   Subsystem: Hewlett-Packard Company Device 1618
25:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
   Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN
   Kernel modules: iwlwifi
26:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
   Subsystem: Hewlett-Packard Company Device 1618
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_hcd



My kernel .config
http://pastebin.com/pVV5iPbr


If you have any suggestions please let me know :) Cheers
Back to top
View user's profile Send private message
Pearlseattle
Apprentice
Apprentice


Joined: 04 Oct 2007
Posts: 162
Location: Switzerland

PostPosted: Sun Jun 01, 2014 4:55 pm    Post subject: Reply with quote

I think that you're running your CPU at max without ever throttling it - that way it will never cool down.

Option 1)
Enable the Intel P-states in your kernel ("X86_INTEL_PSTATE").

Option 2)
- Check with "cat /sys/devices/system/cpu/cpu[ALL_YOUR_VCPUs]/cpufreq/scaling_governor"
- Change the governor with e.g. "echo "ondemand > /sys/devices/system/cpu/cpu[ALL_YOUR_VCPUs]/cpufreq/scaling_governor"
(optionally compile the "powersave" and "ondemand" in the kernel, not as modules)
(optionally set in the kernel config "CPU_FREQ_GOV_ONDEMAND" to be the default governor instead of the current "performance" one)

Maybe try first with option #2, as the P-States are still kind of experimental and they might or might not work on your PC.

p.s.: not sure about the GPU - fix first the stuff related to CPU but you might have a similar problem as well with the GPU.
Back to top
View user's profile Send private message
kwesadilo
n00b
n00b


Joined: 12 Jul 2010
Posts: 68
Location: United States

PostPosted: Sun Jun 01, 2014 6:21 pm    Post subject: Reply with quote

How old is your laptop? When I first installed Gentoo (on a two-year-old laptop), I observed that my CPU was getting up to 100C during compiles and powering off. I spent weeks trying to troubleshoot some kind of Gentoo install issue, and then I finally just opened my computer up and cleaned the fan. My idle CPU temperature went from ~70C to ~40C, and my temperature under high load went from ~95C to ~70C. Since then, I've had to clean the fan about once a year. I eventually just stopped caring and used /sys/devices/system/cpu/cpu[ALL_YOUR_VCPUs]/cpufreq/scaling_setspeed to keep my CPU at the third highest speed so the CPU wouldn't overheat with my dirty fan.

Frequency scaling and Pstates can help you run cooler, but keep in mind that if your laptop's cooling system is well designed and maintained (read "clean"), you should be able to run at the maximum frequency/Pstate pretty much indefinitely without overheating.
Back to top
View user's profile Send private message
Pearlseattle
Apprentice
Apprentice


Joined: 04 Oct 2007
Posts: 162
Location: Switzerland

PostPosted: Sun Jun 01, 2014 6:31 pm    Post subject: Reply with quote

@qrthur
unrelated:
does your laptop really have a Xeon CPU?
(asking because I didn't know that such things exist..)
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