iray preview works fine, but render results black

Today render, there have been many such problems, help.
I used IRAY slicing and didn't have any problems with the IRAY preview, but once it started rendering, it didn't take long to end, giving me an all-black screen result.

 

txt
txt
log.txt
5M

Comments

  • LeanaLeana Posts: 11,714

    According to the log your card ran out of VRAM:

    2024-07-01 20:36:25.563 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.1   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4060 Ti): Not enough memory to allocate work space.
    2024-07-01 20:36:25.564 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.1   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4060 Ti): Device failed while rendering
    2024-07-01 20:36:25.564 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [WARNING] - IRAY:RENDER ::   1.1   IRAY   rend warn : CUDA device 0 (NVIDIA GeForce RTX 4060 Ti) ran out of memory and is temporarily unavailable for rendering.

     Did you switch off Iray preview before rendering?

  • kyoreonakyoreona Posts: 176

    Leana said:

    According to the log your card ran out of VRAM:

    2024-07-01 20:36:25.563 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.1   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4060 Ti): Not enough memory to allocate work space.
    2024-07-01 20:36:25.564 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER ::   1.1   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 4060 Ti): Device failed while rendering
    2024-07-01 20:36:25.564 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [WARNING] - IRAY:RENDER ::   1.1   IRAY   rend warn : CUDA device 0 (NVIDIA GeForce RTX 4060 Ti) ran out of memory and is temporarily unavailable for rendering.

     Did you switch off Iray preview before rendering?

    I'm sure I've turned off IRAY Preview. I looked for possible problems myself. I have two monitors, one main monitor plugged into a video card slot; A secondary monitor plugs into a slot on the motherboard.
    I just disconnected the secondary monitor and restarted the computer, so far rendering is normal again.
    I wonder if this sub-monitor is the problem. 

  • PerttiAPerttiA Posts: 10,024

    According to your log, your scene uses around 19GB's of RAM for the textures in the scene and if using default Iray compression settings, that would take about 9GB's of VRAM.
    The base load from Windows, DS, the scene and the necessary working space is around 4GB's of VRAM
    That would leave just 3GB's of VRAM for all the geometry in the scene and there appears to be also an object with 83 million triangles... 

    You are just running out of VRAM

    If you use Iray preview, that may claim part of VRAM for itself, so before rendering change to Texture Shaded preview, save the scene, restart DS, load the scene and render (without activating Iray preview)

  • kyoreonakyoreona Posts: 176
    PerttiA said:

    According to your log, your scene uses around 19GB's of RAM for the textures in the scene and if using default Iray compression settings, that would take about 9GB's of VRAM.
    The base load from Windows, DS, the scene and the necessary working space is around 4GB's of VRAM
    That would leave just 3GB's of VRAM for all the geometry in the scene and there appears to be also an object with 83 million triangles... 

    You are just running out of VRAM

    If you use Iray preview, that may claim part of VRAM for itself, so before rendering change to Texture Shaded preview, save the scene, restart DS, load the scene and render (without activating Iray preview)

    Thank you. I see. I thought with 16 gigabytes I could do whatever I wanted.
  • PerttiAPerttiA Posts: 10,024

    kyoreona said:

    PerttiA said:

    According to your log, your scene uses around 19GB's of RAM for the textures in the scene and if using default Iray compression settings, that would take about 9GB's of VRAM.
    The base load from Windows, DS, the scene and the necessary working space is around 4GB's of VRAM
    That would leave just 3GB's of VRAM for all the geometry in the scene and there appears to be also an object with 83 million triangles... 

    You are just running out of VRAM

    If you use Iray preview, that may claim part of VRAM for itself, so before rendering change to Texture Shaded preview, save the scene, restart DS, load the scene and render (without activating Iray preview)

    Thank you. I see. I thought with 16 gigabytes I could do whatever I wanted.

    16GB's is a generous amount of VRAM, but one still has to keep an eye on what is loaded in the scene - It doesn't need but a one badly made item to bring down even the most powerful computers.
    The item can even be something that doesn't look that heavy... A pair of boots or ear rings with insanely dense geometry, a small animal, a gun... Something one doesn't even necessarily notice in the picture.

Sign In or Register to comment.