Jetson Power GUI

Orin NX
We created a power mode of 25W. with EMC max freq 3199000000 (EMC MAX FREQ 0)

upon power up we execute the command jetson_clocks --show.
the EMC current freq shows 665600000 , power GUI also shows 665600000. refer to first image.

then we execute jetson_clocks
the EMC current freq shows 3199000000, however power GUI shows 2133Mhz.
refer to second image

Can someone please explain the difference between jetson clocks and power GUI


@Vera Jiang can you redirect this to the appropriate forum? This is not Sanitizer-related. Thanks!

I see it already been redirected to “Jetson Nano”

Awesome thanks!

Hi zilkhanir1,

Are you using the devkit or custom board for Jetson Nano?
What’s your Jetpack version in use?

They should be the same.
The one showed in jetson clock is getten from bpmp node.
The one showed on Jetson Power GUI is read from emc path.

Could you also share your nvpmodel configuration in use for further check?

Using jetson nano devkit with jetson orin nx module

5.2.1

By the way i forgot to mention that some time the gui does show the correct frequency. But we dont know when.

Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.

NVIDIA CORPORATION and its licensors retain all intellectual property

and proprietary rights in and to this software, related documentation

and any modifications thereto. Any use, reproduction, disclosure or

distribution of this software and related documentation without an express

license agreement from NVIDIA CORPORATION is strictly prohibited.

FORMAT:

< PARAM TYPE=PARAM_TYPE NAME=PARAM_NAME >

ARG1_NAME ARG1_PATH_VAL

ARG2_NAME ARG2_PATH_VAL

This starts a section of PARAM definitions, in which each line

has the syntax below:

ARG_NAME ARG_PATH_VAL

ARG_NAME is a macro name for argument value ARG_PATH_VAL.

PARAM_TYPE can be FILE, or CLOCK.

< POWER_MODEL ID=id_num NAME=mode_name >

PARAM1_NAME ARG11_NAME ARG11_VAL

PARAM1_NAME ARG12_NAME ARG12_VAL

PARAM2_NAME ARG21_NAME ARG21_VAL

This starts a section of POWER_MODEL configurations, followed by

lines with parameter settings as the format below:

PARAM_NAME ARG_NAME ARG_VAL

PARAM_NAME and ARG_NAME are defined in PARAM definition sections.

ARG_VAL is an integer for PARAM_TYPE of CLOCK, and -1 is taken

as INT_MAX. ARG_VAL is a string for PARAM_TYPE of FILE.

This file must contain at least one POWER_MODEL section.

< PM_CONFIG DEFAULT=default_mode >

This is a mandatory section to specify one of the defined power

model as the default.

###########################

PARAM DEFINITIONS

###########################

< PARAM TYPE=FILE NAME=CPU_ONLINE >

CORE_0 /sys/devices/system/cpu/cpu0/online

CORE_1 /sys/devices/system/cpu/cpu1/online

CORE_2 /sys/devices/system/cpu/cpu2/online

CORE_3 /sys/devices/system/cpu/cpu3/online

CORE_4 /sys/devices/system/cpu/cpu4/online

CORE_5 /sys/devices/system/cpu/cpu5/online

CORE_6 /sys/devices/system/cpu/cpu6/online

CORE_7 /sys/devices/system/cpu/cpu7/online

< PARAM TYPE=FILE NAME=FBP_POWER_GATING >

FBP_PG_MASK /sys/devices/gpu.0/fbp_pg_mask

< PARAM TYPE=FILE NAME=TPC_POWER_GATING >

TPC_PG_MASK /sys/devices/gpu.0/tpc_pg_mask

< PARAM TYPE=FILE NAME=GPU_POWER_CONTROL_ENABLE >

GPU_PWR_CNTL_EN /sys/devices/gpu.0/power/control

< PARAM TYPE=FILE NAME=GPU_POWER_CONTROL_DISABLE >

GPU_PWR_CNTL_DIS /sys/devices/gpu.0/power/control

< PARAM TYPE=CLOCK NAME=CPU_A78_0 >

FREQ_TABLE /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

MAX_FREQ /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

MIN_FREQ /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

FREQ_TABLE_KNEXT /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

MAX_FREQ_KNEXT /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

MIN_FREQ_KNEXT /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

< PARAM TYPE=CLOCK NAME=CPU_A78_1 >

FREQ_TABLE /sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies

MAX_FREQ /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq

MIN_FREQ /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq

FREQ_TABLE_KNEXT /sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies

MAX_FREQ_KNEXT /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq

MIN_FREQ_KNEXT /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq

< PARAM TYPE=CLOCK NAME=GPU >

FREQ_TABLE /sys/devices/17000000.ga10b/devfreq/17000000.ga10b/available_frequencies

MAX_FREQ /sys/devices/17000000.ga10b/devfreq/17000000.ga10b/max_freq

MIN_FREQ /sys/devices/17000000.ga10b/devfreq/17000000.ga10b/min_freq

FREQ_TABLE_KNEXT /sys/devices/17000000.ga10b/devfreq_dev/available_frequencies

MAX_FREQ_KNEXT /sys/devices/17000000.ga10b/devfreq_dev/max_freq

MIN_FREQ_KNEXT /sys/devices/17000000.ga10b/devfreq_dev/min_freq

MAX_FREQ /sys/kernel/nvpmodel_emc_cap/emc_iso_cap

MAX_FREQ_KNEXT /sys/kernel/nvpmodel_emc_cap/emc_iso_cap

< PARAM TYPE=CLOCK NAME=DLA0_CORE >

MAX_FREQ /sys/devices/platform/13e40000.host1x/15880000.nvdla0/acm/clk_cap/dla0_core

MAX_FREQ_KNEXT /sys/devices/platform/13e40000.host1x/15880000.nvdla0/acm/clk_cap/dla0_core

< PARAM TYPE=CLOCK NAME=DLA0_FALCON >

MAX_FREQ /sys/devices/platform/13e40000.host1x/15880000.nvdla0/acm/clk_cap/dla0_falcon

MAX_FREQ_KNEXT /sys/devices/platform/13e40000.host1x/15880000.nvdla0/acm/clk_cap/dla0_falcon

< PARAM TYPE=CLOCK NAME=DLA1_CORE >

MAX_FREQ /sys/devices/platform/13e40000.host1x/158c0000.nvdla1/acm/clk_cap/dla1_core

MAX_FREQ_KNEXT /sys/devices/platform/13e40000.host1x/158c0000.nvdla1/acm/clk_cap/dla1_core

< PARAM TYPE=CLOCK NAME=DLA1_FALCON >

MAX_FREQ /sys/devices/platform/13e40000.host1x/158c0000.nvdla1/acm/clk_cap/dla1_falcon

MAX_FREQ_KNEXT /sys/devices/platform/13e40000.host1x/158c0000.nvdla1/acm/clk_cap/dla1_falcon

< PARAM TYPE=CLOCK NAME=PVA0_VPS >

MAX_FREQ /sys/devices/platform/13e40000.host1x/16000000.pva0/acm/clk_cap/pva0_vps

MAX_FREQ_KNEXT /sys/devices/platform/13e40000.host1x/16000000.pva0/acm/clk_cap/pva0_vps

< PARAM TYPE=CLOCK NAME=PVA0_AXI >

MAX_FREQ /sys/devices/platform/13e40000.host1x/16000000.pva0/acm/clk_cap/pva0_cpu_axi

MAX_FREQ_KNEXT /sys/devices/platform/13e40000.host1x/16000000.pva0/acm/clk_cap/pva0_cpu_axi

###########################

POWER_MODEL DEFINITIONS

###########################

< POWER_MODEL ID=0 NAME=MODE_25_2_W >

CPU_ONLINE CORE_0 1

CPU_ONLINE CORE_1 1

CPU_ONLINE CORE_2 1

CPU_ONLINE CORE_3 1

CPU_ONLINE CORE_4 0

CPU_ONLINE CORE_5 0

CPU_ONLINE CORE_6 0

CPU_ONLINE CORE_7 0

FBP_POWER_GATING FBP_PG_MASK 2

TPC_POWER_GATING TPC_PG_MASK 240

GPU_POWER_CONTROL_ENABLE GPU_PWR_CNTL_EN on

CPU_A78_0 MIN_FREQ 729600

CPU_A78_0 MAX_FREQ 1651200

GPU MIN_FREQ 0

GPU MAX_FREQ 918000000

GPU_POWER_CONTROL_DISABLE GPU_PWR_CNTL_DIS auto

EMC MAX_FREQ 0

DLA0_CORE MAX_FREQ 614400000

DLA1_CORE MAX_FREQ 614400000

DLA0_FALCON MAX_FREQ 294400000

DLA1_FALCON MAX_FREQ 294400000

PVA0_VPS MAX_FREQ 704000000

PVA0_AXI MAX_FREQ -1

< PM_CONFIG DEFAULT=0 >

Are you using Orin Nano devkit board or Jetson Nano devkit board for Orin NX module…?

Is that a typo for Jetpack version?
We have only Jetpack 5.1.2 rather than 5.2.1.

May I know why you configure 0 for max EMC frequency?

Yes its a typo

This file was generated by Power estimator.

I think it is orin nano (i will replay with a certain answer later)

I’ve moved your topic to correct category for Orin Nano.

Okay, you could enable the settings for EMC.

What do you mean by you could enable the settings for EMC?

Sorry, it was my mis-understanding.

Please just use the following command to check current EMC frequency.

$ sudo cat /sys/kernel/debug/bpmp/debug/clk/emc/rate

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