Q100262: Rendering CaraVR on multiple GPUs

Follow

SUMMARY

This article explains how to render CaraVR Nuke scripts on multiple GPUs.


MORE INFORMATION

Currently, CaraVR does not natively support rendering on multiple GPUs simultaneously.  A feature request
for adding support in the future exists and can be referenced as: TP 241465 - Add Multi GPU support

It is possible however to workaround the CaraVR limitation via Nuke, by manually specifying which GPU to render with in your batch render command.

The below example commands render frames 1-5 and 11-15 on the first GPU, and frames 6-10 and 16-20 on the second GPU:

Windows:

1. Open two Command Prompt windows

2. Run the following command in the first Command Prompt window:

"C:\Program Files\Nuke10.0v5\Nuke10.0.exe" -F 1-5 --gpu 0 -x <path/to/nuke/script.nk>

"C:\Program Files\Nuke10.0v5\Nuke10.0.exe" -F 11-15 --gpu 0 -x <path/to/nuke/script.nk> 

3. In the second Command Prompt window run:

"C:\Program Files\Nuke10.0v5\Nuke10.0.exe" -F 6-10 --gpu 1 -x <path/to/nuke/script.nk>

"C:\Program Files\Nuke10.0v5\Nuke10.0.exe" -F 16-20 --gpu 1 -x <path/to/nuke/script.nk>



Mac OS X:

1. Open two Terminal windows from Applications > Utilities

2. Run the following command in the first Terminal:

/Applications/Nuke10.0v5/Nuke10.0v5.app/Contents/MacOS/Nuke10.0v5 -F 1-5 --gpu 0 -x <path/to/nuke/script.nk>

/Applications/Nuke10.0v5/Nuke10.0v5.app/Contents/MacOS/Nuke10.0v5 -F 11-15 --gpu 0 -x <path/to/nuke/script.nk>

3. In the second Terminal run:

/Applications/Nuke10.0v5/Nuke10.0v5.app/Contents/MacOS/Nuke10.0v5 -F 6-10 --gpu 1 -x <path/to/nuke/script.nk>

/Applications/Nuke10.0v5/Nuke10.0v5.app/Contents/MacOS/Nuke10.0v5 -F 16-20 --gpu 1 -x <path/to/nuke/script.nk>



Linux:

1. Open two Terminal windows

2. Run the following command in the one of the Terminal windows:

/usr/local/Nuke10.0v5/Nuke10.0 -F 1-5 --gpu 0 -x <path/to/nuke/script.nk>

/usr/local/Nuke10.0v5/Nuke10.0 -F 11-15 --gpu 0 -x <path/to/nuke/script.nk>

3. In the second Terminal run:

/usr/local/Nuke10.0v5/Nuke10.0 -F 6-10 --gpu 1 -x <path/to/nuke/script.nk>

/usr/local/Nuke10.0v5/Nuke10.0 -F 16-20 --gpu 1 -x <path/to/nuke/script.nk>

 

NOTE: If you are using third party render farm software to manage your renders, then you may be able to specify the GPU via the render software itself. Please consult your third party render farm software documentation for setting different arguments in your jobs batch command.

Was this article helpful?
0 out of 0 found this helpful