Hi
Is it possible, as for today, to set minimum clock speed for GPU when device goes into deep sleep mode (screen turns black) ?
I suppose when phone screen switchess off, gpu speed runs at min speed (300mhz) ?. I would like it to be never less then 450mhz
I don't know, sorry. But you've made me curious, why would you want to keep the GPU running faster than needed, when the screen is off?
You need a custome kernel that supports that and a kernel app that can give the commands. Unless you are good with scripts and feel confident to change that manually.
Sent from my SM-G920T
G4 GPU minimum speeed is 180MHz and max 600MHz. I check it with faux clock but setting dont stick propertly.
RedOCtobyr said:
I don't know, sorry. But you've made me curious, why would you want to keep the GPU running faster than needed, when the screen is off?
Click to expand...
Click to collapse
It happens that the lowest frequency of gpu kills music played through bluetooth. Its unstable, music skips. I know this for a fact because on rooted lg g3 i played a little bit with it and when setting gpu to at least 350mhz in deep sleep music could be played flawlessly.
Anyways, thats what i wanna do with my G4 and seems when i'll root my phone forthcoming weekend i should be able to do it with "Faux123 Kernel Enhancement Pro"
It's available from google playstore. Anyone familiar with this tool ?
Finally..
İ find it that settings for gpu, with this setting, you will be able to change the frequency of the GPU in standby mode while the screen off, this setting was 300 mhz by default on my device, so the device was consuming too much battery in standby mode so I made the default standby frequency 180mhz, you can give it the frequency you want
My device is lg g4, gpu frequency range 180 mhz -600 mhz among,
download this program first
https://play.google.com/store/apps/details?id=com.gmail.gogoshopa5.cpusettingsgl
Needs root auhority
After go to gpu tab
Click on button then scroll down
You can see it default_pwrlevel
you can give this value the frequency that the GPU will use in standby mode
For Lg g4 5 equivalent of value 180 mhz
4 equivalent of value 300 mhz
3 equivalent of value 367 mhz
2 equivalent of value 450 mhz
1 equivalent of value 490 mhz
0 equivalent of value 600 mhz
https://i.imgyukle.com/2020/02/01/nkYpAq.png
Biber_Golge said:
Finally..
İ find it that settings for gpu, with this setting, you will be able to change the frequency of the GPU in standby mode while the screen off, this setting was 300 mhz by default on my device, so the device was consuming too much battery in standby mode so I made the default standby frequency 180mhz, you can give it the frequency you want
My device is lg g4, gpu frequency range 180 mhz -600 mhz among,
download this program first
https://play.google.com/store/apps/details?id=com.gmail.gogoshopa5.cpusettingsgl
Needs root auhority
After go to gpu tab
Click on button then scroll down
You can see it default_pwrlevel
you can give this value the frequency that the GPU will use in standby mode
For Lg g4 5 equivalent of value 180 mhz
4 equivalent of value 300 mhz
3 equivalent of value 367 mhz
2 equivalent of value 450 mhz
1 equivalent of value 490 mhz
0 equivalent of value 600 mhz
https://i.imgyukle.com/2020/02/01/nkYpAq.png
Click to expand...
Click to collapse
Everything is ok.. thanks for your help..
But I want more information and help...
In my device already available OpenCL GPU...
But shown my OpenCL GPU frequency 1 MHz.. how can I increase my OpenCL GPU frequency?..
Can you please help me ... please help me...
Related
Hi,
I've just noticed the Performance settings menu under the CyanogenMod Settings menu and I wanted to give overclock and other features a try...safely.
I'm looking for increasing my Wildfire's performance in a remarkable way but without harming or causing any trouble to the phone. So I'd like to start in a quite conservative way.
What governor should I choose? (default: smartass)
What max and min CPU frequency? (default 518 and 352 Mhz)
What about the VM heap size? (default 24m)
What do you guys use as your settings?
Thanks a lot!
Governor : Smartass
CPU Speeds : 264 Min, 652 Max
VM Heap Size : 32 M
Remember, don't expect miracles by OC'ing your CPU. You'll probably be disappointed.
Thanks for answering!
In the meanwhile I set up 264 as min and 691 as max...is that too much and potentially dangerous?
No miracles indeed but the phone felt a bit more snappy when playing games for example.
Do you know where I can find some info about the different governors?
Also, what is exactly the VM heap size?
Thank you!
No, wont harm it. Only if you experience instability, reduce it to the next (Or rather, Previous) level.
CPU Governors:
* ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
* conservative – Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
* performance – Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.
* powersave – Available in some kernels. It will keep the CPU running at the “min” set value at all times.
* userspace – A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.
(The above wall of text is lifted from SetCPU's site)
In addition to that , Smartass is really the smart one. When your screen is on, the minimum frequency will automatically be set to 518 MHz, making your phone seem it is flying, and, when the screen is off, then, it reverts back to the minimum set value, and saves battery - Best of both worlds!
As for VM Heap Size, it is the maximum amount of heap space (i.e. memory) a single instance of the Dalvik VM (application) can obtain. Technical concept, but, you can read it up more if you like.
Thanks a lot for the insigthful reply, everything's clearer now!
i put everything on max. but thats just me. phone works fine though :L
Hi,
What's the best setting for my battery? It drains so fast.
Mine is as following:
Min.: 245 Mhz
Max.: 537 Mhz
INTERACTIVE
I have to charge the Phone every evening, thats a bit annoying.
Thank you in advance
When using the cyanogenmod settings for the cpu speed,setcpu isn't required anymore right?
Sent from my HTC Wildfire using XDA App
FrydaeXIII said:
When using the cyanogenmod settings for the cpu speed,setcpu isn't required anymore right?
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Yes, you are right. Conflicting apps are never recommended.
thanks for the tip...
cm7 said its default cpu speed is set at 1000mhz.. but when i use quadrant standrad/ quick system info to check my cpu range, it shows that my cpu is at 800MHz.. I have checked my settings both in the cyanogen settings and the boot menu.. i am choose 1000MHz .. but the cpu is still stick at 800MHz.. How can i turn it to 1000MHz, may i use setvsel ??
anyone help??
during bootup, press volume down key when you see the LED in "Blue". You can find a Overclock menu, adjust accordingly.
I notice Milestone OC, n SetVSel doesn't save settings on CM7-Defy
i have try that.. but the setting in bootmenu did not really apply ...
no matter i press set default or save..
Hi,
I'm using cm7-110615-1323-BOOT177-Jordan.zip and everything works as it should.
I'm using the widget called "Temp+CPU V2" from the Market and it showes clocks between 300 and 1000 MHz. CPU-load, Temp and used RAM also works fine.
Make sure you don't have your middle frequency set to 800. For some reason that was causing me similar problems, but all has been good since I changed the middle freq to 790...
dew.man said:
Make sure you don't have your middle frequency set to 800. For some reason that was causing me similar problems, but all has been good since I changed the middle freq to 790...
Click to expand...
Click to collapse
It doesnt work..my cpu and battery vsel setting still at the stock value.. which is 33/300,48/600,58,800
Sent from my MB525 using XDA App
When I look at system settings it shows the following
Current (300-1000)
Min (300)
Max (800)
Min is 300, Max is 800. However current has been 300 - 1000. So this measures the current setting and it can be higher than the 'max'.
Try another tool to measure your cpu freq, setvesl has a decent one.
Olly
Hi. I have a rooted HTC One X international version with the quad core processor supposedly. 1.5ghz but when i checked quick system info it says my cpu clock is only running at 1.4ghz. I have set cpu installed and i have ensured that ive set the min and max to 1.5ghz but still it remains at 1.4ghz. I dont know if it was like this before i rooted my device or before i installed setcpu, or if this is just the way its supposed to be. Please advice.
If ever this is unusual, could someone tell me how to fix it? Should i reflash the kernel or bootloader?
Thanks in advance for ur help.
draftbeer89 said:
Hi. I have a rooted HTC One X international version with the quad core processor supposedly. 1.5ghz but when i checked quick system info it says my cpu clock is only running at 1.4ghz. I have set cpu installed and i have ensured that ive set the min and max to 1.5ghz but still it remains at 1.4ghz. I dont know if it was like this before i rooted my device or before i installed setcpu, or if this is just the way its supposed to be. Please advice.
If ever this is unusual, could someone tell me how to fix it? Should i reflash the kernel or bootloader?
Thanks in advance for ur help.
Click to expand...
Click to collapse
i tried it and the cpu range shows as 51 to 1500 no probs.
try cpu spy, then run a bench mark service, then go back to cpu spy and check if it reached 1500ghz
Oh, sorry if I got misunderstood. Setting the range is NOT the problem. I can set it just fine, and the profiles work well too. It's just that if I set the min and max to 1500mhz, the ACTUAL cpu clock (the large number on top of the min and max sliders) remains at 1400. When I lower/change the min max, the frequency lowers/changes accordingly. But, as I mentioned, the max ACTUAL cpu frequency remains at 1400mhz even though the sliders are already set to 1500mhz.
So, I want to know if that's normal. I read from somewhere that the maximum frequency for multi-core is 1400mhz and the maximum frequency for single core is 1500mhz. But I'm not sure though so I want to verify that information.
Thanks!
*I got this complete set of STweaks config from Verizon Note 2 section and it works well with GN-N7100/N7105*
Alright, below this, I will include an almost full guide to setting up STweaks (for those who do not want to use the provided profiles)
The CPU section contains the frequencies and voltages that you want to run at.
200mHz is the minimum speed, 1800mHz is the maximum speed. You can change these to affect your overall performance or battery life. Mine is currently set to 200mHz minimum, 1800mHz maximum. I have seen no hit on battery life at all (might be miniscule.)
Now for the voltages.. Each and every person will have a different set of voltages, as every CPU will be a little bit different. You can manually set your frequency to a certain level, use a CPU stress testing app (stability test) and drop the voltage by SMALL increments until you start to lose stability (system crashes, app force closes, etc.) I usually go UP one voltage step over the borderline stable voltage. I will post my voltages, but take caution, as my voltages are set pretty low compared to stock values on the kernel.
1800mHz - set to 1200000 uV or 1.2 volts.
1704mHz - set to 1175000 uV or 1.175 volts.
1600mHz - set to 1112500 uV or 1.1125 volts.
1500mHz - set to 1100000 uV or 1.1 volts.
1400mHz - set to 1062500 uV or 1.0625 volts.
1300mHz - set to 1025000 uV or 1.025 volts.
1200mHz - set to 1000000 uV or 1 volt.
1100mHz - set to 975000 uV or 0.975 volts.
1000mHz - set to 962500 uV or 0.9625 volts.
900mHz - set to 937500 uV or 0.9375 volts.
800mHz - set to 912500 uV or 0.9125 volts.
700mHz - set to 887500 uV or 0.8875 volts.
600mHz - set to 862500 uV or 0.8625 volts.
500mHz - set to 837500 uV or 0.8375 volts.
400mHz - set to 812500 uV or 0.8125 volts.
300mHz - set to 800000 uV or 0.8 volts.
200mHz - set to 787500 uV or 0.7875 volts. * BE CAREFUL WITH THIS ONE, it can cause your device to lock up when the screen is off, and need a battery pull if the voltage is too low.
CPU Scaling Section - this controls how your device will turn up the speed when it needs to.
Governor - This contols how the device will respond overall (power management, sleep, etc.) I will keep mine set to the Pegasusq governor unless I am running a benchmark, in that case, use perfomance (which locks the device to full speed and all 4 cores online)
Sampling Rate - how often the device will 'think' about changing the CPU speed. I have mine set to 15000 uS (15 milliseconds) so it is more responsive.
Sampling Down Factor - This enables you to create 'lag' when the device is at full speed, so it doesn't jump down frequencies when you don't want it to. I leave mine at default 1 sample, because I see no need for this.
Up Threshold - When a core hits this % utilization at a set frequency, then it will scale up to the next frequency. I have mine set to 96%, so the device will scale up slower and more reliably (keep in mind it makes this decision every 15 milliseconds.)
Down Differential - When the device scales down, (drops frequency) it must get below this % utilization to scale down ( UP THRESHOLD minus DOWN DIFFERENTIAL ) I have mine set to 5%, so it drops frequency at or below 91% utilization.
Frequency for Responsiveness - This helps keep the device smooth at lower frequency, and when the frequency is below the set spot, it will use a DIFFERENT up threshold so the device scales up faster and doesn't lag. My frequency setting is 500mHz, and the up threshold for it is set at 70%.
Frequency for Fast Down - this sets the frequency at which the device can use aggressive down scaling, much like the opposite of frequency for responsiveness. I have mine set to 1400mHz, and the up threshold is set to 98%, so the device only scales up if it really needs to.
Frequency Step - This applies to the Fast Down setting, and whenever the device gets above 98% utilization, then it will increase the frequency by a SET percentage of the maximum frequency. So if you set 10%, and are have 1800mHz max, it will increase to the closest step that adds 180mHz. I have mine set to 6%, so it increases by 108mHz.
The up threshold and frequency step decrease confuse me for this, but I have the up threshold set to 2%, and the frequency step set to 3%.
I didn't touch the flexrate settings, as everything else should control this area.
CPU Hotplug - This section will control how the device turns its cores on and off.
CPU Up Rate - How many samples you want to take until a core decides to turn on. (Sampling rate times your setting) I have mine set to 12, so if the conditions are correct, it takes 180 milliseconds to turn a core on.
CPU Down Rate - How many samples you want to take until a core decides to turn off. (Same thing as CPU up rate) Mine is set to 10, so it takes 150 milliseconds to turn off a core if it isn't being used.
Core Upbring Count - How many cores you want to bring online when the conditions are right. Mine is set to 1, I'm sure more will increase performance and hurt battery life.
Configuration Overrides - These can set you device to always have a certain amount of cores online, I don't use them (leave at 0.)
Hotplug Conditionals - These perameters are set to control when the cores turn on and off. Below are MY values
Hotplug 1 Core to ONLINE (make 2 cores online) - 600mHz
Hotplug 2 Cores to OFFLINE (make 1 core online) - 500mHz
Hotplug 2 Cores to ONLINE (make 3 cores online) - 700mHz
Hotplug 3 Cores to OFFLINE (make 2 cores online) - 600mHz
Hotplug 3 Cores to ONLINE (make 4 cores online) - 800mHz
Hotplug 4 Cores to OFFLINE (make 3 cores online) - 700mHz
The rest of this section, I left at DEFAULT values, because I did not understand them.
GPU - This section controls the frequencies and voltages of your GPU.
Maximum Frequency - How high you want your GPU to clock to, mine is set to 733mHz.
Minimum Frequency - How low you want your GPU to clock to, mine is set to 108mHz.
Up Threshold - Like the CPU setting, the percentage of utilization you achieve before the GPU scales up. Mine is set to 90%.
Down Differential - When you want your GPU to scale down lower, (Up threshold minus down differential.) Mine is set to 10%, so when the GPU hits 80% utilization on a speed, it drops to a lower frequency.
Utilization Timeout - Basically is the sampling speed of the GPU (how fast you want it to make decisions to change speed.) Mine is set to 25 milliseconds.
Voltages - Test these the same way as the CPU, get a GPU stress testing app, and set a certain frequency. When you see artifacts or glitches on your screen, then the voltages are too low. Below are MY values.
54mHz - 825mV
108mHz - 875mV
160mHz - 950mV
266mHz - 975mV
350mHz - 1050mV
440mHz - 1100mV
533mHz - 1125mV
640mHz - 1150mV
733mHz - 1175mV
800mHz - 1200mV (This clock speed proved to be slightly unstable at 1175mV, though still usable)
I/O section - These values/settings control how your device writes/reads things from the SD card, or internal storage.
I left both of my storage schedulers at ROW but you can change them and play around. I believe that deadline is the best for overall performance, but can be unstable sometimes.
I/O Read Ahead - These control the cache file on the internal/external storage. I have my internal set to 1536kB, and external set to 2048kB, because those values gave me overall good write/read speeds.
Dynamic Fsync - From what I know, this helps keep the data from being corrupted by creating a buffer between data being written and the storage. Correct me if I'm wrong. I kept it enabled.
The entire audio section is pretty self explanatory, and I'm getting tired of typing all of this, so if you need help, PM me or comment.
Again, take this entire post with caution. What works with my device, may make yours unstable. I only provided mine to give you a baseline, my values offer good performance and battery life anyways. Feel free to correct any of my errors by PM or comment, and I will gladly change my post to accommodate for my errors
My phone is stable at 782.5mv on perseus but in deep sleep it just isn't. Not even on 813mv.
this is XXXDDDAAA
And 2000 is max with Redpill.
this is XXXDDDAAA
Thanks for the guide, will test your settings:highfive:
McLaren__F1 said:
Thanks for the guide, will test your settings:highfive:
Click to expand...
Click to collapse
Do post your result here. It works great for me.
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.