You are not logged in.

#426 2013-05-01 19:37:35

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

For those of you wondering, 3.9.0 has made its way into [testing] as of yesterday morning. I'd recommend trying it out if you are still having issues.

https://mailman.archlinux.org/pipermail … 24859.html


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#427 2013-05-01 19:40:01

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

KaiSforza wrote:

This is an issue in the kernel. So far, I haven't had any issues with 3.9{,rc} kernels. I don't really remember how prevalent it was with the 3.8 line of kernels (that was a month and a half ago for me), but it appears to have either been solved or gotten better.

This is wonderful news. I would love to reclaim some much-needed batterylife.

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Offline

#428 2013-05-06 00:38:36

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I am just hit by this bug again on 3.8.11-1-ARCH

http://imgur.com/4pH4xiz
http://imgur.com/VZn9A08

Offline

#429 2013-05-07 15:41:04

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

donniezazen wrote:

I am just hit by this bug again on 3.8.11-1-ARCH

http://imgur.com/4pH4xiz
http://imgur.com/VZn9A08

Have you tried 3.9.0?


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#430 2013-05-07 15:43:33

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

@KaiSforza Not yet. Bug doesn't seem to affect every time I suspend my system. Nvidia doesn't support 3.9 yet, so, I am hanging in with 3.8.x.

Offline

#431 2013-05-08 18:36:59

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Any of you guys been noticing excessive power consumption and heat. My system with Gnome and Linux-3.8 is at least 10C hotter than Ubuntu 13.04 which is suppose to bloated.

Offline

#432 2013-05-08 19:12:45

LordChaos73
Member
From: .nl
Registered: 2008-11-11
Posts: 118

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

donniezazen wrote:

Any of you guys been noticing excessive power consumption and heat. My system with Gnome and Linux-3.8 is at least 10C hotter than Ubuntu 13.04 which is suppose to bloated.

What's the output of the sensors command (before and after a suspended session please) ? And did you hit this bug after resuming from a suspended session?

Last edited by LordChaos73 (2013-05-08 19:14:35)

Offline

#433 2013-05-08 19:21:54

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

No in general I think my system temperature seems to be higher than usual. I don't know if it's a Gnome 3.8 thing or kernel related. Nothing to do with suspend cycle.

Offline

#434 2013-05-08 19:47:45

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

donniezazen wrote:

No in general I think my system temperature seems to be higher than usual. I don't know if it's a Gnome 3.8 thing or kernel related. Nothing to do with suspend cycle.

Are you getting the high (edit)cpu/gpu clock speeds?

Last edited by KaiSforza (2013-05-08 19:54:51)


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#435 2013-05-08 20:10:42

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
800000
[donnie@donnie-laptop ~]$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
[sudo] password for donnie: 
2701000

Is this helpful?

Offline

#436 2013-05-08 20:21:11

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Yeah. Unless you did something weird in between the two commands, then it's still a kernel issue. Try enabling [testing] and running 3.9. They should have nvidia blobs there that are rebuilt for the kernel bump.


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#437 2013-05-08 21:01:05

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Okay thanks.

Offline

#438 2013-05-09 10:25:40

regressionfree
Member
Registered: 2013-05-09
Posts: 2

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

hi..

