Set clockspeed for sgx?


mcobit

Advanced Member
Joined
Jul 28, 2008
Messages
6,909
Is this possible somehow? I'd like to do some experiments with clocking it down.


Any help would be appreciated.
 
This would be interesting. Maybe even a small increase (<10 MHz) would be possible for some pandoras...


I'm going to look around to see if the n900 people have any experience with that.


I know on some android phones/tablets they have GPU overclocks.


Edit: I don't think it's possible. I haven't found anything, I believe it is locked by the chip itself.


Although the GPU performs much better in benchmarks (+10FPS in Quake 3 at a higher resolution!) at 200 MHz which is what the 1GHz pandora's GPU will be clocked at:


http://www.anandtech...ghly-reviewed/5
 
Last edited by a moderator:
According to the OMAP35xx TRM.. SGX_FCLK (what the GPU is clocked at, SGX_ICLK governs its memory interface) is derived either from DPLL4_M2X2_CLK or SGX_L3_FCLK.


As far as I can tell DPLL4_M2X2_CLK is supposed to be setup to 96MHz. SGX_L3_FCLK is set to L3_ICLK with a divider of 1, 2, 3, or 4. SGX_FCLK is then SGX_L3_FCLK with a divider of 3, 4, or 6. L3_ICLK is set to 333MHz and as far as I know not that happy with being changed (afaik Ari64 tried it and it wasn't stable).


So that'd give you the following options (I omitted some that are close to these):


110MHz


96MHz


55.5MHz


41.625MHz


37MHz


27.75MHz


20.8125MHz


18.5MHz


13.875MHz


As for how to actually change it, I don't really know, it obviously involves setting some bits in hardware registers and since some of it messes with PLLs probably a lot more is involved.. the proc interfaces for clocks might already handle some or all of it..
 
Last edited by a moderator:
Currently there is a "safe" way to under/overclock it by changing system (L3) clock in latest firmwares:



Code:
sudo /usr/pandora/scripts/op_sysspeed.sh X

where X can be any value like:


332 -> 166MHz RAM, 110MHz SGX (default)


300 -> 150MHz RAM, 100MHz SGX


...


DM3730 has this set at 400 for 200MHz for both RAM and SGX (using a new divider 2 that's not in OMAP3). OMAP3 works at this setting too (SGX ends up at 133MHz because 3 is the lowest divider there) but is not stable.


As for changing SGX divider, you have to modify the driver because it overrides the divider before turning on the chip each time.
 
Last edited by a moderator:
Note that changing the L3 clock will affect other things as well, like main memory performance. If 400MHz only sort of works maybe a more modest setting like 380 could work?
 
Well, if you set too high or even too low, the system will crash or struggle to load stuff. But after reboot it works again, so maybe its relatively safe.


But thats just my 2cents
 
DM3730 has this set at 400 for 200MHz for both RAM and SGX (using a new divider 2 that's not in OMAP3). OMAP3 works at this setting too (SGX ends up at 133MHz because 3 is the lowest divider there) but is not stable.
Notaz  may I ask a few things about it?

First: Is it unstable with the default clock of 600 mhz? It is unstable when you use a lot of neon instructions?

Second: Is the speed of the gpu tied to the speed of RAM? Could it be the RAM is the problem?
 
First: Is it unstable with the default clock of 600 mhz? It is unstable when you use a lot of neon instructions?
This stuff doesn't matter, overclocking the GPU has little relation to overclocking the CPU.

Second: Is the speed of the gpu tied to the speed of RAM? Could it be the RAM is the problem?
Yes and yes, you could probably overclock GPU more if it had separate clock that was not wasn't tied to RAM..
 
This stuff doesn't matter, overclocking the GPU has little relation to overclocking the CPU.
I thought they were on the same chip and if both were hot, they could reach a "system freeze" temperature faster.
 
Last edited by a moderator:
I doubt the crash is because the chip reaches some critical temperature, I've used devboards for quite a while and the chip barely gets warm, compared to how hot the charging chip gets while charging a battery, for example.
 
I finally played a little with


sudo /usr/pandora/scripts/op_sysspeed.sh x
It was not much I tested so far but things looked faster for me.

It was Mupen 64, DraStic and some Flash game.

Most tests were with sysspeed set to 440.

Last test was with 450.

It'd like to get some more testers.

What I could see so far we could get some benefit if we overclock RAM and SGX.

What I want is to get some raw numbers.

So far I only have a subjective impression.

My questions:

1: How far can you get

- Please tell me what Pandora version you use

- Maybe the absolute speed and the % overclocked would be good to get some comparison

2: Which applications use the RAM, SGX and whatever else is overclocked.

3: How stable is it

- Maybe some stress test would be nice

- Or use some applications which use the SGX and need fast RAM and play for half an hour.

If some people are interested let's open a new thread and get some facts.

:)

EDIT:

What's the tool to display the current SGX speed (not the maximal allowed, but the current speed)

Would be useful to check if it really runs at full speed.
 
Last edited by a moderator:
When we can get 133 instead of 110 mhz from the gpu and make it stable, it would be around 20% more speed for gpu bound applications like mupen64 and the pspspp emulator. And a bit more speed for memory bound applications^^.
 
I have 440 on the Giga Pnadora which is 20% boost.


At the moment I have set it to 450 and it didn't crashso far.


I need more testers.
 
When we can get 133 instead of 110 mhz from the gpu and make it stable, it would be around 20% more speed for gpu bound applications like mupen64 and the pspspp emulator. And a bit more speed for memory bound applications^^.
I tried, on a Rebirth, the 133MHz GPU/ 400 MHz >MEM Overclock (+ CPU @ 1GHz). I tried PPSSPP & SuperTuxKart and got better fps. I eventually had a crash, after a few hour of use.
 
Last edited by a moderator:
Back
Top