DAZ stopped rendering all of the sudden
Greetings!
I know this issue may be familiar, but I have checked dozens of posts and threads and I have found no solution.
I have been using DAZ for months with no issue, even today: I have been doing renders perfectly for hours, until, all of the sudden, as I attempted to render another preview on the viewport, it stopped rendering. Now it does not render anything at all anymore; be it on the viewport, or a full render, it just stops immediately. I don't know why, I haven't changed anything or any setting or anything at all... and it just stopped working just like that, even on an empty scene with a single G8 figure with no lightning or anything. It just straight out does not even start using the GPU.
I have all the drivers up to date, it was working until a few hours ago...
This is the log relevant to this issue:
2021-12-08 21:12:14.033 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - POST:RENDER :: 1.0 POST rend warn : Non-physical gamma value 3.00 used in tonemapper.
2021-12-08 21:12:14.034 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating geometry.
2021-12-08 21:12:14.034 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating motion transforms.
2021-12-08 21:12:14.034 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Importing scene graph.
2021-12-08 21:12:14.100 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - TRIT:GEOMETRY :: 1.0 TRIT geo warn : Object DS_shape_67a_220: the parametric approximation level is set to 3. The original value of 7 would produce too much geometry in a single mesh.
2021-12-08 21:12:15.547 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - TRIT:GEOMETRY :: 1.0 TRIT geo warn : Object DS_shape_6b8_322: the parametric approximation level is set to 4. The original value of 7 would produce too much geometry in a single mesh.
2021-12-08 21:12:17.764 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - TRIT:GEOMETRY :: 1.0 TRIT geo warn : Object DS_shape_6bc_338: the parametric approximation level is set to 8. The original value of 9 would produce too much geometry in a single mesh.
2021-12-08 21:12:20.062 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - TRIT:GEOMETRY :: 1.0 TRIT geo warn : Object DS_shape_6c0_350: the parametric approximation level is set to 8. The original value of 9 would produce too much geometry in a single mesh.
2021-12-08 21:12:22.307 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - TRIT:GEOMETRY :: 1.0 TRIT geo warn : Object DS_shape_6c5_362: the parametric approximation level is set to 6. The original value of 9 would produce too much geometry in a single mesh.
2021-12-08 21:12:24.886 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - TRIT:GEOMETRY :: 1.0 TRIT geo warn : Object DS_shape_6c9_378: the parametric approximation level is set to 8. The original value of 9 would produce too much geometry in a single mesh.
2021-12-08 21:12:27.152 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - TRIT:GEOMETRY :: 1.0 TRIT geo warn : Object DS_shape_6cd_390: the parametric approximation level is set to 8. The original value of 9 would produce too much geometry in a single mesh.
2021-12-08 21:12:29.406 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Auto instancing compression ratio 1.00 (Full instancing compression ratio 1.00)
2021-12-08 21:12:29.406 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Importing geometry for motion time 0
2021-12-08 21:12:34.984 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Geometry import (1 triangle object with 43764k triangles, 0 fiber objects with 0 fibers (0 segments), 1 triangle instance yielding 43764k triangles, 0 fiber instances yielding 0 segments) took 5.578s
2021-12-08 21:12:34.985 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating materials.
2021-12-08 21:12:36.103 Iray [INFO] - MATCNV:RENDER :: 1.0 MATCNV rend info : found 195 textures, 0 lambdas (0 unique)
2021-12-08 21:12:36.113 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating environment.
2021-12-08 21:12:36.127 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating backplate.
2021-12-08 21:12:36.131 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating lens.
2021-12-08 21:12:36.132 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating lights.
2021-12-08 21:12:36.132 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating object flags.
2021-12-08 21:12:36.132 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating caustic portals.
2021-12-08 21:12:36.132 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating decals.
2021-12-08 21:12:36.138 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Using iray core convergence estimate.
2021-12-08 21:12:36.139 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Allocating 1-layer frame buffer
2021-12-08 21:12:36.143 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Using batch scheduling, caustic sampler disabled
2021-12-08 21:12:36.143 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Initializing local rendering.
2021-12-08 21:12:36.147 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Using OptiX Prime version 5.0.1
2021-12-08 21:12:36.147 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Initializing OptiX Prime for CUDA device 0
2021-12-08 21:12:36.199 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Rendering with 1 device(s):
2021-12-08 21:12:36.199 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : CUDA device 0 (NVIDIA GeForce GTX 970)
2021-12-08 21:12:36.199 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Rendering...
2021-12-08 21:12:36.199 Iray [INFO] - IRAY:RENDER :: 1.3 IRAY rend progr: CUDA device 0 (NVIDIA GeForce GTX 970): Processing scene...
2021-12-08 21:12:36.771 Iray [VERBOSE] - IRAY:RENDER :: 1.2 IRAY rend stat : Geometry memory consumption: 1.145 GiB (device 0), 0.000 B (host)
2021-12-08 21:12:37.211 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.2 IRAY 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)
2021-12-08 21:12:37.211 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.3 IRAY rend error: CUDA device 0 (NVIDIA GeForce GTX 970): Scene setup failed
2021-12-08 21:12:37.212 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.3 IRAY rend error: CUDA device 0 (NVIDIA GeForce GTX 970): Device failed while rendering
2021-12-08 21:12:37.212 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER :: 1.3 IRAY rend warn : CUDA device 0 (NVIDIA GeForce GTX 970) ran out of memory and is temporarily unavailable for rendering.
2021-12-08 21:12:37.212 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER :: 1.3 IRAY rend warn : All available GPUs failed.
2021-12-08 21:12:37.213 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.3 IRAY rend error: Fallback to CPU not allowed.
2021-12-08 21:12:37.213 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.3 IRAY rend error: All workers failed: aborting render
2021-12-08 21:12:37.213 Iray Render error: Internal rendering error.
2021-12-08 21:12:37.225 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Device statistics:
2021-12-08 21:12:37.225 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : CUDA device 0 (NVIDIA GeForce GTX 970): 0 iterations, 1.065s init, 0.001s render
2021-12-08 21:12:37.490 Finished Rendering
Comments
It's runing out of memory on the card. It looks as if you haev high SubD levels set, though the system does seem to be lowering those to more manageable values, and your memory is also being eateen by the OptiX code used to emulate the RTX features.
Your graphic card ran out of memory and because CPU fall back is disabled it wont render.
But how/why is this happening? Some hours ago I was rendering huge scenes in very high resolutions filled with stuff with no issue, and now, it runs out of memory trying to render a single Genesis 8 figure? I don't understand... I have tried to restart DAZ, the computer... but nothing works... I have never had this issue in all these months... and I haven't touched or changed anything!
What is the SubD on that character?
Oh, now it works!
I was running some tests while restarting over and over looking for the issue... I believe an asset could be corrupt and breaking the program... is that possible?
Whenever I try to render anything including that asset, I get this error, and I keep getting it even if I delete it or change scene...
But if I restart, delete that asset and render or render pretty much any scene that does not include said asset, it works properly, as always... could all of this be caused by a faulty asset?
Once memory has run out in a session you do usually need to restart Daz Studio to free it.
I see... I still have this issue randomly, but it slves itself when I restart, as you say... It's just weird that, of all the time I've been using DAZ, only now it has started happening... I guess my issues today have come from faulty assets + A LOT of usage... so I will try to delete the faulty assets and, if this ever happens again, restart, and if it works, I'm happy hahah
Thank you all for your replies and help!
I have to ask again what does "Purge Memory.dsa" actually do?
Frees up some memory DS controls - e.g. the Undo stack, as I recall. The rendering issue is with Iray, or possibly the driver, not something DS has any control over.