DS Iray Render Errors - both GPUs fail
Trying to get a handle on what's going wrong here so I can try to fix it. I've tried to render this scene multiple times, making small changes to reduce resource load, but the errors seem to always be the same: similar errors and the render ends in failure in 4 minutes or so with a blank render window. Below are what I think are the relevant lines from the log. I've edited them down so it's not so verbose & hard to read but I can provide a full log file if needed. This is Daz Studio v4.15.0.2
Can anyone help?
Using OptiX version 7.1.0
Initializing OptiX for CUDA device 0
Using OptiX Prime version 5.0.1
Initializing OptiX Prime for CUDA device 1
Rendering with 2 device(s):
CUDA device 0 (GeForce RTX 2080 Ti)
CUDA device 1 (GeForce GTX 980 Ti)
Rendering...
CUDA device 0 (GeForce RTX 2080 Ti): Processing scene...
CUDA device 1 (GeForce GTX 980 Ti): Processing scene...
Geometry memory consumption: 1.654 GiB (device 0), 0.000 B (host)
Geometry memory consumption: 1.654 GiB (device 1), 0.000 B (host)
rend error: OptiX Prime error (Device rtpModelUpdate BL): Memory allocation failed (Function "_rtpModelUpdate" caught exception: Encountered a CUDA error: cudaMalloc(&ptr, size) returned (2): out of memory)
rend error: CUDA device 1 (GeForce GTX 980 Ti): Scene setup failed
rend error: CUDA device 1 (GeForce GTX 980 Ti): Device failed while rendering
rend warn : CUDA device 1 (GeForce GTX 980 Ti) ran out of memory and is temporarily unavailable for rendering.
rend error: Unable to allocate 64.000 MiB from 5.492 GiB of available device memory
rend error: CUDA device 0 (GeForce RTX 2080 Ti): Scene setup failed
rend error: CUDA device 0 (GeForce RTX 2080 Ti): Device failed while rendering
rend warn : CUDA device 0 (GeForce RTX 2080 Ti) ran out of memory and is temporarily unavailable for rendering.
rend warn : All available GPUs failed.
rend warn : No devices activated. Enabling CPU fallback.
rend error: All workers failed: aborting render
rend info : CPU: using 16 cores for rendering
rend info : Rendering with 1 device(s): CPU
rend info : Rendering...
rend progr: CPU: Processing scene...
rend info : Using Embree 3.10.0
rend info : Initializing Embree
rend error: CreateThread failed
rend error: CPU: Scene setup failed
rend error: CPU: Device failed while rendering
rend warn : CPU is no longer available for rendering.
rend error: All workers failed: aborting render
2021-01-22 19:10:01.039 Iray Render error: Internal rendering error.
warn : Transaction is released without being committed or aborted. Automatically aborting.
Comments
First thing I would look at is your nVidia drivers. Daz Studio 4.15 needs at least version 451.48 of the nvidia drivers.
What is in the scene? What have you done to reduce the load? Do other renders work correctly?
460.89 on both.
I was finally able to render the scene. There were two G8 characters in it among other things and I thought I couldn't reduce it anymore but I realized I could hide one of the figures and render it separately, and that worked. I have fairly busy scenes, and often have to chop them up and adjust for successful renders. Can you say what you think is happening, or does it look like the VRAM requirements for the scene are just too high?
I would imagine that it's runnong out of VRAM, whether that is reasonable I don't know - two clothed figures in themselves don't sound that demanding.
Well there's a lot of scene elements there: environment, props, some displacement maps, HDRI. One of the figures is pretty demanding with a lot of texture maps. I hide everything not in the camera view, but still. Thank you.
Try using Canvases next time.
Daz 3D Education Series - Animation - Canvases and Render Passes
Canvas System Tutorial Daz Studio Iray
Thanks for the reminder! Been meaning to check that out.
I've watched it once last year. Now whenever I do any renders larger than 2000x2000 I just go into it add like 5 or so options and try to pick stuff I remember I have in the scene. Like Beauty, Emission, Light, Blur, yadda, yadda, yadda...