I've had this regression issue since 3.4 (3.5 somewhat ok) on several distros running a laptop using i3 cpu and nvidia optimus. And I'm happy to report that now on manjaro (don't shot) and running kernel 3.9.0-1 my troubles are solved. My laptop is finally back in form and silent as a puppy.

Thanks for this thread btw. First time poster but have followed it for a long time smile

Offline

#439 2013-05-09 14:18:16

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 314

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

KaiSforza wrote:

Yeah. Unless you did something weird in between the two commands, then it's still a kernel issue. Try enabling [testing] and running 3.9. They should have nvidia blobs there that are rebuilt for the kernel bump.

I'm running 3.9 from testing. But it seems, things have changed a bit:

┌─[nordlicht@aegis][~]
└─$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory
┌─[nordlicht@aegis][~]
└─$ cat /sys/devices/system/cpu/cpu0/cpufreq/                 
affected_cpus                scaling_available_governors
cpuinfo_cur_freq             scaling_driver
cpuinfo_max_freq             scaling_governor
cpuinfo_min_freq             scaling_max_freq
cpuinfo_transition_latency   scaling_min_freq
related_cpus                 scaling_setspeed
┌─[nordlicht@aegis][~]
└─$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 
cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq: Permission denied
┌─[nordlicht@aegis][~]
└─$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 
782000
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave

Ondemand is gone?

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor 
powersave

And why "powersave" is the default?

Is this good or bad?

Last edited by Thorsten Reinbold (2013-05-09 14:23:27)

Offline

#440 2013-05-09 14:31:58

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Thorsten Reinbold wrote:
KaiSforza wrote:

Yeah. Unless you did something weird in between the two commands, then it's still a kernel issue. Try enabling [testing] and running 3.9. They should have nvidia blobs there that are rebuilt for the kernel bump.

I'm running 3.9 from testing. But it seems, things have changed a bit:
<SNIP>

┌─[nordlicht@aegis][~]
└─$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 
782000

This is fine (it's just below 800MHz).

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave

Ondemand is gone?

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor 
powersave

And why "powersave" is the default?

Is this good or bad?

I don't know what is with this new governer, but I have the same thing here, and with a simple zgrep, I can see that I did enable ondemand in the kernel. So far nothing seems wrong on my end, though.


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#441 2013-05-09 16:23:58

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 314

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Ok, got it. It's because of the new intel_pstate Driver from intel, which can be disabled with "intel_pstate=disable" on the Kernel line. For now, the driver only runs on sandybridge Cpu's.

cpupower frequency-info
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 2.30 GHz
  available frequency steps: 2.30 GHz, 2.30 GHz, 1.80 GHz, 1.60 GHz, 1.40 GHz, 1.20 GHz, 1000 MHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 800 MHz and 2.30 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  boost state support:
    Supported: yes
    Active: yes
    25500 MHz max turbo 4 active cores
    25500 MHz max turbo 3 active cores
    25500 MHz max turbo 2 active cores
    25500 MHz max turbo 1 active cores

I don't know if the intel_pstate or acpi-cpufreq are better or what the benfit of intel_pstate is. No idea. Has anyone more or better informations about this?

Offline

#442 2013-05-09 16:26:22

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 314

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Here the output with the intel_pstate driver enabled:

cpupower frequency-info
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 0.97 ms.
  hardware limits: 800 MHz - 2.90 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 2.90 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 782 MHz (asserted by call to hardware).
  boost state support:
    Supported: yes
    Active: yes
    25500 MHz max turbo 4 active cores
    25500 MHz max turbo 3 active cores
    25500 MHz max turbo 2 active cores
    25500 MHz max turbo 1 active cores

Last edited by Thorsten Reinbold (2013-05-09 16:36:25)

Offline

#443 2013-05-10 21:21:25

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

[donnie@donnie-laptop ~]$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
800000
[donnie@donnie-laptop ~]$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
800000

I disabled nvidia card through bios and now my system is much more cooler and no suspend problem. Overall temp drop is very nice. Constant fan really drives me crazy.

UPDATE:- Just got hit by the bug. Disabling nvidia does bring down the system temp but doesn't have effect on suspend bug. This is really unfortunate that this bug has resurfaced for me again in 3.8.11. Time to give 3.9 a try.

Last edited by donniezazen (2013-05-10 22:36:51)

Offline

#444 2013-05-12 14:08:31

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Does anybody have any further information on the new intel driver? I just got the 3.9.2 update and so acpi-cpufreq no longer loads ("FAILED"s from systemd). I'd just like to know if the new driver is better or worse so I know whether to disable it or not smile.

EDIT: See https://bugzilla.kernel.org/show_bug.cgi?id=57141. I don't understand this well enough to answer my question but perhaps somebody else will!

Last edited by cfr (2013-05-12 14:22:14)


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#445 2013-05-12 16:02:54

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,594
Website

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Thorsten Reinbold wrote:

Here the output with the intel_pstate driver enabled...

How did you enable it?  3.9.2-1-ARCH has it hard coded:

% zgrep PSTATE /proc/config.gz 
CONFIG_X86_INTEL_PSTATE=y
Thorsten Reinbold wrote:

For now, the driver only runs on sandybridge Cpu's...

This although 3 months old, seems to agree with your statement.

EDIT: https://bbs.archlinux.org/viewtopic.php?pid=1274311 shows a simple patch to allow ivybridge chips to use the pstate driver.  Running it here on my i7-3770k.  Also see the g+ url linked in the thread I just posted for more discussion.

Last edited by graysky (2013-05-17 19:37:46)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#446 2013-05-12 18:13:17

Druedain
Member
From: Poland
Registered: 2011-12-27
Posts: 50

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Anyone knows how to change from powersave to performance in new intel_pstate? After upgrade to Linux 3.9 my machine is sooo slooow… Working in Firefox is painfull, having happy moments in Minecraft changed to angry-5fps-moments in Minecraft sad

I've got Intel SandyBridge cpu. I've got classic frequently upgraded Arch Linux 64 with systemd on board.

Offline

#447 2013-05-12 18:39:13

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Druedain wrote:

Anyone knows how to change from powersave to performance in new intel_pstate? After upgrade to Linux 3.9 my machine is sooo slooow… Working in Firefox is painfull, having happy moments in Minecraft changed to angry-5fps-moments in Minecraft sad

I've got Intel SandyBridge cpu. I've got classic frequently upgraded Arch Linux 64 with systemd on board.

Not certain but if you look at the bug report I linked to, I *think* that tells you how to do what you want. Or, at least, how to effectively do the same thing.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#448 2013-05-12 18:49:45

Druedain
Member
From: Poland
Registered: 2011-12-27
Posts: 50

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

Never mind smile it was easier than I though. Using this https://wiki.archlinux.org/index.php/CP … h_cpupower but putting

cpupower frequency-set -g performance

instead of using options in table above.

Offline

#449 2013-05-12 21:07:10

stupidus
Member
Registered: 2012-02-27
Posts: 73

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I installed 3.9.2 now, and at a first glance it seems like the bug is finally fixed. I did not test it very long though. The power consumption is about ~11 W now. I tried one suspend/resume cycle and the power consumption did not increase.

Offline

#450 2013-05-13 14:22:24

hrkfdn
Member
Registered: 2012-08-29
Posts: 14

Re: Kernel 3.6.2 Power Regressions (Sandy Bridge)

I just built 3.9.2 and I'm still having the problem that after wakeup from suspend the CPU core temperature goes up to 70°C (in idle 40-50°C) with no CPU usage.

Anyone else encountering this? It's so incredibly annoying.. I need to suspend/wakeup again and then it's gone.

Offline

Board footer

Powered by FluxBB