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

爱⌒轻易说出口 提交于 2019-12-25 08:17:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!