Unable to run jetson-clock.sh on TX2 -Jetpack 3.1

Hi,

I currently have a Jetson TX2 with Jetpack 3.1 installed.
I wanted to test the systems performance by tweaking the clock speed of the GPU and CPU.

I did the following

$ sudo sh jetson_clocks.sh
jetson_clocks.sh: 251: jetson_clocks.sh: cannot create /sys/devices/57000000.gpu/railgate_enable: Directory nonexistent
jetson_clocks.sh: 252: jetson_clocks.sh: cannot create /sys/devices/57000000.gpu/devfreq/57000000.gpu/min_freq: Directory nonexistent
Error: Failed to max GPU frequency!
jetson_clocks.sh: 304: jetson_clocks.sh: cannot create /sys/kernel/debug/clk/override.emc/clk_update_rate: Directory nonexistent
jetson_clocks.sh: 307: jetson_clocks.sh: cannot create /sys/kernel/debug/clk/override.emc/clk_state: Directory nonexistent

Why is this not working?

I believe I have installed Jetpack 3.1 correctly. Is there a reason why this is not working straight out of the box ?
Are there specific params I need to set in order for this script to run ?

Cheers

Perhaps it is related to environment…try “sudo ~ubuntu/jetson_clocks.sh”…does this work?

Sorry my bad .

The script was used incorrectly

It was working after ./jetson_clocks was used instead of sh jetson_clocks