Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,372 Members 39,864 Now Online
XDA Developers Android and Mobile Development Forum

Thermal Throttling... Let's talk about it

Tip us?
 
titomax82
Old
#1  
Senior Member - OP
Thanks Meter 23
Posts: 129
Join Date: Jan 2008
Lightbulb Thermal Throttling... Let's talk about it

Please, after reading my post, don't blame me or suggest things like "mobile devices aren't meant to play or aren't meant to replace pc", I'm not looking for surrender, I'm looking for advices or proposals.

Several times I've noticed Thermal Throttling (from now TT ) effects on our device, because during high-resource-demanding apps, for example Real Racing 3 (but everyone can have his own high-resource-demanding app example), TT decreases cpu frequencies (maybe gpu too?) when it reaches a certain temperature, causing framerate drop. With cool-phone RR3 has superb framerate, but when phone becomes hot (after 6-7 minutes), there's a noticeable framerate drop caused by TT. You can notice this just by watching at asphalt flow under the car or how trees move in the environment.

This is normal, TT is normal and good beacuse it prevents high-temp damage, "but" I think that LG (or qualcomm or android) has implemented this function in a wrong way, not optimal. If this effect is so significant, it means that cpu frequencies cut is too much! I think it cuts in "half" cpu frequency, but it's a very conservative behaviuor, it's too much! If we consider another device, for example 4-cores clocked at 1,2 GHz, this device won't have 50 fps as G2 (in first minutes), maybe it will have 40 fps all the time, but it won't throttle down; G2 instead will throttle down and framerate will drop to 25 fps, which is not optimal, until it will cool (when stop playing, because it won't cool during playing). If these two devices were two cars, slower car would be the fastest because it will be constant and have best lap times.

First of all, there's a "normal" hardware problem that involves cooling and this problem can't be faced. But it's a software problem too, in the way TT is tuned; TT setting is what we shall deal with.
How can we achive this? There are several ideas:

1) Reading through forums I read about two possibile secret menu settings (3845#*802# ... 802 is phone model):
a) Thermal mitigation daemon off: this value should affect screen light dimming to lower temp, but it's not something that can slow down fps;
I tried it but my phone rebooted after 5 minutes playing and went into bootloop...
b) High temperature priority off: this value should affect TT temperature start treshold, for example increasing it from 60C to 70C, that is still a safe (internal) temp; I noticed a decreased TT effect, but it doesn't disappear. It simply happens after more time (for example after 10 minutes instead of 5). It's not a ultimate solution;

2a) Lowering max cpu freq to a value that prevents reaching TT treshold; but it depends also on environment temp, we should make too much tries; can someone say what max cpu freq to set? Obviously not to low... if 1.8 GHz it's good, if 1.4 GHz it will be better sell G2 and buy a less hardware performant nexus 4, but in real life better in performance than G2 because N4 can be less affected by TT;

2b) Lowering voltages, same as 2a), it's very difficult and we won't be sure to solve the problem;

3) There are several system files ( http://forum.xda-developers.com/show...472318&page=43 ) that can be involved in TT tuning... Very difficult to achieve...

4) If TT can be tuned by kernel, a custom kernel with better TT tuning... hoping in a dev. (I think this would be the best solution).

What do you think about?
 
PAGOT
Old
#2  
PAGOT's Avatar
Senior Member
Thanks Meter 339
Posts: 1,518
Join Date: Dec 2007

 
DONATE TO ME
Quote:
Originally Posted by titomax82 View Post
4) If TT can be tuned by kernel, a custom kernel with better TT tuning... hoping in a dev. (I think this would be the best solution).

What do you think about?
That you did not do your research? I am not sure where you are headed at, but check our this DEV for example.
http://forum.xda-developers.com/show....php?t=2725023

^ don't have that phone anymore, too lazy to change the picture...

LG G2
Stock 4.4.2 with G2 TweaksBox variant 0
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 444 /sys/class/leds/button-backlight/brightness
echo "who cares, always changes with the kernel..." > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table


