Interesting article here:
http://www.omgubuntu.co.uk/2011/11/linu ... pad-fixed/
I am testing it now, definitely appears to slightly lower the temperature.
Steve
Linux power regression problem
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Linux power regression problem
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Linux power regression problem
on my X220 the Debian 2.6.39 kernel with pcie_aspm=force works best, idling at ~ 6W.
Damentz has patched his latest liquorix kernel (3.1.0-1.dmz.2-liquorix) accordingly but this strangely helps nothing with my machine -> Liquorix forum.
Damentz has patched his latest liquorix kernel (3.1.0-1.dmz.2-liquorix) accordingly but this strangely helps nothing with my machine -> Liquorix forum.
Thinkpad X220 with Samsung SSD running Xubuntu 13.04
I'm getting old gladly -- I don't like to die young ...
I'm getting old gladly -- I don't like to die young ...
Re: Linux power regression problem
An update:
Since kernel 3.0 the behavior of the i915 (new sandy bridge chipset) power states have been altered. By default the low power states are disabled due to bug reports on some machines. You can revert this power regression with boot parameter "i915.i915_enable_rc6=1" (check, if anything still works fine!). On my machine this lead to a reduced display resolution of 1024x768 making it necessary to use an additional "vga=844".
Together with Damentz' latest Liquorix kernel (3.1.0-1.dmz.2-liquorix-amd64) that is patched with Matthew Garrett's patch series I now get the lowest power consumption ever on my machine (~ 5.4 W).
full story: Liquorix forum
Since kernel 3.0 the behavior of the i915 (new sandy bridge chipset) power states have been altered. By default the low power states are disabled due to bug reports on some machines. You can revert this power regression with boot parameter "i915.i915_enable_rc6=1" (check, if anything still works fine!). On my machine this lead to a reduced display resolution of 1024x768 making it necessary to use an additional "vga=844".
Together with Damentz' latest Liquorix kernel (3.1.0-1.dmz.2-liquorix-amd64) that is patched with Matthew Garrett's patch series I now get the lowest power consumption ever on my machine (~ 5.4 W).
full story: Liquorix forum
Thinkpad X220 with Samsung SSD running Xubuntu 13.04
I'm getting old gladly -- I don't like to die young ...
I'm getting old gladly -- I don't like to die young ...
Re: Linux power regression problem
How do you measure your power consumption?
Not had much luck with Liquorix before, could never get FGLRX to load, but being as FGLRX is trashed anyway, will give it another go.
Not had much luck with Liquorix before, could never get FGLRX to load, but being as FGLRX is trashed anyway, will give it another go.
Re: Linux power regression problem
Usually there's a directory BAT0 deep in the tree /sys or /proc with some statistical files (e.g. look for /proc/acpi/battery/BAT0/state). In my case it's an infrastructure built by tp_smapi (Thinkpad specific) giving lots of infos, one is /sys/devices/platform/smapi/BAT0/power_now. I think it's reliable.xircon wrote:How do you measure your power consumption?
Liquorix usually was fine to me, but every kernel update shoots your fglrx to pieces. That sucks (previous I had an Asus with AMD cpu and integrated HD3200). If you're on testing or sid you should be aware of possible incompatibilities between fglrx and xorg-server, e.g. only the latest Catalyst 11.11 supports xorg-server 1.11.Not had much luck with Liquorix before, could never get FGLRX to load, but being as FGLRX is trashed anyway, will give it another go.
If your fglrx is screwed up, you should try to uninstall it (/etc/ati/fglrx-uninstall.sh) and/or use kanotix' or sgfxi script to install (only from console! X not running!!). Man, am I happy that I got rid of it ...
Thinkpad X220 with Samsung SSD running Xubuntu 13.04
I'm getting old gladly -- I don't like to die young ...
I'm getting old gladly -- I don't like to die young ...
Re: Linux power regression problem
Yeh, just tried the FGLRX from experimental, doesn't work at all well in Gnome3, have dropped back to the Gallium drivers.
Battery info:
Can't see anything useful.
Battery info:
Code: Select all
cat state
present: yes
capacity state: ok
charging state: charged
present rate: 1 mA
remaining capacity: 4500 mAh
present voltage: 12326 mV
molly2@n5010 /proc/acpi/battery/BAT0 $ cat info
present: yes
design capacity: 4500 mAh
last full capacity: 4433 mAh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 450 mAh
design capacity low: 136 mAh
cycle count: 0
capacity granularity 1: 45 mAh
capacity granularity 2: 45 mAh
model number: DELL 4YRJH03
serial number: 1151
battery type: LION
OEM info: Sanyo
Re: Linux power regression problem
Well, you will see nothing useful furthermore if it's not on battery ...Can't see anything useful.Code: Select all
cat state present: yes capacity state: ok charging state: charged present rate: 1 mA remaining capacity: 4500 mAh present voltage: 12326 mV
And some physics fundamentals would be good W = V*A
In your case you can't see Watts in the first place, the battery voltage will change over time, therefore the present rate figure (mA = milliAmpere = 0.001 Ampere) will change while discharging, too, giving you no reliable number. You have to multiply present rate and present voltage to get the actual Watts (note: 12326 mV = 12.326 V)
Got it?
Thinkpad X220 with Samsung SSD running Xubuntu 13.04
I'm getting old gladly -- I don't like to die young ...
I'm getting old gladly -- I don't like to die young ...
Re: Linux power regression problem
Long time since I needed any of the Physics I learned at school (approx 35 years ago), the earth was flat then