Changing the GPU clock rate on a linux like system (Nvidia Jetson TX1)

1.4k views Asked by At

I have a Nvidia Jetson tx1 board and want to change the gpu rate by writing in the following file:

sudo echo 691200000 > /sys/kernel/debug/clock/override.gbus/rate
sudo echo 1 > /sys/kernel/debug/clock/override.gbus/state

However I get greeted with a

Permission denied

I know the commands from the following script https://github.com/dusty-nv/jetson-scripts/blob/master/jetson_max_l4t.sh which was proposed by an nvidia-employee. However I do not want to max out the gpu clock frequency, I want to set it to a specific setting.

1

There are 1 answers

2
twalberg On BEST ANSWER

The problem here is the redirection happens in your non-root user environment, not under sudo.

Try this instead:

sudo bash -c 'echo 691200000 > /sys/kernel/debug/clock/override.gbus/rate'

and similarly for the second setting.