Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]: intel gpu: no powersaving mode RC6 after resume
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
freifunk_connewitz
Apprentice
Apprentice


Joined: 08 Feb 2006
Posts: 229

PostPosted: Mon Mar 18, 2013 4:48 pm    Post subject: [SOLVED]: intel gpu: no powersaving mode RC6 after resume Reply with quote

hi all
I'm posting this because there has been no improvement over two kernel generations.

after kernel 3.5.7, with gentoo-3.6.11, the powersaving function for the Intel GPU on my Intel i7-Notebook stops working after resume from suspend. this function, called RC6, just recently had been activated by default in the kernel and lets the GPU fall into idle mode if not needed, which saves a great amount of power. in practise: without rc6 the power consumption goes from 9 to ~17 W, the fan is running all the time and the battery lasts only half the time. annoying. you can check if the GPU actually uses RC6 by calling

Code:
cat /sys/kernel/debug/dri/0/i915_drpc_info  | grep residency

and check if the residency number is increasing. if not, RC6 is off.

however, after kernel 3.5.7, in my case with version 3.6.11, after resuming, RC6 seems to be off. also kernel 3.7.10 fails.

this is a known problem: https://bugzilla.kernel.org/show_bug.cgi?id=52411

my question: are the Gentoo maintainers aware of the bug, and do they have ways to advise the kernel guys of this, or did I oversee any other solution than skipping kernel upgrade after kernel upgrade in waiting for the bug to be solved?

my system (the working one):
3.5.7-gentoo #4 SMP Sat Jan 26 14:31:48 IST 2013 x86_64 Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz GenuineIntel GNU/Linux
x11-drivers/xf86-video-intel-2.21.4
(kernel option to activate RC not set, because default)

thank you


Last edited by freifunk_connewitz on Fri Aug 30, 2013 9:42 am; edited 3 times in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Tue Mar 19, 2013 2:05 am    Post subject: Reply with quote

The commit referenced on the kernel bug you cited appears to have been included in Linux v3.8-rc5. Does Linux v3.8.3 work correctly for you?
Back to top
View user's profile Send private message
freifunk_connewitz
Apprentice
Apprentice


Joined: 08 Feb 2006
Posts: 229

PostPosted: Tue Mar 19, 2013 2:32 pm    Post subject: Reply with quote

I never used a ~-kernel, but gave it a try after your suggestion. but: exactly same result with gentoo-sources-3.8.3-r1. RC6-residency after resume from suspend stuck at 32461, fan running constantly. so obviously also 3.8 is still affected.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3919
Location: Hamburg

PostPosted: Tue Mar 19, 2013 2:58 pm    Post subject: Reply with quote

FWIW there are few more bug reports at the kernel's bugzilla page regarding this issue (eg.: https://bugzilla.kernel.org/show_bug.cgi?id=48791) - and this issue is still present in 3.8.3.
Back to top
View user's profile Send private message
freifunk_connewitz
Apprentice
Apprentice


Joined: 08 Feb 2006
Posts: 229

PostPosted: Thu Apr 25, 2013 8:51 am    Post subject: Reply with quote

good news. seems to be solved for me with kernel gentoo-3.8.8.
Back to top
View user's profile Send private message
freifunk_connewitz
Apprentice
Apprentice


Joined: 08 Feb 2006
Posts: 229

PostPosted: Fri Aug 02, 2013 8:48 pm    Post subject: reopened Reply with quote

reopen:
does occur again, but only randomly.
after suspend-resume rc6 is not active, with kernel 3.8.13 /without any special rc6-settings on bootup.
boooh!
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Aug 03, 2013 3:53 pm    Post subject: Reply with quote

please search for & file a bug report on:

https://bugs.freedesktop.org/
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
freifunk_connewitz
Apprentice
Apprentice


Joined: 08 Feb 2006
Posts: 229

PostPosted: Fri Aug 30, 2013 9:42 am    Post subject: Reply with quote

I wanted, but again, with kernel 3.10.7, the problem disappeared.
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