我正在尝试在具有 Nvidia RTX 3090 的机器上基于 Ubuntu 的 Docker 容器内部设置 Nvidia GPU 风扇速度。为了节省 GPU VRAM,X 服务器未运行。
如何将 GPU 风扇速度设置为恒定速度,例如90%
?
$ sudo nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan:0]/GPUTargetFanSpeed=90"
ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.
$ sudo nvidia-settings --display :0 -a GPUFanControlState=1 -a GPUTargetFanSpeed=90
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 1 to attribute 'GPUFanControlState' ([gpu:0]) as specified in assignment 'GPUFanControlState=1' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 1 to attribute 'GPUFanControlState' ([gpu:1]) as specified in assignment 'GPUFanControlState=1' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 1 to attribute 'GPUFanControlState' ([gpu:2]) as specified in assignment 'GPUFanControlState=1' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 1 to attribute 'GPUFanControlState' ([gpu:3]) as specified in assignment 'GPUFanControlState=1' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 1 to attribute 'GPUFanControlState' ([gpu:4]) as specified in assignment 'GPUFanControlState=1' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 1 to attribute 'GPUFanControlState' ([gpu:5]) as specified in assignment 'GPUFanControlState=1' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 1 to attribute 'GPUFanControlState' ([gpu:6]) as specified in assignment 'GPUFanControlState=1' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 1 to attribute 'GPUFanControlState' ([gpu:7]) as specified in assignment 'GPUFanControlState=1' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 90 to attribute 'GPUTargetFanSpeed' ([fan:0]) as specified in assignment 'GPUTargetFanSpeed=90' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 90 to attribute 'GPUTargetFanSpeed' ([fan:1]) as specified in assignment 'GPUTargetFanSpeed=90' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 90 to attribute 'GPUTargetFanSpeed' ([fan:2]) as specified in assignment 'GPUTargetFanSpeed=90' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 90 to attribute 'GPUTargetFanSpeed' ([fan:3]) as specified in assignment 'GPUTargetFanSpeed=90' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 90 to attribute 'GPUTargetFanSpeed' ([fan:4]) as specified in assignment 'GPUTargetFanSpeed=90' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 90 to attribute 'GPUTargetFanSpeed' ([fan:5]) as specified in assignment 'GPUTargetFanSpeed=90' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 90 to attribute 'GPUTargetFanSpeed' ([fan:6]) as specified in assignment 'GPUTargetFanSpeed=90' (Operation
not supported).
ERROR: The current user does not have permission for operation
ERROR: Error assigning value 90 to attribute 'GPUTargetFanSpeed' ([fan:7]) as specified in assignment 'GPUTargetFanSpeed=90' (Operation
not supported).
使用NVIDIA-SMI 535.86.05
。