How can I free up more VRAM? 2 GPUs wasted? - log attached

2022-04-26 22:55:51.077 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering with 2 device(s):

2022-04-26 22:55:51.077 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : CUDA device 1 (NVIDIA GeForce RTX 3080)

2022-04-26 22:55:51.077 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 3080)

2022-04-26 22:55:51.077 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering...

2022-04-26 22:55:51.078 Iray [INFO] - IRAY:RENDER ::   1.25  IRAY   rend progr: CUDA device 0 (NVIDIA GeForce RTX 3080): Processing scene...

2022-04-26 22:55:51.078 Iray [INFO] - IRAY:RENDER ::   1.21  IRAY   rend progr: CUDA device 1 (NVIDIA GeForce RTX 3080): Processing scene...

2022-04-26 22:55:51.962 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00255 iterations after 691.430s.

2022-04-26 22:55:52.470 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER ::   1.16  IRAY   rend error: Unable to allocate 7.990 GiB from 4.932 GiB of available device memory

2022-04-26 22:55:52.471 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER ::   1.25  IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 3080): Scene setup failed

2022-04-26 22:55:52.471 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER ::   1.25  IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 3080): Device failed while rendering

2022-04-26 22:55:52.471 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [WARNING] - IRAY:RENDER ::   1.25  IRAY   rend warn : CUDA device 0 (NVIDIA GeForce RTX 3080) ran out of memory and is temporarily unavailable for rendering.

2022-04-26 22:55:52.703 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER ::   1.23  IRAY   rend error: Unable to allocate 7.990 GiB from 4.542 GiB of available device memory

2022-04-26 22:55:52.703 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER ::   1.21  IRAY   rend error: CUDA device 1 (NVIDIA GeForce RTX 3080): Scene setup failed

2022-04-26 22:55:52.704 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER ::   1.21  IRAY   rend error: CUDA device 1 (NVIDIA GeForce RTX 3080): Device failed while rendering

2022-04-26 22:55:52.704 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [WARNING] - IRAY:RENDER ::   1.21  IRAY   rend warn : CUDA device 1 (NVIDIA GeForce RTX 3080) ran out of memory and is temporarily unavailable for rendering.

2022-04-26 22:55:52.732 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [WARNING] - IRAY:RENDER ::   1.21  IRAY   rend warn : All available GPUs failed.

2022-04-26 22:55:52.732 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [WARNING] - IRAY:RENDER ::   1.21  IRAY   rend warn : No devices activated. Enabling CPU fallback.

2022-04-26 22:55:52.732 [WARNING] :: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(367): Iray [ERROR] - IRAY:RENDER ::   1.21  IRAY   rend error: All workers failed: aborting render

2022-04-26 22:55:52.745 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : CPU: using 12 cores for rendering

2022-04-26 22:55:52.745 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering with 1 device(s):

2022-04-26 22:55:52.745 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : CPU

2022-04-26 22:55:52.745 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering...

2022-04-26 22:55:52.746 Iray [INFO] - IRAY:RENDER ::   1.21  IRAY   rend progr: CPU: Processing scene...

2022-04-26 22:55:52.746 Iray [INFO] - IRAY:RENDER ::   1.21  IRAY   rend info : CPU: Scene processed in 0.000s

2022-04-26 22:55:52.763 Iray [INFO] - IRAY:RENDER ::   1.21  IRAY   rend info : CPU: Allocated 158.203 MiB for frame buffer

2022-04-26 22:55:55.330 Iray [INFO] - IRAY:RENDER ::   1.21  IRAY   rend info : Allocating 1-layer frame buffer

2022-04-26 22:55:55.372 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00256 iterations after 694.827s.

2022-04-26 22:55:58.122 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00257 iterations after 697.576s.

2022-04-26 22:56:03.402 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00259 iterations after 702.857s.

2022-04-26 22:56:13.289 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00263 iterations after 712.743s.

2022-04-26 22:56:33.713 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00271 iterations after 733.168s.

