Overclock GPU - Android Software/Hacking General [Developers Only]

Hi there, is it possible to overclock GPU?

i guess on most devices overclocking DOES overclock cpu and gpu at the same time

elgubbo said:
i guess on most devices overclocking DOES overclock cpu and gpu at the same time
Click to expand...
Click to collapse
i don't think so bcs they are different hardware parts and when you overclock cpu it is sth about cpufrec but yeah when you overclock cpu it effects graphics too bcs it makes processes faster ...( i just think like that bcs of being a linux user open source foreveeeeeeeeeer )

If we could overclock the gpu on the android then the android would take over the world

kifno said:
If we could overclock the gpu on the android then the android would take over the world
Click to expand...
Click to collapse
android has already became a legend by being the first os in USA(Apple's IOS is losing users. )

So it is still impossible, right?

kanek06 said:
So it is still impossible, right?
Click to expand...
Click to collapse
i think it is possible ( when i think that they are like little computers) but i dunno how to do it.

to start, youd probably want to dissect the software driver and see what it offers.

Well, when we will able to overclock GPU - we should not buy new and new devices, because our present devices are old. But how about temperature? Will battery get hot like in overclocking CPU?

well, from what i understand the gpu for most devices shares space with the cpu on dye and that there is a divider of sorts that keeps the gpu speed a percentage of the cpu.. and since cpus can oc better then gpus, the whole reason we can oc is due to the fact that devs have figured out how to uncouple the clock increase of the cpu from the gpu, otherwise the gpus clock would limit the cpu.. now overclocking itself doesnt increase heat and most of the time (depending on what governor is used) it doesnt always run at full clock so theres not a high constant current drain causing the battery to get hot (unless you run an intensive app continually) also, you wont see the cpu overheat as long as the voltage stays stock, but increasing cpu voltage is how you will get past the th max (thermal maximum)
now if you could adjust that divider you could oc the gpu..

Related

[Q] Undervolting - Will it reduce device temp?

Right so my phone can get pretty hot some times and I was just wondering if I undervolt it will it reduce the heat of my phone?
Also how much difference does UV actually show
It can't, because you can undervoltage not much or your phone won't be stable anymore.I think the easier way is to downclock your cpu speed.
likuku said:
It can help in term of technical, but in actually at the rate you can see the different of it.I don't think your phone will still stable or functional.
Click to expand...
Click to collapse
That's really hard to understand what you're trying to say...
Sent from my HTC Sensation 4G using XDA App
likuku said:
It can't, because you can undervoltage not much or your phone won't be stable anymore.I think the easier way is to downclock your cpu speed.
Click to expand...
Click to collapse
Galaxa12 said:
That's really hard to understand what you're trying to say...
Sent from my HTC Sensation 4G using XDA App
Click to expand...
Click to collapse
He means that you can use an app like SetCPU to underclock or lower the clock frequency of your phones CPU, this will leave you a slower but cooler phone.
yes, if you undervolt you reduce cpu "power consuption" as equally as how many volt you decrese.. but.. if you undervolt too much, you lose cpu stability, so, if you undervolt you have to underclock, the same for overclock, if you overclock you may overvolt
it's different for all peoples, some users could have a better cpu (with less impurity), it can be overcloccked better with less overvolt, some can have a bad cpu chip, it means they have to overvolt so much for a little overclock
i have a sensation normally with -75mV undervolt and stock clock, it's stabe, so, am i lucky?
Temperature is a function of voltage + clockspeed. It is recommended you stay at 1.2ghz for good balance b/w performance, temp, and battery consumption.
To easily find your optimal voltage threshold, globally undervolt in stages of 12.5mv until your phone because unstable. Then increase it by 1 stage and that is the optimal voltage your phone should be running at.
Of course you can even go as far as tweak voltages at different clock speeds. Usually there is much more room to UV the lower clocks (192 and 384mhz around 800 or 812.5mv) than the higher clocks.
Hope this helps
iba21 said:
yes, if you undervolt you reduce cpu "power consuption" as equally as how many volt you decrese.. but.. if you undervolt too much, you lose cpu stability, so, if you undervolt you have to underclock, the same for overclock, if you overclock you may overvolt
it's different for all peoples, some users could have a better cpu (with less impurity), it can be overcloccked better with less overvolt, some can have a bad cpu chip, it means they have to overvolt so much for a little overclock
i have a sensation normally with -75mV undervolt and stock clock, it's stabe, so, am i lucky?
Click to expand...
Click to collapse
Getting a Poco x3 pro soon and thinking about undervolting could you add me on discord and help me? If so add Gokn#4488

[GUIDE] [Initial incomplete] Galaxy S4 CPU/GPU overclocking/undervolting

What is overclocking?
Overclocking is the process of making a computer or component operate faster than the clock frequency specified by the manufacturer by modifying system parameters. One of the most important techniques is running at a higher clock rate (more clock cycles per second; hence the name "overclocking"), but other parameters, such as CPU multiplier and memory timings, can also be changed and would be considered to be overclocking. Operating voltages may also be changed (increased), which can increase the speed at which operation remains stable. Most overclocking techniques increase power consumption, generating more heat, which must be dispersed if the chip is to remain operational.
Advantage:
Higher performance in games, encoding, video editing applications, and system tasks at no additional expense, but with increased electrical power consumption. Overclocking can extend the useful life of older equipment. Adding noticible response time for multitasking and powerhungry applications and games.
Disadvantages:
Overclocking if it's not done with moderate rate can be very risky and potentialy might permanantly damage your device's hardware, plus it can cause a slight battery drain. If it's done correctly then you're good to proceed.
Undervolting :
Undervolting is reducing the voltage of a component, usually the processor, reducing the voltages of each step less than the original stock voltages.
Advantages:
Increase of Battery life.
The heat that come from the processor reduces.
Disadvantages:
Undervolting if it's applied correctly then it's good, Hard undervolting might make the device unstable and potentily will lead to bootloops and freezes.
CPU
Maximum clock that could be applied on The Galaxy S4 is XXXXmhz and the minimum is XXX mhz . I will add the stock clock values as soon as possible.
More to come asap !
SERIOUSLY?
A guide about overclocking when you don't even know what CPU the specific models will be getting?
AndreiLux said:
SERIOUSLY?
A guide about overclocking when you don't even know what CPU the specific models will be getting?
Click to expand...
Click to collapse
I as well, think that this is a bit strange...
AndreiLux said:
SERIOUSLY?
A guide about overclocking when you don't even know what CPU the specific models will be getting?
Click to expand...
Click to collapse
and probably the S600 version will not be OCable its already has throttling problem due overheating ( + its an OCed version of S4 pro )
Weird thread
sent from an Galaxy s3 GT I9300
Running perseus kernel 33.1 , XELLA 4.1.2 leaked build
forum.xda-developers.com/showthread.php?t=1784401
Dont click,you might regret , I won't be responsible if you brick ur head
jus sawed this guide tosee whats safe minimum voltage and other stuff! better to change title or a how to (i already know btw )
lol this is horrible! where's guide to udenervolt? i also underclaockd m cpu to 1GHZ that feels a lot lot colder and still freaking fast! even think more stable! also i wannt to underclaock the GPU too and also udnervolt it anyone knows how? i got i9500 octa

Overclocking, kernel and governors

Hi, I have some questions with kernels, overclock and governor. I'm using cm10.1 or cm11 or any JB or KitKat and I have some questions:
1- Wich are the best governor for daily use?
2- Wich are the safe levels to overclock the phone?
3- I saw that a lot of people uses OC in Min 122 and Max 806, Is this possible with few risks?
4- Wich are the risks of OC?
5- Should I use a specific kernel? Or the one with the customs ROMs are enough?
5- More questions after I get more information.
Thanks.
PD: I made this thread because the others OC threads are very old, before JB and when ICS was just released I think.
OC 806 can damage your phone for ever manage carefully this
Sent from my LG-P500 using Tapatalk
And what are the safest levels? And best governors? Im actually using smartass min 480 max 729
Overclocking will not "damage your phone for ever." Some of the P500s are stable at higher clock speeds than others, which is typical of mobile CPUs (even the two cores of my Sensation's CPU are stable at different maximum clock speeds). IIRC, my Optimus T was only stable up to 729 MHz. If you try to overclock higher than your phone is capable of, then it will freeze or reboot. There really isn't a "safest" level; any clock speed that your phone is stable at is going to be perfectly safe. Run a stability test or benchmark app from the Play store to check stability. IIRC, another easy way to test stability on the P500 is to open a camera app. The camera tends to crash the phone when the CPU is clocked too high. If you manage to crash the phone by doing any of that, then I recommend dropping down to a lower clock speed. Otherwise, the phone is fine and you can test a higher clock speed. FWIW, I'm pretty sure that most P500s are stable up to 729 MHz, but many of them are not stable higher than that.
I personally like to use Interactive governor. I think I used Interactive with min 480 and max 729 on my Optimus T. Governors Explained
chalo99 said:
Hi, I have some questions with kernels, overcloak and governor. I'm using cm10.1 or cm11 or any JB or KitKat and I have some questions:
1- Wich are the best governor for daily use?
2- Wich are the safe levels to overclock the phone?
3- I saw that a lot of people uses OC in Min 122 and Max 806, Is this possible with few risks?
4- Wich are the risks of OC?
5- Should I use a specific kernel? Or the one with the customs ROMs are enough?
5- More questions after I get more information.
Thanks.
PD: I made this thread because the others OC threads are very old, before JB and when ICS was just released I think.
Click to expand...
Click to collapse
1. I use smartass as governor (well on the jenkins build). It has a balanced battery and performance I think.
2. Regarding safe level, no overclock is safe, unless it is specified that the processor can handle overclocking over a certain period of time. That's why it is designed for a certain clock speed, because at the guaranteed clock speed you can get the most out of your processor without even breaking it.
3. Well overclocking on android depends on the ability of the kernel to handle overclocking situations. Some kernel can handle overclocking very well that the noticable errors are up to a minimum level. While setting the frequency to Min 122 and Max 806, it is not really safe to go to a maximum of 806 Mhz. As specified the maximum (safe) frequency of the processor is 600. so even going for 601 above or to 710 even if other claim that 710 is still a stable frequency will not guarantee that it will we stable at 710. Regarding the risk. overclocking in the first place is risky.
unless yo go y.o.l.o over your hardware.
4. Risks are. 4a. going beyond the maximum temperature your hardware can handle. can lead to fire (yeah it is true).4b. boot failure 4.c crashing of applications. 4.d etc etc.
5. Before, we use to have different kernel developers and different rom developers. as the the passed by and newer devices are being developed, some migrated to newer devices and abandoned the development for our beloved phone. Now I think only 1 developer is still developing (original development not just cuztomizing and stuffs it with design) androidmeda (check "jenkins armv6") and the kernel included in the rom is sufficient enough to handle overclocking (used it and set the freq to 320 - 710 at smartass). I also use sweetnsour's kernel before but i think he too abandoned the development)
5. k
engr_exxi said:
2. Regarding safe level, no overclock is safe, unless it is specified that the processor can handle overclocking over a certain period of time. That's why it is designed for a certain clock speed, because at the guaranteed clock speed you can get the most out of your processor without even breaking it.
Click to expand...
Click to collapse
That isn't true. Processor manufacturing is inexact, so some processors end up with higher clock speed capability than others. As the maker of a device, you have to set the clock speed low enough that ALL of the processors in ALL of the devices function properly. Setting the clock speed conservatively means that most or all of the devices are actually capable of functioning at a higher clock speed, which in most cases -- and certainly in the case of the P500 -- is completely safe. And it is extremely naive of you to believe that every processor or computer you buy is running at the "best and safest" speed as tested by the manufacturer. CPUs are often significantly underclocked simply to allow manufacturers to differentiate pricing. The same thing is done with finished products, including smartphones. For example, my HTC Sensation has a Qualcomm MSM8260 clocked (originally) at 1200 MHz. The HTC Sensation XE has the exact same processor clocked at 1500 MHz.
3. While setting the frequency to Min 122 and Max 806, it is not really safe to go to a maximum of 806 Mhz. As specified the maximum (safe) frequency of the processor is 600. so even going for 601 above or to 710 even if other claim that 710 is still a stable frequency will not guarantee that it will we stable at 710. Regarding the risk. overclocking in the first place is risky.
unless yo go y.o.l.o over your hardware.
Click to expand...
Click to collapse
Again, it is nonsense to say that overclocking this phone "is not really safe." You won't find one example anywhere of a person who has damaged this phone by overclocking it. These things don't get hot enough at any clock speed to damage the hardware.
4. Risks are. 4a. going beyond the maximum temperature your hardware can handle. can lead to fire (yeah it is true).4b. boot failure 4.c crashing of applications. 4.d etc etc.
Click to expand...
Click to collapse
4.a. Heat is probably the only legitimate concern with overclocking a smartphone, and that's exactly why there is no risk with the P500 -- it doesn't get anywhere near hot enough, at any clock speed, to cause any damage.
4.b. This shouldn't be a problem. If your phone is not setting clock speed on boot, then a crash/reboot will send your phone back to the original clock speed. Even if you make a mistake and change a clock speed that is being set on boot (which I actually did by accident just yesterday), you can boot directly into recovery and restore a backup.
4.c. Who cares? As I said before, if your system is unstable as a result of overclocking, then you should lower the clock speed. That isn't a problem.
4.d. *sigh*
But to each his own. If you don't want to go "yolo" with your antiquated $50 smartphone, then by all means, keep it at 600 MHz. Nevertheless, there is absolutely no way that you would damage it by overclocking, regardless of what you may believe.
Well, its overclocking and not overcloaking.
Small error, but make changes in the OP
rhar**** said:
Well, its overclocking and not overcloaking.
Small error, but make changes in the OP
Click to expand...
Click to collapse
I wrote it bad in the title, but in the middle of the post it was OK. Thanks anyway, ****ing spanish that you read it like you write it, or viceversa.
chalo99 said:
Hi, I have some questions with kernels, overclock and governor. I'm using cm10.1 or cm11 or any JB or KitKat and I have some questions:
1- Wich are the best governor for daily use?
2- Wich are the safe levels to overclock the phone?
3- I saw that a lot of people uses OC in Min 122 and Max 806, Is this possible with few risks?
4- Wich are the risks of OC?
5- Should I use a specific kernel? Or the one with the customs ROMs are enough?
5- More questions after I get more information.
Thanks.
PD: I made this thread because the others OC threads are very old, before JB and when ICS was just released I think.
Click to expand...
Click to collapse
The phone won't work above 729MHz. And the only risk i can thinknof is depleting battery life faster.
Im actually using interactive min 480 max 806.
That permit no lag and normal reactivity.
Obviously there is a battery drain than normal.
I've also use a seeder application.

Xperia Z5 gpu undervolting?

Is it possible to implement gpu undervolting into a kernel for the Xperia Z5 I'm looking at you @AndroPlus XD , cpu undervolting is very much possible, it helps reduce heat and increase the lifespan of the chip, so if we can do this on the cpu why not the gpu?
For the Z5 undervolting the gpu isn't necessary.. And I dont recommend doing it either..
The reason being (from my experience and attempts at changing gpu governors and clock speeds)..
I have come across the following scenarios/issues.
1.. Changing the GPU governor from the default governor with 3CToolBox Pro to a different governor force reboots the device instantly and reverts back to default governor settings..
2. Min gpu clock speed is 180Mhz and may is 680Mhz. While playing graphically intense games the gpu barely increased in speed.. It was literally idling at 180Mhz and barely flinched up any higher. Changing the Min speed made no difference in performance.. But from what I remember device still gets hot but not hot enough to cause any concern..
If you're going to undervolt the gpu my advice would be to decrease the maximum gpu speed to like 450 or 510 because as I mentioned above, the gpu speed almost never even increases past minimum that I have noticed when monitoring.. So setting the gpu may speed down 1 or 2 levels would be better and atleast a tad safer incase of sudden voltage / overvoltage spikes..
That's just my 2 cents and friendly advice mate. But I would like to know how you go with this and would love to hear the outcome once you have gone through with the tweak. Let me know how it turns out.
Good luck bro.
Sent from my E6653
TheTecXpert said:
For the Z5 undervolting the gpu isn't necessary.. And I dont recommend doing it either..
The reason being (from my experience and attempts at changing gpu governors and clock speeds)..
I have come across the following scenarios/issues.
1.. Changing the GPU governor from the default governor with 3CToolBox Pro to a different governor force reboots the device instantly and reverts back to default governor settings..
2. Min gpu clock speed is 180Mhz and may is 680Mhz. While playing graphically intense games the gpu barely increased in speed.. It was literally idling at 180Mhz and barely flinched up any higher. Changing the Min speed made no difference in performance.. But from what I remember device still gets hot but not hot enough to cause any concern..
If you're going to undervolt the gpu my advice would be to decrease the maximum gpu speed to like 450 or 510 because as I mentioned above, the gpu speed almost never even increases past minimum that I have noticed when monitoring.. So setting the gpu may speed down 1 or 2 levels would be better and atleast a tad safer incase of sudden voltage / overvoltage spikes..
That's just my 2 cents and friendly advice mate. But I would like to know how you go with this and would love to hear the outcome once you have gone through with the tweak. Let me know how it turns out.
Good luck bro.
Sent from my E6653
Click to expand...
Click to collapse
1. thats because some of the options arent even gpu govenors,
2. im pretty sure xperias newer than 2014 will have something called AVS which stands for auto voltage scaling, im not sure if this is the case with z5 but im no dev so i cant confirm my self.
and the snapdragon 810 is known for a being a cpu that gets hot, i believe the z5 has a newer version with the problem somewhat fixed but that doesnt account for sonys somewhat "meh" method of cooling but atleast its way better than before.
Just leave it on default tbh. Unless you're adamant on undervolting lol
Sent from my E6653

Bad performance in GTA:SA and not only? (Adreno-related)

Hi there! Any devs here?
Maybe anyone knows why in few games Adreno CANT BE on 100% usage?
For example: my phone is Pocophone F1. SD845, Adreno 630. Usage in any benchmark at 100%. Minecraft: 414 Mhz (instead of 710 Mhz - max for MIUI kernel), 80%, 50% usage in total.
At the same moment Mali at 100% usage with a LOT bigger FPS. Same with GTA:SA, possibly Modern Combat 5. What's happening? Any fix?
Maybe game devs should do something like PC game devs do?: (enable NVidia Optimus, bad example btw) vOptimusEnablement = 0x00000001 (just an example).
P.S. Oops, forgot. Throttling disabled, 5 minutes in CPU Throttle Test shows no difference (5min enough for this because the game started lag at the whole start).
All programming instructions ( whether they are graphic information or not ) are first processed by the CPU: if the CPU recognizes that they are graphics commands, they are delegated to the GPU. Unlike a CPU - which has only a few cores - a GPU has hundreds of cores.
Throttling the CPU only makes things worse.
jwoegerbauer said:
Throttling the CPU only makes things worse.
Click to expand...
Click to collapse
As i said there's NO throttle. Fully disabled. That's happening on any Kernel. Idk what is this, Adreno-related thing, no problems at Mali with that.
jwoegerbauer said:
All programming instructions ( whether they are graphic information or not ) are first processed by the CPU: if the CPU recognizes that they are graphics commands, they are delegated to the GPU. Unlike a CPU - which has only a few cores - a GPU has hundreds of cores.
Click to expand...
Click to collapse
Of course. Maybe Adreno-drivers need something for this? To say to CPU "Hey, this is an application that needs a lot of GPU power"?
_RusJJ_ said:
Of course. Maybe Adreno-drivers need something for this? To say to CPU "Hey, this is an application that needs a lot of GPU power"?
Click to expand...
Click to collapse
An app neither speaks to CPU nor to GPU: an app's program code gets loaded into RAM, then read in from there by CPU and sequentially processed.
What are you talking about, lol? The game cannot use GPU. It needs something. Maybe some function to call, idk exactly.
You're speaking about completely another thing that i know for almost 12 years, lmao.
Still waiting for any answer. Few games cannot load a GPU. Only on Adreno, Mali GPUs are good.
My last 2 cents here:
A GPU is a processor with hundreds of cores: a game never can load a GPU, it only makes use of it.
For an ideal situation, your device's CPU usage should remain in the 60% to 80% range (up to 90%), and device's GPU usage at 99% or 100%. One of the main causes of low GPU usage is due to CPU bottleneck. It means that you have an under-powered CPU that is not able to keep up with GPU's performance.
A temporary workaround for this problem is to raise a game's resolution to highest if you haven’t done it already. This will cause device's GPU to work more and it will have much higher utilization than before.
Take note that not all games use all the CPU cores. It can be possible that you are getting high usage on two cores only, and others are just not used at all. AFAIK GTA SA makes use of only 2 cores, COD also makes use of only 2 cores, , but PUBG makes use of 4 cores,
What the hell are you talking about?
Is there any CPU bottleneck im talking about?
NO. NO. AND NO. ADRENO-RELATED, HUH?
Pls, stop it, my chair burns. You dont understand a single thing that i need - ADRENO CANT HANDLE A GAME.
Looks like a joke...
Actually, I'm not interested in your problem at all.
Your posts show that you don't understand how CPU and GPU work together.
Here I'll explain it to you:
The GPU's memory consists of a series of registers. These permit the CPU to access the GPU's memory and instruct the GPU to perform operations. It's the CPU what loads the graphics instructions ( OpenGL ES ) to get executed into GPU's memory.
Simplified: the CPU feeds the GPU.
xXx yYy said:
Your posts show that you don't understand how CPU and GPU work together.
Click to expand...
Click to collapse
My post shows that GPU cant handle few games. All Adreno's. GG guys, open your eyes
Still waiting for useful info. For now stop showing your brilliant mind with yours "i think you..."
After a time and with using of a simpleperf i got more info. Playing Half-Life 2:
CPU Usage 12.12% /vendor/lib/egl/libGLESv2_adreno.so
Symbol: !!!0000!f56be09eb88f86833124f1df42e945!95db91f!
Mali HAS NO that problem. Completely.

Categories

Resources