Bug 50327

Summary: CPU power consumption and temperature way to high when using radeon drivers.
Product: xorg Reporter: tobisgd
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: high CC: adrian.fita, bastian.triller, florian.sievers, ibruell, par78, suse
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
vbios.rom of HP Compaq 615 laptop none

Description tobisgd 2012-05-24 16:32:57 UTC
On my laptop (HP Compaq 615, AMD M780G/Radeon HD3200, Athlon QL-66, OS: Slackware -current) the temperatures (and with that the power consumption) off the CPU are way to high and near the critical rate when I use the radeon drivers (I first thought the overheating is caused by the GPU, but after some tests that doesn't seem to be the case). The system works fine with the Catalyst drivers, about 15-20°C cooler than with the free drivers.
I don't know which information to include, so please inform me which additional information you need to make any sense out of this.
Comment 1 tobisgd 2012-05-24 16:37:23 UTC
Way to reproduce:
Install Linux and use the radeon drivers, check the temperatures.
Comment 2 Alex Deucher 2012-05-25 08:23:12 UTC
Please attach a copy of your vbios:

(as root)
(use lspci to get the bus id)
cd /sys/bus/pci/devices/<pci bus id>
echo 1 > rom
cat rom > /tmp/vbios.rom
echo 0 > rom
Comment 3 tobisgd 2012-05-25 08:30:48 UTC
Created attachment 62102 [details]
vbios.rom of HP Compaq 615 laptop

As requested the vbios.rom.
Thanks for your quick answer.
Comment 4 Alex Deucher 2012-05-25 08:47:03 UTC
You should be able to force the GPU to low clocks by selecting the low power mode:
sudo bash -c "echo low > /sys/class/drm/card0/device/power_profile"

See this link for more info:
http://wiki.x.org/wiki/RadeonFeature#KMS_Power_Management_Options
Comment 5 tobisgd 2012-05-25 10:56:29 UTC
I already tried that, that but that doesn't change anything. 
As I found out, it is not the GPU that is overheating, it is the CPU. For some reason unknown to me the CPU temperature is about 15-20°C higher when using the radeon driver compared to the Catalyst driver, which means that my system idles at temperatures that it normally only reaches when under heavy load, with going into critical temperature range when putting the system under heavy load with the radeon drivers enabled.
Comment 6 Michel Dänzer 2012-06-01 09:24:36 UTC
Is there also a difference in CPU usage as reported e.g. by top? If so, comparing system profiles obtained with perf, sysprof or oprofile between the scenarios might point to areas that could be improved.

Otherwise, maybe try comparing the distribution of CPU clock speeds / C-states between the scenarios.
Comment 7 Florian Sievers 2012-06-01 23:55:55 UTC
I can confirm this bug with the same laptop and Debian Wheezy using xorg 1.12 with the radeon driver everything up-to-date as of today (2012-06-02).
Comment 8 par78 2012-09-23 07:30:11 UTC
Same problem here with Debian Wheezy.

Last week I had to remove the fglrx-driver (doesn't support 

lspci | grep vga
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS780M/RS780MN [Mobility Radeon HD 3200 Graphics]

anymore) and installed the radeon driver.


From this moment on CPU temperature (CPU idles at 5–10%) raised from ~60 to ~75 degrees – even with 

cat /sys/class/drm/card0/device/power_profile
low
Comment 9 Ingo Bruell 2012-10-16 11:42:17 UTC
Same probleme here with HP Compaq 625 Laptop.

ibruell@bruell-mobile:~$ lspci|grep VGA
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series]

ibruell@bruell-mobile:~$ dpkg -l "*radeon*"
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                          Version                       Beschreibung
+++-=============================-=============================-==========================================================================
ii  libdrm-radeon1:i386           2.4.33-3                      Userspace interface to radeon-specific kernel DRM services -- runtime
ii  radeontool                    1.6.2-1.1                     utility to control ATI Radeon backlight functions on laptops
ii  xserver-xorg-video-radeon     1:6.14.4-5                    X.Org X server -- AMD/ATI Radeon display driver

ibruell@bruell-mobile:~$ uname -r
3.6.2-030602-generic
Comment 10 Robert Vanyi 2012-12-02 08:15:05 UTC
Same problem with a Thinkpad Edge 13. Cannot install fglrx anymore (no support for RS880M), and changing /sys/class/drm/card0/device/power_profile does not help.

CPU load is below 10%, but laptop is very hot, and fan is running constantly.

robi@edge:~$ lspci|grep VGA
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series]

robi@edge:~$ dpkg -l "*radeon*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version             Architecture        Description
+++-=============================-===================-===================-================================================================
ii  libdrm-radeon1:amd64          2.4.33-3            amd64               Userspace interface to radeon-specific kernel DRM services -- ru
ii  radeontool                    1.6.2-1.1           amd64               utility to control ATI Radeon backlight functions on laptops
ii  xserver-xorg-video-radeon     1:6.14.4-5          amd64               X.Org X server -- AMD/ATI Radeon display driver
Comment 11 drekorig89 2013-01-08 19:54:08 UTC
I have the same problem on Asus laptop with Mobility Radeon HD 3200 video. Temperature and fan speed don't change on low or mid profile in my Ubuntu 12.10
Comment 12 Bastian Triller 2013-04-07 20:59:44 UTC
Same problem here with a Macbook Pro 8,2 on Debian with kernel 3.8.5-1~experimental.1.

00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Whistler [AMD Radeon HD 6600M Series] [1002:6741]

Using low power profile does not work for me.
Comment 13 Bastian Triller 2013-05-28 20:11:42 UTC
Applying the changes against 3.8.13 as stated in https://bugs.freedesktop.org/show_bug.cgi?id=49981#c30 lets the low power profile change the frequencies. The temperatures drop around 10-15°C.
Comment 14 tobisgd 2013-05-29 03:18:35 UTC
I would like to test that, but have no clue how to apply those changes.
Would be nice if someone can give me instructions on that.
Comment 15 Martin Peres 2019-11-19 07:33:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/30.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.