Rendering Pyro and Volumes with Karma XPU

Rendering pyro and volumes with Karma XPU
Rendering pyro and volumes with Karma XPU VRAM • Fields • Caches • Settings

Karma XPU pyro volumes render fast as long as every field of every frame fits in VRAM, so the work is mostly about shrinking the cache before render, not tuning the renderer.

  • Volumes fill VRAM first: a dense float field stores 4 bytes per voxel per channel, so resolution, padding and extra fields add up quickly.
  • No out of core: when a volume does not fit, Karma XPU’s GPU device drops out and its CPU device carries on much more slowly.
  • Shrink the cache: convert to VDB, keep only the fields the shader reads, store at 16-bit where acceptable and cull empty voxels.
  • Read the sequence: the peak frame of the simulation, not the first, decides whether a sequence fits.
  • Settings: volume step rate and the volume limit change render time; they do not rescue a cache that is too large.

Pyro is where Karma XPU’s speed is most tempting and its limits are most visible. Smoke, fire and explosions render beautifully on the GPU, but volumes are memory hungry, and Karma XPU has no out-of-core path for volumes; only shader textures can be evicted. This guide covers why volumes hit the ceiling first, what happens when they do, how to shrink a cache before it reaches the renderer, and which Karma XPU settings are worth checking for pyro and volume work.

1. Why Volumes Hit the VRAM Ceiling First

A volume is a 3D grid. Memory grows with the cube of resolution, so halving voxel size multiplies the voxel count by eight. Each field you keep, such as density, temperature, flame and velocity, adds another full grid. A shot that looks moderate on screen can carry several gigabytes per frame once all fields are counted.

MathVolume memory

What Makes a Karma XPU Pyro Volume Heavy

Each factor multiplies the others, so a small change in one can decide whether a frame fits.

FactorEffect on memoryWhat to do
Voxel size-|Cubic:|half the voxel size, about 8x the voxelsUse the coarsest size that holds detail at render resolution
Number of fields~|Linear:|each field is another gridKeep only fields the shader reads
Precision~|32-bit float is 4 bytes:|16-bit halves itStore density and temperature at 16-bit where it looks the same
Empty space~|Dense grids store air:|Convert to VDB and cull empty voxels
Velocity for motion blur~|Three channels:|Keep only for shots with visible blur
Count fields and voxels before render. Most volume memory problems are visible in the cache, not the renderer.
Figure 1.1Why voxel size matters so much
vfxrendering.com
ONE DENSE FLOAT FIELD: VOXELS PER SIDE AND MEMORY256 per sideabout 64 MB512 per sideabout 512 MB1024 per sideabout 4 GBMultiply by every field you keep. Sparse VDB storage shrinks this by skipping empty voxels.Arithmetic for a cube of 32-bit floats, before compression or culling.
SmallMediumLarge
Calculated values, not measurements

2. What Happens When a Volume Exceeds VRAM

Redshift can page some data to system RAM, though not VDB volumes. Karma XPU has no out-of-core path for volumes either; only shader textures can be evicted. When the scene does not fit, the OptiX GPU device stops contributing and the Embree CPU device finishes the frame. The render still completes, which makes the problem easy to miss on a long sequence: some frames take minutes, others take far longer, and nothing in the output looks wrong.

  • Check the device split in the render statistics; a GPU share that collapses on heavy frames is the signature.
  • Watch VRAM on the peak frame rather than the first frame of the simulation.
  • On a farm, enable Cancel Render if No Working GPU Devices are Discovered so a node with no usable GPU fails; mid-frame memory drop-outs still need the device check.

The broader behaviour is covered in why Karma XPU can render slower than CPU.

3. Shrinking the Cache Before Anything Else

3.1 Convert to VDB and cull empty space

Dense Houdini volumes store every voxel, including air. Converting to VDB stores only active voxels, and culling voxels below a small density threshold removes the faint fringe that rarely shows in the render. Check the result against the original at render resolution, because aggressive culling can cut soft edges.

3.2 Keep only the fields the shader reads

Simulations write fields for the solver, such as divergence, pressure or collision data, that the renderer never uses. Write a render cache with only density, the temperature or flame fields your pyro shader reads, and velocity if the shot needs motion blur.

3.3 Store at 16-bit where it looks the same

Half precision halves the memory of a field. Density and temperature usually survive it without visible change; test a frame with strong gradients before committing the whole sequence.

3.4 Coarser voxels for distant volumes

A background smoke plume does not need the voxel size of a hero explosion. Resample distant or blurred volumes to a larger voxel size; the cubic rule makes this one of the biggest savings available.

3.5 Compression formats

Third-party formats such as ZibraVDB compress volumes heavily for storage and transfer. They are lossy and the data has to be decompressed for rendering, so treat them as a pipeline tool rather than a way to fit more into VRAM, and check the result against the original.

3.6 Check the budget for the rest of the scene

The volume is not alone on the card. Environment geometry, textures, characters and the render buffers for your output resolution and AOVs all share the same VRAM. Measure the scene without the volume first, subtract that from the card’s memory, and treat what remains as the volume budget. A pyro cache that fits on an empty stage can still push a full shot over the edge.

