I’ve run into a bug that I can’t find a suitable workaround for. V-Ray 7.10.00 for Cinema 4D consistently crashes with CUDA error 700 when rendering animations with GPU, specifically during texture reloading between frames. Single frame GPU rendering works perfectly.
If there’s an easy fix I’ve somehow overlooked, that will make me very happy. If not, here’s a detailed diagnostic report that I hope is helpful toward getting this resolved:
System Configuration
- V-Ray Version: 7.10.00 for Cinema 4D, update 1 (API 2024.900, runtime 2025.201, revision: 7ca58467, build date: May 13 2025)
- GPU: NVIDIA RTX 4090 (24GB VRAM)
- Driver: Chaos-recommended NVIDIA driver for V-Ray
- Host: Cinema 4D
- OS: Windows 11
Exact Problem Description
- Single frame GPU rendering: Works perfectly via Cinema 4D Picture Viewer
- Animation GPU rendering: Fails consistently on frame 2 with CUDA error 700
- V-Ray benchmark: Runs successfully without issues
- CPU animation rendering: Works fine (confirming scene/content is valid)
Reproduction Steps
- Create scene with full-resolution textures (multiple 2K+ texture maps)
- Set V-Ray to GPU rendering mode
- Configure animation frame range (any range with 2+ frames)
- Begin animation render via Cinema 4D Picture Viewer
- Frame 1 renders successfully
- At frame 2 start: Status shows “Loading bitmaps…”
- Render view goes black
- CUDA error 700 occurs immediately
Error Log
[FONT=Lucida Sans Unicode]Successfully initialized V-Ray 7 for Cinema 4D, update 1 (API 2024.900, runtime 2025.201, V-Ray version: 7.10.00, revision: 7ca58467, build date: May 13 2025)
[0h 0m 7.3s] C:\CI\cgrepo\vraysdk\samples\vray_plugins\rt_private\rt_opencl_(2158) : CUDA error 700
[0h 0m 7.5s] [MemoryManagerGpu::releaseUnmappedMemoryFromInstance] 700: Could not release device buffer[/FONT]
Troubleshooting Performed
Scene Content Issues (Eliminated)
Removed all displacement maps
Eliminated material face ID conflicts
Removed unsupported render elements
Simplified materials to basic diffuse
Disabled V-Ray VFB (used Picture Viewer)
Set RGB output to “Only RGB”
Disabled V-Ray image output system
GPU Settings Tested
Reduced GPU texture size from default to 1024MB, 512MB, 256MB
Reduced Ray bundle size to 32
Tested with different power management settings
Confirmed GPU stability with other applications
Hardware Verification
V-Ray benchmark runs successfully (confirms GPU hardware is stable)
Other GPU-intensive applications work fine
GPU temperatures and power draw normal
Key Diagnostic Findings
- Timing is consistent: Error always occurs when transitioning to frame 2
- “Loading bitmaps” message: Indicates texture reload process is where failure occurs
- rt_opencl error location: Suggests OpenCL memory management issue during texture operations
- Single frame success: Proves scene content and GPU setup are fundamentally compatible
Root Cause Analysis
The evidence strongly suggests a texture memory management bug in V-Ray’s animation pipeline:
- Frame 1 loads textures successfully into GPU memory
- Between frames, V-Ray attempts to reload/manage texture data
- During this texture reload process, illegal memory access occurs (CUDA error 700)
- The GPU memory manager fails to release buffers properly
- This is specific to animation rendering - single frames bypass this texture reload mechanism
Suspected Bug Location
Based on error path [FONT=Lucida Sans Unicode]rt_private\rt_opencl_(2158)[/FONT], this appears to be in V-Ray’s private OpenCL texture management code, specifically in the animation frame transition logic where textures are reloaded or memory is reallocated between frames.
Workarounds That Technically Work
- CPU rendering for animations (works perfectly, takes far too long)
- Single frame GPU rendering (works perfectly, impractical for animations)
- Manual frame-by-frame rendering with Cinema 4D restart between frames (ridiculously impractical)
Impact
This bug prevents GPU acceleration for animation rendering, forcing users to either:
- Use much slower CPU rendering for animations
- Implement complex workarounds that eliminate the workflow benefits of GPU rendering
Request
Please investigate the texture memory management in V-Ray’s animation pipeline for RTX 4090 compatibility. This appears to be a regression or compatibility issue specific to how V-Ray handles texture reloading between animation frames on modern high-VRAM GPUs.