PC shutdown after rendering - WIN / LINUX
Posted: Fri Apr 03, 2020 1:35 pm
Hello,
some time ago, I dealt with how to automatically shut down the computer (render farm) after finishing rendering in Octane.
Since I originally tried it on renderfarm with LINUX Ubuntu, people from the Ubuntu community helped me. Thanks to their help, we built the first SH script.
The first version I tested on the GTX 780Ti, which did not support nvidia-smi utilization, I used information about the fan speed.
After upgrading renderfarm to GTX 980Ti, I could start monitoring the real load of GPU - Utilization. And the second version was created.
The third version was created now that I managed to modify Ubuntu script for running under Windows as a classic BATCH.
It might be useful to some of you if you want to let your rendering station work overnight, but not let it run all night.
PS: I'm a total newbie in scripting, so I believe the resulting code could be tuned. Glad to get advice.
The advantage of these scripts I think it doesn't matter if you use Octane Standalone or any of the plugins (Adobe After Effects, 3Ds Max, Maya, Blender, Cinema 4D, Lightwave 3D, Rhinoceros 3D, SketchUp, Unreal, ........ ..). The only requirement is to have nvidia-smi installed. Which shouldn't be a problem. For Windows, it installs with drivers. It is also included in the repository for Linux.
some time ago, I dealt with how to automatically shut down the computer (render farm) after finishing rendering in Octane.
Since I originally tried it on renderfarm with LINUX Ubuntu, people from the Ubuntu community helped me. Thanks to their help, we built the first SH script.
The first version I tested on the GTX 780Ti, which did not support nvidia-smi utilization, I used information about the fan speed.
After upgrading renderfarm to GTX 980Ti, I could start monitoring the real load of GPU - Utilization. And the second version was created.
The third version was created now that I managed to modify Ubuntu script for running under Windows as a classic BATCH.
It might be useful to some of you if you want to let your rendering station work overnight, but not let it run all night.
PS: I'm a total newbie in scripting, so I believe the resulting code could be tuned. Glad to get advice.
The advantage of these scripts I think it doesn't matter if you use Octane Standalone or any of the plugins (Adobe After Effects, 3Ds Max, Maya, Blender, Cinema 4D, Lightwave 3D, Rhinoceros 3D, SketchUp, Unreal, ........ ..). The only requirement is to have nvidia-smi installed. Which shouldn't be a problem. For Windows, it installs with drivers. It is also included in the repository for Linux.