[LG D855] CPU Frequency doesn't stick - G3 Q&A, Help & Troubleshooting

Why doesn't the max cpu remain constant in kernel audiutor??
I have cm 13 and I have tried flashing the Nebula kernel, used their modded kernel audiutor app and max frequency doesn't stick, after I put it at 2457 MHz and try out a benchmark I would get sh**ty scores and go back to Kernel Audiutor app to find out that my new max frequency was 800 MHz (or another, max frequency was totally random) , why??? I tried flashing the 777 Kernel (maybe the kernel was the issue?) and got the same result! Cpu frequency changes after a while, am I doing something wrong? I have disabled hotplug cpu and the thermal to see if it was the case, didnt work... Any solution?

Settings > Battery > Set mode to performance - you can set this in kernel audiutor i believe (sorry my spelling is crap) but i'm not sure what section it's in.

Still doesn't work
I just tried your suggestion after a little bit of googling and finding this thread. What else could I try? I see my CPU change instantly after applying the changes ..... My phone is really lagging so that's why I need to change this stupid setting.

Related

System or Kernel chages cpu frequencies itself!!?

Hey guys,
i got a problem adjusting the cpu frequencies on my Galaxy S4 mini GT9195.
For example, i change it to 162mhz minimum and 1026mhz maximum and the smartassV2 govenor. Then that changes ramdomly to some weird frequencies automaticly and out of a sudden. Like 1458mhz minimum and maximum.
I use the cyanogenmod11 M7 rom and the f4ktion 1.5.0 Kernel (the cyanogen kernel does the same btw)
As App for adjusting i use the Kernel Tweaker, but even if i do it in the System settings its doing the same...
I did some undervolting, this stays as i set it.
I hope you guys can help me its annoying to check it every houre and see that it changed again and drains my battery
Sebastian
Devices using a modern qualcomm cpu, relies on two userspace daemons (mpdecision and thermald) to manage frequency and thermal throttling. So mpdecision takes care of the frequencies and cpu hot-plugging (when to engage additional cores or not), and thermald lowers the frequency if the temperature gets too high, in order to protect the cpu from overheating. This is not compatible with the frequency settings in CM or any third party app with similar functionality, as they will always override whatever you set there.
arco68 said:
Devices using a modern qualcomm cpu, relies on two userspace daemons (mpdecision and thermald) to manage frequency and thermal throttling. So mpdecision takes care of the frequencies and cpu hot-plugging (when to engage additional cores or not), and thermald lowers the frequency if the temperature gets too high, in order to protect the cpu from overheating. This is not compatible with the frequency settings in CM or any third party app with similar functionality, as they will always override whatever you set there.
Click to expand...
Click to collapse
I see.. Thanks for the answer mate, so there's no way to save battery like this? It just seems sometimes that it's stuck at some frequencies...
Well, you could make a custom boot image that disables those daemons, but it could cause more harm than good.
Sebastianm1989 said:
Hey guys,
i got a problem adjusting the cpu frequencies on my Galaxy S4 mini GT9195.
For example, i change it to 162mhz minimum and 1026mhz maximum and the smartassV2 govenor. Then that changes ramdomly to some weird frequencies automaticly and out of a sudden. Like 1458mhz minimum and maximum.
I use the cyanogenmod11 M7 rom and the f4ktion 1.5.0 Kernel (the cyanogen kernel does the same btw)
As App for adjusting i use the Kernel Tweaker, but even if i do it in the System settings its doing the same...
I did some undervolting, this stays as i set it.
I hope you guys can help me its annoying to check it every houre and see that it changed again and drains my battery
Sebastian
Click to expand...
Click to collapse
f4ktion kernel 1.5.0 is not designed for M7. For M7 use 1.4.5.
I'm right now with nightly 0703, kernel 1.5.0, mpdecision disable and MSM Hotplug enable (performance control). With this settings that bug disapeared. 162 mhz - 1728 mhz; smartassh3; ROW.
In M7, and 1.4.5 kernel, the only governor that works with 162 mhz and don't change to 1458 mhz is the Ondemand.

[Q] Stock kernel - bugs and behavior

