Interpreting an error message
I can't render a scene, the render stops immediately. Here's the log, the problem seems to be related to my GPU, can someone interpret what it means?
2022-02-13 10:18:54.695 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.2 IRAY rend error: Unable to allocate 64.000 MiB from 1.411 GiB of available device memory
2022-02-13 10:18:54.707 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.3 IRAY rend error: CUDA device 0 (GeForce RTX 3050 Laptop GPU): Scene setup failed
2022-02-13 10:18:54.736 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.3 IRAY rend error: CUDA device 0 (GeForce RTX 3050 Laptop GPU): Device failed while rendering
2022-02-13 10:18:54.749 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER :: 1.3 IRAY rend warn : CUDA device 0 (GeForce RTX 3050 Laptop GPU) ran out of memory and is temporarily unavailable for rendering.
2022-02-13 10:19:00.693 Iray [INFO] - IRAY:RENDER :: 1.7 IRAY rend info : Allocating 1-layer frame buffer
2022-02-13 10:19:01.454 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [FATAL] - API:MEMORY :: Memory allocation failed.
2022-02-13 10:19:01.483 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - POST:RENDER :: 1.0 POST rend error: Exception during postprocessing: bad allocation
2022-02-13 10:19:01.485 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER :: 1.0 IRAY rend error: Internal error in postprocessing pipeline.
2022-02-13 10:19:01.494 Iray Render error: Internal rendering error.
2022-02-13 10:19:01.532 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend progr: Transaction closed, stopping renderer.
2022-02-13 10:19:01.785 Saved image: C:\Users\aubeb\AppData\Roaming\DAZ 3D\Studio4\temp\render\r.png
2022-02-13 10:19:01.817 Finished Rendering
Comments
Nota : I can render the scene if I remove a sizeable element , such as a character. Any do, so it's not tied to a specific item. It looks DAZ refuses to render above a given size (rendering on CPU is allowed). Maybe it has an issue with using the CPU if the size of the image is too big for the GPU???
More informations :
-If I remove elements (since the image exceeds the capacity of my GPU), the scene is rendered if I allow only the GPU
-If I allow only the CPU, the complete scene is rendered.
It's only if I allow both the GPU and the CPU that the scene isn't rendered. So, it seems indeed that DAZ has an issue with switching from the GPU to the CPU when the GPU capacity is exceeded. Would anybody know how this issue could be solved?
It simply says that you are running out of memory on your GPU.
How much normal RAM in your computer?
And have you disabled fallback to CPU?
8 Mb of RAM
And to my knowledge, I didn't disable fallback to CPU. How can I verify it?
In your render settings > advanced.
But with 8 GB, it is possible that you also are running out of normal memory.
What happens if you render a simple scene, like a primitive?
No problem with that. I bought the computer rather recently, and did only some simple renders on it without any issue. I think today was the first time I did a scene that was exceeding the capacity of the GPU.
And yes, the switching is enabled in render setting/advanced. Currently I'm rendering with the CPU only allowed, and I've no problem. It seems indeed that the problem only appears when I allow the GPU and render a scene that exceeds its capacity. As far as I can tell, DAZ seems unable to switch from one to the other.
Also :my previous computer also had only 8 Gb RAM, and I didn't have this kind of problem. Especially with a scene that, though it exceeds my GPU capacity, isn't that big.