MRL Mid Length Hair won't render
HI all,
I have MRL Mid Length Hair and whenever I include it into a scene lately, it will cause the scene to not render due to supposedly running out of video memor (I have CPU fallback disabled.). I have 8GB memory of video ram and I am certain I am not running out (some of the scenes aren't complex enough to even come close to causing that). Here is the logs from a recent complex scene that won't render in GPU:
2021-04-20 12:41:43.911 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating geometry.
2021-04-20 12:41:43.913 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating motion transforms.
2021-04-20 12:41:43.914 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Importing scene graph.
2021-04-20 12:41:46.767 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - TRIT:GEOMETRY :: 1.0 TRIT geo warn : Object DS_shape_f08_2110: the parametric approximation level is set to 0. The original value of 2 would produce too much geometry in a single mesh.
2021-04-20 12:41:49.714 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Auto instancing compression ratio 1.09 (Full instancing compression ratio 1.13)
2021-04-20 12:41:49.715 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Importing geometry for motion time 0
2021-04-20 12:41:53.108 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Geometry import (5 triangle objects with 31014k triangles, 0 fiber objects with 0 fibers (0 segments), 5 triangle instances yielding 31014k triangles, 0 fiber instances yielding 0 segments) took 3.393s
2021-04-20 12:41:53.108 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating materials.
2021-04-20 12:41:53.734 Iray [INFO] - MATCNV:RENDER :: 1.0 MATCNV rend info : found 1814 textures, 0 lambdas (0 unique)
2021-04-20 12:41:53.789 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Computing 2 flux compensation factors took 0.000s
2021-04-20 12:41:53.789 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Emitter geometry import (12 light sources with 8095 triangles, 1 instance) took 0.001s
2021-04-20 12:41:53.790 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating environment.
2021-04-20 12:41:53.800 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating backplate.
2021-04-20 12:41:53.802 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating lens.
2021-04-20 12:41:53.802 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating lights.
2021-04-20 12:41:53.802 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating object flags.
2021-04-20 12:41:53.804 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating caustic portals.
2021-04-20 12:41:53.804 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating decals.
2021-04-20 12:41:53.821 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Using iray core convergence estimate.
2021-04-20 12:41:53.823 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Allocating 1-layer frame buffer
2021-04-20 12:41:53.829 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Using batch scheduling, caustic sampler disabled
2021-04-20 12:41:53.830 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Initializing local rendering.
2021-04-20 12:41:53.839 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Using OptiX Prime version 5.0.1
2021-04-20 12:41:53.839 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Initializing OptiX Prime for CUDA device 1
2021-04-20 12:41:53.987 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Initializing OptiX Prime for CUDA device 0
2021-04-20 12:41:53.991 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Rendering with 2 device(s):
2021-04-20 12:41:53.992 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : CUDA device 1 (NVIDIA GeForce GTX 1080)
2021-04-20 12:41:53.992 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : CUDA device 0 (NVIDIA GeForce GTX 1080)
2021-04-20 12:41:53.992 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Rendering...
2021-04-20 12:41:53.992 Iray [INFO] - IRAY:RENDER :: 1.11 IRAY rend progr: CUDA device 1 (NVIDIA GeForce GTX 1080): Processing scene...
2021-04-20 12:41:53.992 Iray [INFO] - IRAY:RENDER :: 1.2 IRAY rend progr: CUDA device 0 (NVIDIA GeForce GTX 1080): Processing scene...
2021-04-20 12:41:54.356 Iray [VERBOSE] - IRAY:RENDER :: 1.13 IRAY rend stat : Geometry memory consumption: 1.113 GiB (device 1), 0.000 B (host)
2021-04-20 12:41:54.359 Iray [VERBOSE] - IRAY:RENDER :: 1.15 IRAY rend stat : Geometry memory consumption: 1.113 GiB (device 0), 0.000 B (host)
2021-04-20 12:43:39.187 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.13 IRAY rend error: Unable to allocate 64.000 MiB from 0.000 B of available device memory
2021-04-20 12:43:39.194 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.11 IRAY rend error: CUDA device 1 (NVIDIA GeForce GTX 1080): Scene setup failed
2021-04-20 12:43:39.201 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.15 IRAY rend error: Unable to allocate 64.000 MiB from 0.000 B of available device memory
2021-04-20 12:43:39.204 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.2 IRAY rend error: CUDA device 0 (NVIDIA GeForce GTX 1080): Scene setup failed
2021-04-20 12:43:39.205 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.11 IRAY rend error: CUDA device 1 (NVIDIA GeForce GTX 1080): Device failed while rendering
2021-04-20 12:43:39.205 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.2 IRAY rend error: CUDA device 0 (NVIDIA GeForce GTX 1080): Device failed while rendering
2021-04-20 12:43:39.206 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER :: 1.11 IRAY rend warn : CUDA device 1 (NVIDIA GeForce GTX 1080) ran out of memory and is temporarily unavailable for rendering.
2021-04-20 12:43:39.207 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER :: 1.2 IRAY rend warn : CUDA device 0 (NVIDIA GeForce GTX 1080) ran out of memory and is temporarily unavailable for rendering.
2021-04-20 12:43:39.208 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER :: 1.2 IRAY rend warn : All available GPUs failed.
2021-04-20 12:43:39.210 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.2 IRAY rend error: Fallback to CPU not allowed.
2021-04-20 12:43:39.210 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.2 IRAY rend error: All workers failed: aborting render
2021-04-20 12:43:39.216 Iray Render error: Internal rendering error.
Mind you I can render other scenes just fine unless they include this hair. I also seem to be having the same problem with the Minimilistic Autumn boots. I'm not so cecerned about those though. I need this hair. It used to render, I don't know what's changed (the hair might have been updated).
Comments
dForce hair can use a lot of memory, and apaprently it is going over the limits for your hardware. Chevvybabe has a thread on optimising dForce hair https://www.daz3d.com/forums/discussion/380281/chevybabe-s-dforce-sbh-hair-thread#latest
I highly doubt that's really the case. I have 32 GB of system ram, 8 gb of graphics ram. The logs aren't reporting it's using all that much. And as I've mentioned before I've test rendered this scene before. I'm worried the hair has some type of memory leak. I can get the hair to render on less complex scenes but my video ram is getting 80% + full and Daz isn't reporting it's using that much geometry memory or textures. I might be stuck contacting technical support because of this. I don't look forward to that.