Did anybody noticed the following bugs and behavior in stock kernel CPU controls ? If not, can you please post your ROM/build/kernel versions or even firmware version? Maybe some firmwares are fixed?
- Setting max CPU frequency actually change kernel internal min CPU frequency! eg if I set 1GHz max frequency, all cores jump to 1GHz minimum! Setting min CPU frequency seems to have no effect. Only a reboot can recover from this, sadly.
- Setting governor to interactive_eglinteractive freezes the phone which then reboots after a while.
- There doesn't seem to be any mpdecision module running, so all cores are always online, except maybe second CPU cores are turned-off in standby.
On the positive side, it appears that controlling online states of individual cores works well, good to turn off cores when screen's off for example.
I'm running latest received OTA: Android 4.3, kernel 3.4.39-2641344, build version JSS15J.N7505POUBND2.
Most of the features you are talking will not work correctly without a custom OC kernel....So let it be like it is untill we get a custom kernel....

Cpu problem

My cpu is scaling to 900mhz, any one can help me to fix this at 300 mhz. I tried a lot of apps but nothing change, is there a tool to modify the cpu freq in the kernel ?
U hv to root ur phone and then install SetCPU...then set the min frequency as 300 mhz
prabhuinbar said:
U hv to root ur phone and then install SetCPU...then set the min frequency as 300 mhz
Click to expand...
Click to collapse
I tried a lot of cpu apps, look no frills cpu, set spu etc.. But nothing change, see the attachment
in general section there is a thread with Thermal Config to prevent lagging and overheating by ravinder003
Use that thermal config
SH3H1 said:
in general section there is a thread with Thermal Config to prevent lagging and overheating by ravinder003
Use that thermal config
Click to expand...
Click to collapse
I deleted the red lines in the thermal config too but now i just want to set my cpu min to 300, i juste want to modify the cpu freq in the kernel
What cpu frequency to set for gaming and also for battery saving
In No-frills Cpu set Governor to powersave and also go to nofrills cpu settings and check prevent changes from other apps.
However it may cause unexpected behaviour like hangs and slow down so better stay bit above of 300Mhz.
alok932 said:
In No-frills Cpu set Governor to powersave and also go to nofrills cpu settings and check prevent changes from other apps.
However it may cause unexpected behaviour like hangs and slow down so better stay bit above of 300Mhz.
Click to expand...
Click to collapse
I tried but the cpu freq is not changing in the scaling_min freq, cpu is min is always scaling on 900, thanks for reply
Ferhat78 said:
I tried but the cpu freq is not changing in the scaling_min freq, cpu is min is always scaling on 900, thanks for reply
Click to expand...
Click to collapse
Delete the thermal engine file. Then go to /sys/devices/system/cpu/cpu0/cpufreq/
There you'll see two files at the bottom ~ scaling_max_freq and scaling_min_freq
Change the values in them. See if it works.
EDIT: Seems like you already tried it.
alok932 said:
In No-frills Cpu set Governor to powersave and also go to nofrills cpu settings and check prevent changes from other apps.
However it may cause unexpected behaviour like hangs and slow down so better stay bit above of 300Mhz.
Click to expand...
Click to collapse
zTweaked said:
Delete the thermal engine file. Then go to /sys/devices/system/cpu/cpu0/cpufreq/
There you'll see two files at the bottom ~ scaling_max_freq and scaling_min_freq
Change the values in them. See if it works.
EDIT: Seems like you already tried it.
Click to expand...
Click to collapse
Thabks for reply, but i can change the value of the cpu min scaling, it's impossible to change, i changed but after a reboot a have always 900mhz min
Ferhat78 said:
Thabks for reply, but i can change the value of the cpu min scaling, it's impossible to change, i changed but after a reboot a have always 900mhz min
Click to expand...
Click to collapse
Check apply on boot in no frills cpu. However it wont always stay on 300 bcoz its based on performance. if you want it to stay near to 300 always then reduce max freq. If it still doesnt work and you are on miui then change your rom...Try using mokee rom.
alok932 said:
Check apply on boot in no frills cpu. However it wont always stay on 300 bcoz its based on performance. if you want it to stay near to 300 always then reduce max freq. If it still doesnt work and you are on miui then change your rom...Try using mokee rom.
Click to expand...
Click to collapse
Tried kernel tuner 2014 and now the cpu is scaling on 300, thanks for reply everybody, thanks a lot for yours answers kernel tuner work perfectly but no frills cpu or setcpu doesnt work perfectly look like kernel tuner

