When i switch off CPU fallback and CPU for render IRAY showing black screen
Hello guys, as I mentioned in the title, I am faced with a very strange problem. When I render with CPU it is very slow, any help suggestions?
This my options: https://imgyukle.com/i/r15fwc
And here it is my video card LOG
2023-07-25 21:15:42.967 Iray (Scene Update) : Updating LPE labels
2023-07-25 21:15:42.968 Iray (Scene Update) : Updating geometry
2023-07-25 21:15:42.968 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating geometry.
2023-07-25 21:15:42.968 Iray (Scene Update) : Retrieving geometry
2023-07-25 21:15:42.968 Iray (Scene Update) : Updating motion transform data
2023-07-25 21:15:42.968 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating motion transforms.
2023-07-25 21:15:42.968 Iray (Scene Update) : Updating section objects
2023-07-25 21:15:42.969 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Importing scene graph.
2023-07-25 21:15:42.970 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Importing geometry for motion time 0
2023-07-25 21:15:46.978 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Geometry import (1 triangle object with 54 M triangles, 0 fiber objects with 0 fibers (0 segments), 1 triangle instance yielding 54 M triangles, 0 fiber instances yielding 0 segments) took 4.008 s
2023-07-25 21:15:46.978 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating section objects.
2023-07-25 21:15:46.979 Iray (Scene Update) : Updating materials
2023-07-25 21:15:46.979 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating materials.
2023-07-25 21:15:47.618 Iray [INFO] - MATCNV:RENDER :: 1.0 MATCNV rend info : found 265 textures, 0 lambdas (0 unique)
2023-07-25 21:15:47.625 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Computing 2 flux compensation factors took 0.001 s
2023-07-25 21:15:47.625 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Emitter geometry import (54 light sources with 2598 triangles, 1 instance) took 0.002 s
2023-07-25 21:15:47.626 Iray (Scene Update) : Updating volumes
2023-07-25 21:15:47.626 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating volumes.
2023-07-25 21:15:47.626 Iray (Scene Update) : Updating environment
2023-07-25 21:15:47.626 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating environment.
2023-07-25 21:15:48.636 Iray (Scene Update) : Updating lens data
2023-07-25 21:15:48.636 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating lens.
2023-07-25 21:15:48.636 Iray (Scene Update) : Updating lights
2023-07-25 21:15:48.636 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating lights.
2023-07-25 21:15:48.637 Iray (Scene Update) : Updating instance topology
2023-07-25 21:15:48.637 Iray (Scene Update) : Updating flags
2023-07-25 21:15:48.637 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating object flags.
2023-07-25 21:15:48.638 Iray (Scene Update) : Updating backplate
2023-07-25 21:15:48.638 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating backplate.
2023-07-25 21:15:48.638 Iray (Scene Update) : Updating portals
2023-07-25 21:15:48.638 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating caustic portals.
2023-07-25 21:15:48.638 Iray (Scene Update) : Updating decals
2023-07-25 21:15:48.638 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Updating decals.
2023-07-25 21:15:48.652 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Using iray core convergence estimate.
2023-07-25 21:15:48.652 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Allocating 1-layer frame buffer
2023-07-25 21:15:48.656 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Using batch scheduling, caustic sampler disabled
2023-07-25 21:15:48.657 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Initializing local rendering.
2023-07-25 21:15:48.658 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Available GPU memory has increased since out-of-memory failure. Re-enabling CUDA device 0 (NVIDIA GeForce RTX 3060 Laptop GPU)
2023-07-25 21:15:48.661 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Initializing OptiX for CUDA device 0
2023-07-25 21:15:49.588 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Rendering with 1 device(s):
2023-07-25 21:15:49.588 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : CUDA device 0 (NVIDIA GeForce RTX 3060 Laptop GPU)
2023-07-25 21:15:49.588 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Rendering...
2023-07-25 21:15:49.588 Iray [INFO] - IRAY:RENDER :: 1.10 IRAY rend progr: CUDA device 0 (NVIDIA GeForce RTX 3060 Laptop GPU): Processing scene...
2023-07-25 21:15:49.589 Iray (Scene Access) : Retrieving geometry
2023-07-25 21:15:49.589 Iray (Scene Access) : Retrieving device geometry
2023-07-25 21:16:00.343 Iray (Scene Access) : Retrieving volumes
2023-07-25 21:16:00.344 Iray (Scene Access) : Retrieving textures
2023-07-25 21:16:21.452 Iray (Scene Access) : Retrieving device textures
2023-07-25 21:16:22.224 Iray (Scene Access) : Retrieving flags
2023-07-25 21:16:22.225 Iray (Scene Access) : Retrieving device flags
2023-07-25 21:16:22.226 Iray (Scene Access) : Retrieving lights
2023-07-25 21:16:22.237 Iray [INFO] - IRAY:RENDER :: 1.13 IRAY rend info : Importing lights for motion time 0
2023-07-25 21:16:22.242 Iray [INFO] - IRAY:RENDER :: 1.13 IRAY rend info : Initializing light hierarchy.
2023-07-25 21:16:22.269 Iray [INFO] - IRAY:RENDER :: 1.13 IRAY rend info : Light hierarchy initialization took 0.026 s
2023-07-25 21:16:22.271 Iray (Scene Access) : Retrieving device lights
2023-07-25 21:16:22.271 Iray (Scene Access) : Retrieving section objects
2023-07-25 21:16:22.271 Iray (Scene Access) : Retrieving device section objects
2023-07-25 21:16:22.271 Iray (Scene Access) : Retrieving materials
2023-07-25 21:16:22.277 Iray (Scene Access) : Compiling custom code
2023-07-25 21:16:22.277 Iray (Scene Access) : Retrieving environment
2023-07-25 21:16:22.386 Iray (Scene Access) : Retrieving device environment
2023-07-25 21:16:22.483 Iray (Scene Access) : Retrieving backplate
2023-07-25 21:16:22.483 Iray (Scene Access) : Retrieving device backplate
2023-07-25 21:16:22.483 Iray (Scene Access) : Retrieving portals
2023-07-25 21:16:22.484 Iray (Scene Access) : Retrieving decals
2023-07-25 21:16:22.486 Iray (Scene Access) : Retrieving device decals
2023-07-25 21:16:22.489 Iray (Scene Access) : Retrieving motion transform data
2023-07-25 21:16:22.490 Iray (Scene Access) : Retrieving device motion transform data
2023-07-25 21:16:22.490 Iray (Scene Access) : Retrieving lens data
2023-07-25 21:16:22.490 Iray (Scene Access) : Retrieving device lens data
2023-07-25 21:16:22.599 Iray [INFO] - IRAY:RENDER :: 1.10 IRAY rend info : CUDA device 0 (NVIDIA GeForce RTX 3060 Laptop GPU): Scene processed in 33.007s
Comments
How much VRAM does your GPU have?
6gb VRAM, laptop gpu
That is just not enough.
Practical minimum for the latest versions of DS, using relatively recent assets, is 8GB's of VRAM.
What do you suggest I do? Is it useful to reduce 8k things to 4k with the scene optimizer?
This is quite a common issue. When the scene is too big for the VRAM in your card it will fallback to CPU rendering - if you disable this option then there is no choice but to give you empty black nothingness.
You either need to re-enable CPU fallback and wait the extra time, split the image up and render parts in stages and then combine the result in an image editor or use scene optimiser, camera view optimiser, resource saver shaders and/or other methods to reduce the resources required until it can fit in the VRAM of your card.
Alternatively, you can pay for one of the cloud render services I suppose.
One single 8k image takes 192MB's of RAM and with the default Iray compression settings 96MB's of VRAM, a 4k image takes 48MB's of RAM and 24MB's of VRAM.
The baseload from Windows, DS, the scene and the needed "Working Space" are taking about 4GB's of VRAM, which on a 6GB card leaves about 2GB's of VRAM for geometry and textures. That's one G8 figure with clothing and hair (not strand/dforce hair) with very little else in the scene.
Thank you so much guys.
Another tip is to save out your scene when it's ready to render and then shut down DS so it clears its cache and temp files which can also take up your memory. Then restart DS, load your scene and render.
Thank you so much!