Skip to content

[OPi5] Is it possible to get the real time CPU frequency? #173

Answered by Joshua-Riek
nobara256 asked this question in Q&A
Discussion options

You must be logged in to vote

Right, this is the expected behavior by default. I have two systemd services that set the performance governor for the GPU and CPU to performance instead of the default ondemand value. This is because I noticed the CPU and GPU are slightly delayed when increasing the frequency under load, causing stuttering.

If you want to change only the cpu governor yourself to ondemand, you can use this command.

echo ondemand | sudo tee /sys/bus/cpu/devices/cpu*/cpufreq/scaling_governor

One example I observed a while ago is dragging the Chromium window around. It can stutter and become laggy when the governor is set to its default value of ondemand. So I decided to have two services set the CPU and GPU…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@nobara256
Comment options

@Joshua-Riek
Comment options

Answer selected by nobara256
@nobara256
Comment options

@bryankanderson
Comment options

Comment options

You must be logged in to vote
2 replies
@MarkhamLee
Comment options

@guynich
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants