NVIDIA CUDA LINUX HEADLESS
Download the latest nvidia drivers for linux from Nvidia’s site and install it:
./NVIDIA-Linux-x86_64-xxx.xx.run
(I think I manually installed nvidia-smi)
To use nvidia-settings to do things like setting the fan speed you have to activate some parts of X, I have to re-document that part but I used infos from [0] and [1].
my rc.local:
Xorg :1 &
sleep 5
export DISPLAY=:1
nvidia-settings -a “[gpu:0]/GPUFanControlState=1”
exit 0
when you want to use nvidia-settings you have to execute in the shell you are using
export DISPLAY=:1
set fan speed (if you already set GPUFanControlState=1):
nvidia-settings -a “[fan:0]/GPUTargetFanSpeed=xx”
set power cap:
nvidia-smi –power-limit=xx
you can set the power capping dinamically, even when you have tasks using the cpu.
monitor card status:
nvidia-smi
[0] https://sites.google.com/site/akohlmey/random-hacks/nvidia-gpu-coolness
[1] https://devtalk.nvidia.com/default/topic/789888/set-fan-speed-without-an-x-server-solved-/
- Next: Neural Paintings
- Previous: RUN AN OLD VERSION OF CUDAHASHCAT