RonR
Posts: 289
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

vcgencmd get_throttled

Tue Oct 16, 2018 1:20 am

The only documentation I've found for the command 'vcgencmd get_throttled' is:

This returns a hex number in which the following bits may be set:

0: under-voltage
1: arm frequency capped
2: currently throttled
16: under-voltage has occurred
17: arm frequency capped has occurred
18: throttling has occurred

On a RPi 3B+ running 2018-10-09-raspbian-stretch-lite.img, I'm seeing the occasional 'throttled=0x80000' and 'throttled=0x80008'.

What do these bits represent?

hippy
Posts: 5336
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: vcgencmd get_throttled

Tue Oct 16, 2018 10:46 am

My guess would be that the bits reflect the new throttling option the P3B+ has which kicks in at 60C before the usual throttling kicks in at 70C -

https://www.raspberrypi.org/forums/view ... p?t=217056

You could maybe setup a script which reports temperature and throttled values to see if there's any correlation. Or just wait for 'an official answer'.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22691
Joined: Sat Jul 30, 2011 7:41 pm

Re: vcgencmd get_throttled

Tue Oct 16, 2018 1:52 pm

Yes, that new bit is the SOFT_TEMP_LIMIT bit.

0x80000 means its has been set in the past, 0x8 means it is set at the moment (ie happening)
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22691
Joined: Sat Jul 30, 2011 7:41 pm

Re: vcgencmd get_throttled

Tue Oct 16, 2018 2:14 pm

There a vcgencmd doc I've been working on that has the full table, see here

https://github.com/raspberrypi/document ... cgencmd.md
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

DrYak
Posts: 3
Joined: Tue Apr 17, 2018 11:18 am

Updated linky

Tue Jan 22, 2019 11:37 am

For those like my who end up here from google, here is the new updated link:

https://github.com/raspberrypi/document ... cgencmd.md

(I managed to find it from there)

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22691
Joined: Sat Jul 30, 2011 7:41 pm

Re: vcgencmd get_throttled

Tue Jan 22, 2019 1:12 pm

Ah, yes, I've just updated the PR (in fact done a new one) so my link above no longer works.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

iurly
Posts: 19
Joined: Sun May 14, 2017 10:50 pm

Re: vcgencmd get_throttled

Wed Jun 05, 2019 10:39 am

Could anyone please elaborate on the actual meaning of these bits?
- "Under-voltage" is pretty much self-explaining
- "Throttling" looks like some countermeasure to overcome undervoltage, and most of the time I've seen together with under-voltage
- "Arm frequency capped" I've only seen a few times and I can't figure out what the relation with above two is

Any ideas?
Thank you!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22691
Joined: Sat Jul 30, 2011 7:41 pm

Re: vcgencmd get_throttled

Wed Jun 05, 2019 11:34 am

iurly wrote:
Wed Jun 05, 2019 10:39 am
Could anyone please elaborate on the actual meaning of these bits?
- "Under-voltage" is pretty much self-explaining
- "Throttling" looks like some countermeasure to overcome undervoltage, and most of the time I've seen together with under-voltage
- "Arm frequency capped" I've only seen a few times and I can't figure out what the relation with above two is

Any ideas?
Thank you!
https://www.raspberrypi.org/documentati ... agement.md
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

iurly
Posts: 19
Joined: Sun May 14, 2017 10:50 pm

Re: vcgencmd get_throttled

Wed Jun 05, 2019 12:14 pm

Thank you for the pointer James.
Still, I don't get what the "arm frequency capped" represents.
Is it the consequence of some over-temperature situation (and therefore unrelated to under-voltage)?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22691
Joined: Sat Jul 30, 2011 7:41 pm

Re: vcgencmd get_throttled

Wed Jun 05, 2019 12:43 pm

iurly wrote:
Wed Jun 05, 2019 12:14 pm
Thank you for the pointer James.
Still, I don't get what the "arm frequency capped" represents.
Is it the consequence of some over-temperature situation (and therefore unrelated to under-voltage)?
Arm frequency is dropped when the cores are too hot, and also I believe when voltage drops.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

Return to “Raspbian”