Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

...

Section
The supported features of

Although V-Ray GPU

running on CUDA and RTX are the same.

Although CUDA and RTX share engine shares the same user interface as the V-Ray engine, V-Ray GPU it differs from the regular V-Ray engine in the way it performs certain calculations.  Comparing Comparing the results will never come to a one-to-one match, although it may look quite close. Furthermore, it is not the goal for them to be the same.

This is why, it is strongly recommended to not switch between engines in the middle of your project - if you start setting up a scene with the regular V-Ray engine, use it for the entire project. The render settings will only show the available options and your scene will be optimized for GPU rendering.

V-Ray GPU can be used as a production render or in interactive mode to quickly preview scene changes. It also supports both the Progressive and Bucket Image Samplers.

To enable GPU rendering, from V-Ray Asset Editor → Settings tab → Render rollout, select  CUDA or RTX select  GPU engine. You can use it with both Progressive and Bucket Sampler types.

Column
width70%65%

V-Ray offers two rendering engines - V-Ray and V-Ray GPU.

GPU rendering allows V-Ray to perform the raytracing calculations on the GPU cards installed in the system, rather than the CPU. Since GPUs are specifically designed for massively parallel calculations, they can speed up the rendering process by an order of magnitude. V-Ray GPU uses NVidia CUDA or RTX device(s) to perform the raytracing calculations. The GPU engine can be specified from the V-Ray GPU rollout.

In addition, you can also use CUDA GPU in combination with your CPU device. This is the so-called Hybrid rendering – when CUDA GPU performs raytracing calculations with the CPU, or simultaneously with both the CPU and GPU devices of your computer.

V-Ray GPU supports a variety of features and even more features are added with time.

UI Text Box
typenote
Column
width5%


Column
width25%35%
Image Removed

Image Added


Why V-Ray GPU?

...

V-Ray GPU has a number of advantages:

  • Graphics cards often outperform CPU devices when it comes to processing parallel tasks, such as raytracing;
  • A single machine can host multiple GPU devices but in most cases only a single CPU;
  • Hybrid rendering (CUDA only) allows rendering allows maximum hardware utilization by harnessing the computing power of both GPU and CPU devices;
  • V-Ray GPU has all the required features to be production ready;

V-Ray CPU advantages:

  • Allows rendering complex scenes requiring a substantial amount of memory;
  • Supports all V-Ray features;
  • Does not pre-occupy single-GPU machines during rendering.

Supported Hardware and Drivers

...

Fancy Bullets
typecircle
  • NVIDIA – The CUDA GPU engine is supported only in 64-bit builds of V-Ray for Maxwell-, Pascal-, Turing-, Volta-, or Ampere-based NVIDIA cards. Rendering on multiple GPUs is also supported. See here if your card has the minimum required compute capability.
  • NVIDIA RTXChoosing GPU RTX GPU engine mode works with RTX cards.
  • Hybrid Rendering (running CUDA on GPU and CPU): V-Ray GPU CUDA rendering can be performed on CPUs and NVIDIA GPUs at the same time. Using the Select Devices for V-Ray GPU Rendering you can enable your CPUs as CUDA GPU devices and allow the CUDA GPU code to combine your CPUs and GPUs to utilize all available resources.

...

UI Text Box
typetip

Тo use NVLINK on supported hardware, NVLINK devices must be set to TCC mode. This is recommended for Pascal, Volta and Turning-based Quadro models. For GeForce RTX cards, a SLI setup is sufficient. Also note that to prevent performance loss, not all data is shared between devices.

For more information, see the OptiX and NVLink FAQ page.

UI Text Box
sizemedium
typewarning

V-Ray GPU is not officially supported on macOS.

It works only with C++/CPU devices. V-Ray GPU can still be used in distributed rendering where a macOS machine runs the CUDA engine on a CPU device together with Windows/Linux machine(s) running CUDA engine on GPU device(s).



Choosing Which Devices to Use for Rendering

...

When selecting devices from the standalone tool, that will set the default setup for the work station. After changing this option, you need to restart SketchUp and/or any Standalone DR servers (if any are running) for the changes to take effect. If the Standalone DR server is running as a service, you may need to restart it.

...

.

When choosing the devices from the Asset Editor - it is done only for the current session in SketchUp.

...

Section
Column
width5%


Column
width45%
SketchUp2023_VRay6.1.3_GPUDeviceSelectionImage Removed

Image Added

SketchUp menu Extensions > V-Ray > Tools > External > GPU Device Selection


Or find the vray_gpu_device_select.exe file here C:\Program Files\Chaos\V-Ray\V-Ray for SketchUp\extension\vray\bin.

Note that for versions prior to V-Ray 7, the default location is C:\Program Files\Chaos Group\V-Ray\V-Ray for SketchUp\extension\vray\bin.

Column
width45%

SketchUp2023_VRay6.1.3_AE_RenderGPUImage RemovedImage Added

||V-Ray Asset Editor|| > Settings > Render > GPU device list (dropdown)

Column
width5%


UI Text Box
typetip

If you see your CPU listed twice, choose the option with "C++/CPU " in the name.



Hybrid Rendering with CPUs and the

...

GPU Engine
Anchor
#Hybrid
#Hybrid

...

Starting in 3.60, V-Ray GPU can perform hybrid rendering with the CUDA GPU engine utilizing both the CPU and NVIDIA GPUs. V-Ray can now execute the CUDA GPU source on the CPU, as though the CPU was another CUDA GPU device. To enable the hybrid rendering mode, simply enable the C++/CPU device from the list of CUDA devicesGPU devices. You can specify whether the GPU engine uses CUDA or RTX cards.

The hybrid rendering mode does not require any special drivers. Furthermore, you can use the CPU as a CUDA GPU device even if you don't have an NVIDIA GPU and/or NVIDIA drivers installed. Meaning, this mode can be used on computers that don't even have GPUs. The hybrid render engine running on a CPU supports the same features as features as the regular V-Ray GPU CUDA engine.

More info about the nature of Hybrid rendering is available at the blog post Understanding V-Ray Hybrid rendering.

...

Memory usage can be viewed from the Stats section of the new V-Ray Frame Buffer.

MacOS Metal support is added with V-Ray 7 on Sonoma, Sequoia and newer OS.


References

...

Fancy Bullets
typecircle