Have you ever noticed a little bit of delay in Sailfish UI when you first wake the phone? Did it bug you down? It certainly did for me since I love this OS for the smoothness it has! And without the smoothness I feel that a big part of Sailfish OS is gone wrong!
This has happened to me a lot! Until I found out that I can manipulate the GPU in a good way and simply take all of its performance right from the beginning.
All I had to do was to set the governor to keep my GPU frequency on the maximum settings. And no, it won’t drain any battery that you may feel, at least not for me! I still get a day and a half of average use from my Jolla, except that I don’t have any frame-rate drop.
Now without further ado, let’s get going with the command line.
For this procedure:
- You would need your developer mode to be activated
- You have to sign as superuser or in other words root.
- Every letter in this command is lowercase so don’t use uppercase letters.
The Command: (As seen on the featured image 😉 )
(Then your password)
echo "performance" >/sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/trustzone/governor
Now to show you how it really affects the device’s performance, I took two screenshots before and after the command line while having the frame-rate monitor activated. Notice the red lines showing the frame rate drop and the green lines are showing a smooth experience:
Notice: I’m not exactly sure that this effect will be gone after a reboot or not. Personally, I always apply it again.
Edit: According to comments: “ the value of governor after a reboot and it is reverted to “ondemand”, which is the default value
So this effect will be gone after a reboot.”
Hope you enjoyed the post and have boosted your experience!