CUDA fails to initialize on iRay and V-Ray (In-process)
						
					
					
				
			
		
	
			
	
	
	
	
	
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've had two remote sessions with Chaos Group now in an effort to diagnose and fix CUDA issues on my machine. iRay will not use CUDA, only CPU. V-Ray will use CUDA but only if I disable 'In-process' in the Render Dialog.
Chaos says this is an Autodesk and Max issue and that they can't do anything about it. They've written a workaround in V-Ray 3 that allows you to uncheck "In-process' so the CUDA initialization doesn't crash Max when it fails.
Is anyone else experincing this and if so, have you workeded out a solution with Max tech support?
SYSTEM: Active Shade renderer is changed to V-Ray RT 3.30.05. Previous messages are cleared.
SYSTEM: Active Shade renderer is changed to NVIDIA iray. Previous messages are cleared.
IRAY 0.5 58 MB warn : filtering is unsupported for rgba_fp FB_NAME_MAIN
IRAY 0.5 62 MB error: CUDA device 0: cannot get memory statistics (all CUDA-capable devices are busy or unavailable)
IRAY 0.90 87 MB error: CUDA device 0 (Quadro K5200): device kernel image is invalid (Failed to get function attributes)
IRAY 0.90 87 MB error: CUDA device 0 (Quadro K5200): all CUDA-capable devices are busy or unavailable (while allocating host mapped memory buffer)
IRAY 0.90 87 MB error: CUDA device 0 (Quadro K5200): device cannot be used as it does not support mapped memory (canMapHostMemory)
IRAY 0.90 87 MB error: CUDA device 0 (Quadro K5200): Device initialization failed, will not be used
IRAY 0.5 109 MB warn : filtering is unsupported for rgba_fp FB_NAME_MAIN
SYSTEM: Active Shade renderer is changed to NVIDIA mental ray. Previous messages are cleared.
IRAY 0.11 66 MB warn : filtering is unsupported for rgba_fp FB_NAME_MAIN
IRAY 0.11 67 MB error: CUDA device 0: cannot get memory statistics (all CUDA-capable devices are busy or unavailable)
IRAY 0.93 91 MB error: CUDA device 0 (Quadro K5200): device kernel image is invalid (Failed to get function attributes)
IRAY 0.93 91 MB error: CUDA device 0 (Quadro K5200): all CUDA-capable devices are busy or unavailable (while allocating host mapped memory buffer)
IRAY 0.93 91 MB error: CUDA device 0 (Quadro K5200): device cannot be used as it does not support mapped memory (canMapHostMemory)
IRAY 0.93 91 MB error: CUDA device 0 (Quadro K5200): Device initialization failed, will not be used
Rob Holmes
3ds Max (2023-2025), V-Ray 6.2, Ryzen 9 3950-X Processor, DDR 4 128MB, Gigabyte Aorus X570 Master motherboard, Sabrent Rocket NVMe 4.0 M.2 drives, NVidia RTX 4090, Space Pilot Pro, Windows 11 Pro x64, Tri-Monitor, Cintiq 13HD, Windows 11 x64
------------------------------------------------------------------------------------------------------------------------------------------
 
     
             
		
			