cpufreq malfunction?

I have a rooted Mi A2 lite with updated stock Oreo (5 sept). I tried to change cpu governor with an terminal app but only performance seems to work. For example when I changed to powersave governor, actually the cpu is scalled to other frequencies too.
The kernel may override external CPU governor settings, you could try to fine-tune settings with tools like Kernel Adiutor.
thorin0815 said:
The kernel may override external CPU governor settings, you could try to fine-tune settings with tools like Kernel Adiutor.
Click to expand...
Click to collapse
Exactly this app I have installed to check total time spent to different frequencies. Before installing this app I configured through Terminal app powersave governor. After that, Kernel auditor show me that maximum fequency that one core can reach is 652800 mhz, which is correct because I have configured powersave cpu governor. Than I reset time history in Kernel Auditor and after few minutes when I checked time spent on different frequencies I have noticed that other frequencies where used too (in special the last one, 2 ghz). Even if the phone have very little load the last frequency is used a lot. I think this issue have nothing to do whith fingerprint sensor because I have this with and without fingerprint checking active. Maybe cpufreq scalling driver msm have something to do.

Question POCO F3 CPU min/max frequencies constantly changing by themselves

This is my first post on XDA. Recently, I got a POCO F3. Today, I tried various combinations of mods and custom firmwares and when I check in Franco Kernel Manager, my CPU min and max frequencies are chaging bby themselves. This is just with root and custom recovery installed. I thought a custom kernel may fix this, but it didn't (I tried Immensity-X, WildAngel Performance and NoGravity). As well as that, I'm finding that the GPU cannot handle an overclock or else the min and max frequencies will also fluctuate by themselves. The overclock I tried was to 682 MHz (my F3 isn't a silicon lottery winner). Does anyone have any idea as to what the issue might be?
you try flash last build NoGravity Kernel v1.0.1 + NGK App 6.1.1 (Hotfix) ?
CRNO said:
you try flash last build NoGravity Kernel v1.0.1 + NGK App 6.1.1 (Hotfix) ?
Click to expand...
Click to collapse
I'll try it, thx
simonvolt147 said:
This is my first post on XDA. Recently, I got a POCO F3. Today, I tried various combinations of mods and custom firmwares and when I check in Franco Kernel Manager, my CPU min and max frequencies are chaging bby themselves. This is just with root and custom recovery installed. I thought a custom kernel may fix this, but it didn't (I tried Immensity-X, WildAngel Performance and NoGravity). As well as that, I'm finding that the GPU cannot handle an overclock or else the min and max frequencies will also fluctuate by themselves. The overclock I tried was to 682 MHz (my F3 isn't a silicon lottery winner). Does anyone have any idea as to what the issue might be?
Click to expand...
Click to collapse
Xiaomi does some crazy ass throttlings that limits cpu freq to 2.7k default and keeps changing with temperature 37*c, 39*c, 41*c and so on
same with gpu, gpu is not limited but it starts throttling at higher temperatures too but the problem with gpu throttling is that it doesnt revert back to highest when the temperature cools down, you'll have to revert it manually.
only way to fix this is if you edit the thermals yourself or use dynamic profile or flash thermal no junk
3zozHashim said:
Xiaomi does some crazy ass throttlings that limits cpu freq to 2.7k default and keeps changing with temperature 37*c, 39*c, 41*c and so on
same with gpu, gpu is not limited but it starts throttling at higher temperatures too but the problem with gpu throttling is that it doesnt revert back to highest when the temperature cools down, you'll have to revert it manually.
only way to fix this is if you edit the thermals yourself or use dynamic profile or flash thermal no junk
Click to expand...
Click to collapse
You can fix the freq. of both CPU and GPU to be max, and disable the mi_thermald. Try "extras/jitter-reducer.sh" in USB_SampleRate_Changer which has been developed for hi-fi audio use. But this can disable almost possible battery saving features, e.g., GPU power level, thermal throttling, doze, wireless connectivity optimization, etc., to avoid jitter distortion on all digital audio outputs.
Note: this is tested only on the STOCK kernel.

Categories

Resources