3.7 Split hero and background volumes

When a shot combines a hero explosion with background smoke, render them as separate passes. Each pass then carries only one heavy volume, and the background can use coarser voxels and lower sample settings. The compositor gets more control too, which often matters as much as the memory saving.

4. Reading the Sequence, Not the Frame

Pyro grows and decays. The frame that decides whether a sequence fits on the card is the peak, usually where the plume is largest or the explosion is brightest. Before rendering, find that frame in the cache by file size or voxel count and render it first. If it fits with headroom for the rest of the scene, the sequence will too. If it does not, you know before committing hours of farm time, and you can decide whether to lighten the cache, split the shot or move those frames to a bigger card or to Karma CPU.

Figure 4.1Why the first frame is the wrong test
vfxrendering.com
CACHE SIZE ACROSS A PYRO SEQUENCE (SHAPE ONLY) VRAM available for volumes Peak frame: test this first Frame 1001Frame 1240 Frames above the line need a lighter cache, a bigger card or a CPU render.
Cache sizePeak
Illustrative inputs, not measurements

5. Karma XPU Settings Worth Checking for Volumes

SettingsRender controls

Karma XPU Settings That Affect Volume Renders

These change render time and quality. None of them makes an oversized cache fit.

SettingWhat it doesAdvice
Volume step ratehow finely rays sample a volumeHigher is slower: raise only for fine detail or thin wisps
Volume Limitscattering bounces inside volumes, Limits tabMore bounces, brighter and slower: keep low for dense smoke
Pixel samplesnoise level overallVolumes are noisy: use the denoiser before raising samples
Motion blurXPU volume blur uses Lookup Offset modeAdds memory and time: disable on shots without visible blur
Cancel Render if No Working GPU Devices are Discoveredfail instead of CPU-only renderUse on farms: stops nodes with no usable GPU
Tune these after the cache fits. Before that, they only change how long the CPU fallback takes.

6. SOP: Preparing a Pyro Shot for Karma XPU

  1. Write a render cache separate from the simulation cache, with only render fields, as VDB.
  2. Cull and compress empty voxels and store fields at 16-bit where the look holds.
  3. Find the peak frame by file size and render it first on the target GPU, watching VRAM and the device split.
  4. Set step rate and bounces on that frame, then lock them for the sequence.
  5. Enable Cancel Render if No Working GPU Devices are Discovered for farm renders, and still check the device split for mid-frame drop-outs.

7. When the Volume Really Needs More Memory

Some hero effects cannot be shrunk enough. The options are rendering the volume in Karma CPU, splitting it into separate render layers, or rendering on a card with more VRAM. A second card of the same size does not help, because each GPU device keeps its own copy of the scene.

For a single heavy shot, renting a larger card can be cheaper than buying one. iRender rents machines with RTX 5090 32GB cards where you install your own Houdini build and copy the caches across. Large VDB caches take time to move, though: uploads land on a network drive and need copying to the local disk before rendering, so plan for transfer time on big sequences. The iRender Karma XPU render farm page lists the server configurations and pre-installed software.

See more: How Much VRAM Karma XPU Needs | Rendering Houdini Sim Caches on a Farm | Redshift vs Karma XPU for Houdini

FAQ: Karma XPU Pyro and Volumes

Can Karma XPU render pyro and volumes?

Yes. Karma XPU renders VDB smoke, fire and other volumes on the GPU and is fast when the volume fits in VRAM. Because it has no out-of-core path for volumes, a volume that exceeds graphics memory makes the GPU device drop out and the CPU device finish the frame, much more slowly.

How much VRAM does a Karma XPU pyro render need?

It depends on voxel count, number of fields and precision. One dense 32-bit field of 512 voxels per side is about 512MB, and memory grows with the cube of resolution. Check the peak frame of your cache on your target card rather than relying on a rule of thumb.

How do I reduce volume memory for Karma XPU?

Convert to VDB, cull empty voxels, keep only the fields the shader reads, store density and temperature at 16-bit where the look holds, and resample distant volumes to coarser voxels. Test the peak frame after each change.

Why do some pyro frames render much slower than others in Karma XPU?

Usually because those frames exceed VRAM and the GPU device drops out, leaving the CPU device to finish them. This happens around the peak of the simulation. Check the device split in the render statistics on the slow frames.

Does volume step rate fix Karma XPU running out of memory?

No. Step rate changes how finely rays sample the volume, which affects render time and detail, not memory. Only a smaller cache, fewer fields, lower precision or a card with more VRAM fixes a volume that does not fit.

Should I render big pyro shots in Karma CPU instead?

When a hero volume cannot be reduced to fit your GPU, Karma CPU is the predictable choice, since it renders from system RAM. It is slower than a healthy XPU render and more predictable than XPU falling back to its CPU device on heavy frames.

Sources

Written by

The VFXRendering editorial team writes about render farms, cloud GPU rendering and VFX pipelines. Prices, versions and features are read from each vendor’s published pages and dated in the Sources section of each post.

Latest comment

LEAVE A COMMENT