问题
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:
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.
来源:https://stackoverflow.com/questions/41146835/changing-the-gpu-clock-rate-on-a-linux-like-system-nvidia-jetson-tx1