Voltage, power usage current Monitoring On Drive AGX Orin

Please provide the following info (tick the boxes after creating this topic):
Software Version
[v] DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[v] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[v] DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
2.1.0
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
[v] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Issue Description

  1. with command: tegrastats
    only got the temperature of the CPU or GPU, there is no current voltage or power usage information.

  2. Accodring to follow document, there looks like the MCU VRS12 could provide voltage monitoring data, could you tell me which command to read voltage info from VRS12?
    ref: Embedded Software Components /MCU Software Modules/ NVIDIA Orin Voltage Monitoring via VRS12 (VMON)

  3. API : NvRmGpuDeviceGetPower is also for monitoring power usage I think, but we got no sensor error when calling this API function.
    We found the ina3221 node was deleted from source code file : tegra194-p2888-a03-p3710-a00.dtsi
    are there some other voltage and current sensors added to replace the sensors: INA3221?
    or there is no more voltage and current sensors for GPU and CPU any more?

Dear @huajie.wang,
Is the requirement to track power consumption by CPU/GPU when you run an application?

Yes, we want to track the power consumption by CPU/GPU during running our AI models.

In jetson devices, there is a community solution for monitoring the device. jetson-stats is a package for monitoring and controlling your NVIDIA Jetson [Orin, Xavier, Nano, TX] series.
see Jetson Stats | NVIDIA Developer
the source code is available in github
rbonghi/jetson_stats: πŸ“Š Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series

there is little early effort with jetsonstats in driveagx, if you have any time to contribute.
welcome to join the ZhenshengLee/drive_stats: πŸ“Š Simple package for monitoring and control your NVIDIA Drive AGX [Orin, Xavier] series

Thank you a lot for information about jetson-stats inforation.

I also have tested jetson-stats on Drive AGX Orin.
But there only temperature info of CPU GPU etcs, but no current voltage power usage info like Jetson AGX Orin.

  1. I also confirmed Board Variant:
    Our Drive AGX Orin’s Board Variant is p3710
    I found info about Jetson AGX Orin Board Variant is p3701

  2. I also confirmed voltage sensor chipset info inside the dtsi files
    for p3701, there are define about ina3221 in t23x folder :
    tegra234-p3701-0000.dtsi:99: ina32211_1_40: ina3221@40 {
    for p3701 there are not define about ina3221 in t23x forlder, but there delete node info in
    t19x folder:
    tegra194-p2888-a03-p3710-a00.dtsi:305: /delete-node/ ina3221@40;

I guest the voltage current sensor INA3221 was deleted from Drive AGX Orion board p3710, or repaced by some other sensor chipset.

1 Like

First we need to get the right data source, then integrite it into drive_stats.
For data source, seeking help from @SivaRamaKrishnaNV

@SivaRamaKrishnaNV
I can not found schematics about Drive AGX Orin p3710, so I am not sure about the replacement of INA3221 voltage current sensor for p3710.
could you help us confirm voltage current sensor information on Drive AGX Orin p3710?

Hope this help, NVIDIA Orin Voltage Monitoring via VRS12 (VMON) | NVIDIA Docs

Thank you a lot for providing info about VRS12(VMON).
I only found one command about VRS12 in the MCU NvShell help list:
vrs12injcterror [overror|uverror|wrongcrc|plauscheck] : Inject faults in VRS12

But I did not find any parameters of this command to read the current voltage or power usage of CPU GPU etc.

Dear @huajie.wang ,
Do you have access to NVONLINE or PDK?

@SivaRamaKrishnaNV
I do not have access to NVONLINE or PDK.

Dear @huajie.wang ,
Could you check my private message

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.