-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"initial_turbo" setting within "config.txt" breaks throttle down of ARM clock #1005
Comments
@popcornmix @pelwell This does appear to be an issue. Done a quick check on Pi3B+, and both vcgencmd measure_clock arm and cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq shoq 1400000 permanently after using initial_turbo. Any quick thoughts, if not I'll dig around a bit. Quick look at the code and it does look sane, so nothing obvious jumping out. |
@JamesH65 It is no big issue, if known, since usually CPU power does not limit the boot time very much, but it is an issue, if users don't know it and wonder why their RPi is running hot with constant high clock and power consumption, without any obvious possibility to change or resolve that. |
There's clearly an issue here, and its in an important area, so we will look in to it. |
I can confirm that this issue still appears on kernel 4.19.49-v7+. |
@JamesH65 |
I'm working on something in this area. I'll take a look. |
See: #1005 firmware: clock_2711: don't set reserved values for KA in PLL KAIP registers
See: raspberrypi/firmware#1005 firmware: clock_2711: don't set reserved values for KA in PLL KAIP registers
This should be fixed in latest rpi-update firmware. Please test. |
@popcornmix |
@popcornmix Hmm, I just set:
On boot, via script, CPU governor is set to ondemand.
Does applying a governor interfere or is there anything else required to have initial_turbo being effective? This is a Raspbian-based image but I removed a large amount of non-required packages. All firmware packages from repo + rpi-update on top of course are installed. Ah docs state it is active "until cpufreq set freq". |
initial_turbo isn't something that kernel cpufreq driver knows about, so scaling_cur_freq will report what the kernel requested. You should use:
and then after the 60 seconds have elapsed:
|
Same throttling issue on my RPi 4b. I am in doubt about returning the device to the store unfortunately. Can some otherone confirm if the solution works? I am at work at the moment.
This will made my day. |
If your pi is at 68-70C then there is no throttling. Can you explain what your issue is? |
Also Sorry btw for not confirming the test so far, was distracted by other topics. I understood now that |
Installing the latest USB3 HC firmware is likely to reduce your idle temperature by a few degrees. A download link and instructions can be found here: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=250990 |
I forgot which temperature, it could be 10 more (not home and I'm having discalculia). What do you think. Hope, or some kind of RIP? |
Tearing in kodi gui is a known software issue. If you don't see a thermometer icon in the top right on screen then you are not temperature throttling. Your issues don't sound like hardware issues. |
Especially on RPi4 (thus Raspbian Buster), when you simply install via There is a custom compiled version that can be found on the raspberrypi.org forums. |
The lack of the soc cooler is the biggest problem of everything. Ofcourse it will throttle after it reaches max TJunction |
@popcornmix
Not sure if I missed something, or any other test/debug I can do? |
I'm sorry. We currently have separate branches for Pi4 and Pi0-3. |
See: raspberrypi/linux#3239 firmware: arm_loader: Fix initial_turbo getting stuck See: #1005
See: raspberrypi/linux#3239 firmware: arm_loader: Fix initial_turbo getting stuck See: raspberrypi/firmware#1005
Latest rpi-update firmware should have fix in Pi0-3 firmware too. |
Clean Raspbian Buster: |
I can confirm, bug is fixed, just tested on RPi2 via:
@popcornmix |
Kernel version with fix has been uploaded to APT repo today 👍. Re-adding Without
After setting
|
@popcornmix
Do you have any idea what |
Ref: https://github.com/Fourdee/DietPi/issues/1836
We found that if
initial_turbo
is set inconfig.txt
somehow breaks the CPU governor to throttle down ARM clock according to governor rules. Removing/commenting the setting resolves the issue.We checked on RPi2 and RPi3 B+ and with current Buster APT kernel
4.14.34-v7+
(RPi2) and4.14.44-v7+
via rpi-update (RPi3 B+) withinitial_turbo=20
which's effect should fade 20 seconds after boot.Steps to reproduce:
initial_turbo
watch lowered CPU clock and stable temperatures.initial_turbo=20
, reboot and watch CPU clock stay at highest level and temperatures around 5 °C higher.The text was updated successfully, but these errors were encountered: