Nvpmodel -m 1 fail

Dear Community,

Need to be set to maximum power for performance testing on NX xavier.

$ sudo nvpmodel -m 1
NVPM WARN: patching tpc_pg_mask: (0x1:0x4)
NVPM WARN: patched tpc_pg_mask: 0x4
NVPM ERROR: Error opening /sys/devices/14000000.tegra-cvnas/clk_cap: 2
NVPM ERROR: failed to write PARAM CVNAS: ARG MAX_FREQ: PATH: /sys/devices/14000000.tegra-cvnas/clk_cap VAL: 576000000
NVPM ERROR: failed to set power mode!
NVPM ERROR: optMask is 1, no request for power mode

Thanks

hello shaorui,

may I know which JetPack release you’re working with?
please also refer to Supported Modes and Power Efficiency,
are you able to display the current power mode by using $ sudo /usr/sbin/nvpmodel -q
besides, is it possible to use the nvpmodel GUI to switch the current power modes?
thanks

$ sudo /usr/sbin/nvpmodel -q
NV Fan Mode:quiet
NVPM WARN: power mode is not set!

hello shaorui,

may I know which JetPack release you’re working with?
please check release tag for reference, $ cat /etc/nv_tegra_release
thanks

JetPack:4.5

$ cat /etc/nv_tegra_release
# R32 (release), REVISION: 5.1, GCID: 26202423, BOARD: t186ref, EABI: aarch64, DATE: Fri Feb 19 16:50:29 UTC 2021

hello shaorui,

did you have nvpmodel configure file there? for example, /etc/nvpmodel/nvpmodel_t194.conf

ls -l /etc/nvpmodel/nvpmodel_t194.conf
-rw-r--r-- 1 root root 11842 1月  16  2021 /etc/nvpmodel/nvpmodel_t194.conf

It might be that your clocks are too high for setting a lower profile mode.
Check this post.

Where is jetson_clocks.sh directory?

$ sudo ./jetson_clocks.sh
sudo: ./jetson_clocks.sh: command not found

Thanks

nvpmodel still fail.

$ sudo jetson_clocks --store
File /home/zalend/l4t_dfs.conf already exists. Can I overwrite it? Y/N:
Y
$ sudo jetson_clocks  --restore
$ sudo nvpmodel -m4
NVPM WARN: patching tpc_pg_mask: (0x1:0x4)
NVPM WARN: patched tpc_pg_mask: 0x4
NVPM ERROR: Error opening /sys/devices/14000000.tegra-cvnas/clk_cap: 2
NVPM ERROR: failed to write PARAM CVNAS: ARG MAX_FREQ: PATH: /sys/devices/14000000.tegra-cvnas/clk_cap VAL: 460800000
NVPM ERROR: failed to set power mode!
NVPM ERROR: optMask is 1, no request for power mode
$ sudo nvpmodel -m0
NVPM WARN: patching tpc_pg_mask: (0x1:0x4)
NVPM WARN: patched tpc_pg_mask: 0x4
NVPM ERROR: Error opening /sys/devices/14000000.tegra-cvnas/clk_cap: 2
NVPM ERROR: failed to write PARAM CVNAS: ARG MAX_FREQ: PATH: /sys/devices/14000000.tegra-cvnas/clk_cap VAL: 576000000
NVPM ERROR: failed to set power mode!
NVPM ERROR: optMask is 1, no request for power mode

Did you store the clocks while these were not boosted ?
Unless you have a boot script boosting these, the clocks would be slow just after boot, so you may try to store slow clocks config then.
At same time, you should also be able to set nvpmodel 1. You may boost your clocks later.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

hello shaorui,

would like to understand what’s the modification you’ve done.
in the other words. can you reproduce the same by flashing the board with native r32.5.1 release?
thanks