Quadrant score never matters!
 
titomax82
Old
#3  
Senior Member - OP
Thanks Meter 23
Posts: 129
Join Date: Jan 2008
Quote:
Originally Posted by PAGOT View Post
That you did not do your research? I am not sure where you are headed at, but check our this DEV for example.
http://forum.xda-developers.com/show....php?t=2725023
Do you mean this "Support Inteli CPU Temp control (by @faux123)" in "whats inside"? Is this what I'm looking for in 4)?
 
PAGOT
Old
#4  
PAGOT's Avatar
Senior Member
Thanks Meter 339
Posts: 1,518
Join Date: Dec 2007

 
DONATE TO ME
Quote:
Originally Posted by titomax82 View Post
Do you mean this "Support Inteli CPU Temp control (by @faux123)" in "whats inside"? Is this what I'm looking for in 4)?
You have to test. But almost all custom kernels are pretty much tweakable to your loving. Anyway depends on which device and Android version you are. Check carefully that you are not with a brick in the end.

Sent from my LG-D802 using Tapatalk

^ don't have that phone anymore, too lazy to change the picture...

LG G2
Stock 4.4.2 with G2 TweaksBox variant 0
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 444 /sys/class/leds/button-backlight/brightness
echo "who cares, always changes with the kernel..." > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table


Quadrant score never matters!
 
titomax82
Old
#5  
Senior Member - OP
Thanks Meter 23
Posts: 129
Join Date: Jan 2008
Quote:
Originally Posted by PAGOT View Post
You have to test. But almost all custom kernels are pretty much tweakable to your loving. Anyway depends on which device and Android version you are. Check carefully that you are not with a brick in the end.

Sent from my LG-D802 using Tapatalk
I'm not expert in tweaking...
 
XxZombiePikachu
Old
#6  
XxZombiePikachu's Avatar
Senior Member
Thanks Meter 1098
Posts: 2,159
Join Date: Jul 2013
Location: Aguada
Well all I'm gonna say is I'm a huge gamer, I own multiple consoles and am into pc gaming and I've been doing some gaming on my g2 and here is a list of games I play gta 3/San Andreas, dungeon Hunter and I play psp games and most demanding of all I play dolphin emulator (GameCube games) and out of all the them the only one I can't play for more than 35 mins is dolphin because it's too cpu intensive(after 40mins fps goes down and at about an hour the phone might reboot itself it's happened before) and my phone is all stock(because dorimanx kk kernel is not completely stable yet)

Sent from my LG-D800 running stock kk, rooted with philz using XDA app
 
titomax82
Old
(Last edited by titomax82; 21st May 2014 at 11:26 AM.)
#7  
Senior Member - OP
Thanks Meter 23
Posts: 129
Join Date: Jan 2008
Quote:
Originally Posted by XxZombiePikachu View Post
Well all I'm gonna say is I'm a huge gamer, I own multiple consoles and am into pc gaming and I've been doing some gaming on my g2 and here is a list of games I play gta 3/San Andreas, dungeon Hunter and I play psp games and most demanding of all I play dolphin emulator (GameCube games) and out of all the them the only one I can't play for more than 35 mins is dolphin because it's too cpu intensive(after 40mins fps goes down and at about an hour the phone might reboot itself it's happened before) and my phone is all stock(because dorimanx kk kernel is not completely stable yet)

Sent from my LG-D800 running stock kk, rooted with philz using XDA app
I tried 2 kernels:

1) Dorimanx 4.4: too much options to set... with default installation G2 is slower in antutu and in gaming...

2) Simple Kernel V5 (No Oc version): wonderful with default installation, phone becomes a little bit hotter than custom kernel, but no TT! Very Good! Also, I can revert "High Temperature Priority OFF" to its default setting (OFF): phone becomes slightly cooler and TT becomes barely noticeable. TT can be still considered solved, with temperature and battery benefits.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...