My question is if it is possible to overclock the CPU or GPU on my S905X Box in CoreElec.
If it is, a option in the CoreElec settings addon would be great.
I read somewhere CPU overclocking is possible with the Odroid C2 which has S905 SoC but not possible with all other Amlogic Boxes. I wonder why, maybe someone could explain it in a short and easy way.
Concerning GPU, in kszaq’s LE 8.2 builds it was possible to overclock the gpu by typing echo 5 > /sys/class/mpgpu/cur_freq.
Default freq is at 400 (MHz I guess?..) and after that command it says 755.
After a reboot freq was back at 400. I tried to put the command in some autostart script but didn’t succeed. This is why I also ask for a setting to make it persisit reboots.
Now after an update to CoreElec typing that command, the value of 400 doesn’t change. Why is that?
Now don’t get me wrong, my box is quite responsive, even with just 1GB Ram. You all are doing a great job, also LE team, the box seemes to still get faster after couple updates over the past year or so (which I don’t understand ).
But right now I have 2 reasons why I ask for overclocking:
With Kodi Leia and its DRM handling now I can use the Amazon VOD Addon to watch amazon instant prime videos, which is awesome. Unfortunately I learned decoding of such content can only be done in software, so I am limited to 720p (experience from others with same Soc)…which would be totally fine. Problem is for me the audio gets asynchron, everything else seems fine. With lower resolution it works. I guess this would get better with a higher clocked CPU.
In Kodi Krypton I used a modded Estuary skin called Estuary.Refresh wich unfortunately isn’t compatible with Leia now. I know there is Guilouz’s Estuary MOD skin…which is awesome but it’s rather overloaded for my box. Switching menus etc. is pretty slow I yet have to try Estuary MOD V2 for Leia but I guess it will be the same.
I thought maybe a higher GPU clock could help here.
In LE with 755 MHz I think I noticed a difference,…maybe I just imagined sth. there… idk.
Alright I decided to start with a fresh CoreElec image.
No matter what I write to cur_freq it doesn’t change from 400. @anon88919003 and other devs: I think kszaq may have enabled this somehow in his builds. Could you do that as well? Up to 744 should be save, would be awesome.
Just tried it on a new X96 (S905W) box with fresh instal of CoreElec 8.90.2, and it works as expected -> without autostart.sh it returns 500MHz, and with the command in autostart.sh it returns 666MHz.
So, I don’t think that anything should be enabled to GPU overclock to work…
I know this is an old and dead thread, but just in case someone stumbles across it there is an essential step which is missed and the autostart.sh will not run without it. You need to change the permissions on the autostart.sh by running this:
chmod +x /storage/.config/autostart.sh
It took me a while to work this one out, but when I did the autostart.sh worked perfectly.
“echo 5 > /sys/class/mpgpu/cur_freq” on my S912 makes noticeable difference, especially on GUI responsiveness, becomes really snappy.
My experimentation with “governors” never resultated in any noticable difference.
You are running a typical linux startup-file issue, which is very common and cost me some work hours in history.
While running the autostart at startup, the path-variable is not set, and thus, the echo command is not found.
Type “which echo” into the shell to get the full path to your echo command, mostly /bin/echo, and exchange “echo” in this startup-file with the full path ("/bin/echo").
Running the startup-file later manually typically works, because the path-variable is set and thus, the echo-command is found.
The most interesting question is: Does I have any benefits?