Can anyone explain to me how DAZ calculates VRAM. RTX 3080 has 10GB of VRAM, I understand that in non-SLI, 2 GPUs dont = 20GB? or is that principle different for Daz rendering ?

Previously I did not tick CPU as it usually gets 82c and that is uncomfortable for a CPU.

I have a scene with 3 G8Fs (Cleopatra, Kala and Khesmit). I cannot get this to render using GPU(s).

Is my scene really filling up 10GB of VRAM? but I checked using HWInfo and noticed that Daz never really sees/uses the full 10,240MB -- why is that?

 

Side-Q: I feel like I wasted efforts into getting a system with 2 GPUs if my scenes dont even render using GPU, what exactly is the point of the GPU in Daz ? I barely see ANY activity using HWInfo, when Daz faults over to CPU rendering.

 

sorry for the large quote.

Comments

  • PerttiAPerttiA Posts: 10,024

    How high have you set SubD for your figures, their hair and clothing? What else is in the scene?

    In general the OS, DS and the base load of the scene takes maybe 3GB's of VRAM, about a gigabyte more if using a GTX card.
    Two 10GB cards don't add up, but the available VRAM is just 10GB minus the base load.

  • HyeVltg3HyeVltg3 Posts: 87
    edited April 2022

    PerttiA said:

    How high have you set SubD for your figures, their hair and clothing? What else is in the scene?

    I was initially using SubD4 and reduced it to 1, but still it would not render on GPU even though it states the needed GB is less than the 10GB total I have. Right?

    PerttiA said:

    In general the OS, DS and the base load of the scene takes maybe 3GB's of VRAM, about a gigabyte more if using a GTX card.
    Two 10GB cards don't add up, but the available VRAM is just 10GB minus the base load.

    Is there any reason as to why my second GPU has over 1GB of VRAM in use (visible through HWInfo), both cards have different sizes, I would have assumed it would be identical or 0MB

    Post edited by Richard Haseltine on
  • IceCrMnIceCrMn Posts: 2,129

     rend error: Unable to allocate 7.990 GiB from 4.932 GiB of available device memory

    Something is using about half of your VRAM before iray tries to use it.

     

  • PerttiAPerttiA Posts: 10,024

    HyeVltg3 said:

    PerttiA said:

    How high have you set SubD for your figures, their hair and clothing? What else is in the scene?

    I was initially using SubD4 and reduced it to 1, but still it would not render on GPU even though it states the needed GB is less than the 10GB total I have. Right?

    PerttiA said:

    In general the OS, DS and the base load of the scene takes maybe 3GB's of VRAM, about a gigabyte more if using a GTX card.
    Two 10GB cards don't add up, but the available VRAM is just 10GB minus the base load.

    Is there any reason as to why my second GPU has over 1GB of VRAM in use (visible through HWInfo), both cards have different sizes, I would have assumed it would be identical or 0MB

    As I explained, you don't have 10GB's available for rendering on either card, W10 eats 1GB to start with on both, not that it needs it but just because Microsoft has made a desicion to reserve it. then there's DS taking some and the scene taking some.

    If the scene doesn't render on GPU at SubD 1, you still have figures and items on the scene that take too much. If you have checked all the items on the scene for SubD and taken them down to 1, you need to start looking at the size and number of textures and maps on the surfaces of the figures and items. The file size of the images is of no importance, it is the pixel size and number of the textures.

    One 8192x8192x24bit image will take 192MB's of memory when loaded to a surface, if that surface has same size maps for whatever, the memory usage is multiplied with the number of images. A surface with a texture and four maps at 8192x8192x24bit, will take almost a gigabyte of memory.

    Iray does use compression, but the amount depends on the settings you use. The default settings take memory usage down to about a half, so if an image takes 192MB's of memory, it needs 96MB's of VRAM when rendering Iray on the GPU, and that is just one image.

    Strand based hair is also notorious for using huge amounts of VRAM, some less and others a lot more (way much more).

    Delete figures and/or items from the scene to see, at which point the scene starts rendering on GPU.

Sign In or Register to comment.