Daz/Iray failing to use 2080 RTX Super to render.
So this problem has been plaguing me a while and it really kills my workflow. Sometimes I can render multiple times without issue with my 2080, but most of the time, the only way I can get it to render a second time is by quitting DAZ, going into Task Manager and ending the Daz process (which has no name for some reason) then starting Daz back up again. Reloading the file, then rendering it.
I don't think Iray is releasing the memory back. It's particulalry bad with heavy scenes, but even light ones cause an issue. Also yes, my drivers are up to date.
Error log:
2022-03-08 19:09:22.099 Iray [INFO] - IRAY:RENDER :: 1.9 IRAY rend info : CUDA device 0 (NVIDIA GeForce RTX 2080 Super): Scene processed in 9.624s
2022-03-08 19:09:22.099 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER :: 1.9 IRAY rend error: CUDA device 0 (NVIDIA GeForce RTX 2080 Super): Not enough memory for kernel launches (0.000 B (295.312 MiB) required, 0.000 B available). Cannot allocate framebuffer.
2022-03-08 19:09:22.100 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER :: 1.9 IRAY rend error: CUDA device 0 (NVIDIA GeForce RTX 2080 Super): Failed to setup device frame buffer
2022-03-08 19:09:22.100 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER :: 1.9 IRAY rend error: CUDA device 0 (NVIDIA GeForce RTX 2080 Super): Device failed while rendering
2022-03-08 19:09:22.100 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [WARNING] - IRAY:RENDER :: 1.9 IRAY rend warn : CUDA device 0 (NVIDIA GeForce RTX 2080 Super) ran out of memory and is temporarily unavailable for rendering.
2022-03-08 19:09:22.154 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [WARNING] - IRAY:RENDER :: 1.9 IRAY rend warn : All available GPUs failed.
2022-03-08 19:09:22.154 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER :: 1.9 IRAY rend error: Fallback to CPU not allowed.
2022-03-08 19:09:22.154 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER :: 1.9 IRAY rend error: All workers failed: aborting render
Comments
I had almost the same question few years ago https://www.daz3d.com/forums/discussion/324616/how-to-clear-vram-memory-without-restarting-daz-studio
I didn't have a real solution back then and I guess daz/iray still has the same issue. I don't think there is any method to clear the vram other than to end the daz process.