Why Octane Uses Only a Single GPU
In this article
OctaneRender uses only a single GPU per rendering task because its core architecture is built around a single-GPU rendering engine, and while it can distribute work across multiple GPUs, each GPU renders independently and the software does not combine their processing power for a single frame. This design choice stems from Octane's origins as a real-time, unbiased GPU renderer that prioritizes simplicity and predictable performance over multi-GPU scaling.
Background: Octane's GPU-Only Design
OctaneRender, developed by OTOY, was one of the first production-ready, unbiased renderers to rely entirely on GPU acceleration. It was launched in 2012, at a time when most renderers used CPUs. The decision to target GPUs was driven by the massive parallel processing power of graphics cards, which are well-suited for the millions of ray calculations needed for photorealistic rendering. However, from the start, Octane's architecture was designed to run one render session on one GPU. This means that when you start a render, a single GPU handles the entire image, from the first ray to the final pixel. This is in contrast to CPU renderers like Arnold or V-Ray, which can split a frame across many cores and threads.
How Octane Handles Multiple GPUs
While Octane does support multiple GPUs, it does so in a way that does not combine their power for a single frame. Instead, it uses a technique called out-of-core and multi-GPU distribution that works in two distinct modes:
- Frame distribution: When rendering an animation, Octane can assign different frames to different GPUs. For example, with two GPUs, GPU 1 renders frame 1, GPU 2 renders frame 2, then GPU 1 renders frame 3, and so on. This speeds up the overall animation render time but does not make a single frame render faster.
- Tile rendering: For a single still image, Octane can split the image into tiles and have each GPU render a separate tile. This is similar to how a CPU renderer might split a frame into buckets. However, this mode is not the default, and it requires manual setup. It also has overhead because the tiles need to be blended together.
The key point is that Octane does not use multiple GPUs to cooperatively trace the same rays. Each GPU works on its own independent portion of the work, and the results are combined afterwards. This is a deliberate architectural choice to avoid the complexity of synchronizing multiple GPUs on a single frame, which can introduce latency and reduce performance gains.
Why Not Combine GPUs for a Single Frame?
Combining multiple GPUs to render a single frame in real-time is technically challenging. The main issue is communication overhead. GPUs are connected via PCIe, which is fast but still much slower than the internal memory bandwidth of a single GPU. To render a single frame cooperatively, the GPUs would need to constantly exchange data about the state of the rays, materials, and lighting. This would create a bottleneck that would likely negate any performance gains. Additionally, Octane is an unbiased renderer, meaning it simulates the physical behavior of light. This requires a global view of the scene, and splitting that view across GPUs would require complex synchronization. OTOY has stated that they prioritize a single-GPU experience to ensure that performance is predictable and that the software is stable across a wide range of hardware.
How to Choose a GPU for Octane
Since Octane relies on a single GPU for the core rendering, the choice of GPU is critical. Here are the key factors to consider:
- VRAM (Video RAM): This is the most important factor. Octane needs to load the entire scene, including textures and geometry, into the GPU's VRAM. If the scene exceeds VRAM, Octane will fall back to system RAM, which is much slower and can cause crashes. For complex scenes, you need a GPU with 8GB or more VRAM.
- CUDA cores: More CUDA cores mean faster ray tracing. However, the architecture and clock speed also matter. A newer GPU with fewer cores can outperform an older one with more cores.
- RTX vs. GTX: Octane supports both, but RTX cards have dedicated ray tracing hardware that can accelerate certain operations. However, Octane's performance gains from RTX are not as dramatic as in real-time games.
When building a system, it's often better to invest in one high-end GPU with lots of VRAM than in two mid-range GPUs, because the second GPU will only help with animation or tile rendering, not with the interactive viewport.
Common Problems and Workarounds
Users often encounter issues when trying to use multiple GPUs. Here are some common problems:
- Out-of-memory errors: If a scene is too large for a single GPU, Octane will attempt to use system RAM, but this can cause crashes. The workaround is to reduce texture sizes or use the 'Out-of-Core' settings to control how much RAM is used.
- Driver conflicts: Mixing different GPU models or brands can cause instability. It's recommended to use identical GPUs for multi-GPU setups.
- Tile rendering artifacts: When using tile rendering, you may see seams between tiles. This can be mitigated by increasing the overlap or using a higher blend radius.
Comparison with Other Renderers
Octane's single-GPU approach contrasts with other GPU renderers like Redshift, which can use multiple GPUs to render a single frame cooperatively. Redshift uses a hybrid approach where it splits the render into tiles and distributes them across GPUs, but it also uses a more sophisticated scheduling algorithm that reduces overhead. This allows Redshift to scale better with multiple GPUs. However, Octane's simplicity can be an advantage: it is easier to set up and debug, and its viewport is extremely fast because it renders on a single GPU without the need for synchronization.
Costs and Hardware Considerations
Because Octane relies on a single GPU, the cost of building a system is often higher than for a CPU renderer, because you need to buy a powerful GPU. High-end GPUs like the NVIDIA RTX 4090 can be expensive, but they offer the VRAM and speed needed for professional work. Additionally, Octane's licensing is per-GPU, not per-seat, so if you want to use multiple GPUs, you need to pay for each one. This can make multi-GPU setups costly. However, for many users, a single high-end GPU is sufficient, and the per-GPU licensing means you can start with one and add more later if needed.
Alternatives and Future Directions
If you need multi-GPU scaling for a single frame, you might consider other renderers like Redshift, V-Ray GPU, or Arnold GPU. These use different architectures that can better utilize multiple GPUs. However, Octane's focus on single-GPU performance has led to a very optimized and stable renderer. OTOY has also been developing a new engine called Octane X, which is designed for Apple's Metal API and works on both single and multiple GPUs, but it still uses the same fundamental approach of distributing frames or tiles, not combining GPUs for a single frame. As GPU technology evolves, it's possible that Octane will adopt a more cooperative multi-GPU model, but for now, its single-GPU design remains a defining characteristic.
Frequently Asked Questions
Can I use multiple GPUs to make a single image render faster?
Yes, but only through tile rendering, which splits the image into sections and has each GPU render a different section. This can speed up still image renders, but the speedup is not linear due to overhead. For animations, you can render different frames on different GPUs, which is more efficient.
Why does my second GPU not get used?
By default, Octane uses only one GPU for the viewport and for rendering. You need to enable multiple GPUs in the settings and then choose a distribution mode. If you are rendering a still image, you must select 'Tile' mode; otherwise, the second GPU will sit idle.
Does Octane use CPU as well?
Octane is GPU-accelerated, but it does use the CPU for scene management, geometry loading, and some pre-processing. However, the actual ray tracing is done on the GPU. The CPU is not used for rendering computations.
Is it better to buy one expensive GPU or two cheaper ones?
For Octane, it is generally better to buy one expensive GPU with more VRAM than two cheaper ones. The second GPU will only help with animations or tile rendering, and it will not speed up the interactive viewport. A single high-end GPU also simplifies driver and compatibility issues.
Can I mix NVIDIA and AMD GPUs?
Octane officially supports NVIDIA GPUs with CUDA. AMD GPUs are not supported for rendering, though they can be used for display. Mixing brands is not recommended because Octane will only use the NVIDIA GPUs for rendering.