DAZ Studio 4.23 Stops Applying Denoise Filter After Rendering Five Frames

I'm running DS 4.23 and have denoise filter on for my renders.  When I set it to render out to an image sequence of .png files, it will render out 5 frames with the denoise filter applied but then the 6th and subsequent frames will have lots of noise like DS forgot to apply the denoise filters before saving to .png file.   I have to close DS and start it back up and reload the scene each time I want to render the next 5 frames without noise.  What is causing this and how do I fix it? 

Comments

  • frank0314frank0314 Posts: 14,054

    Have you checked your log to see what's going on during the process? What kind of GPU do you have? How much VRAM does it have? What version driver are you using?

  • RTX 2060 with 6GB VRAM with Nvidia driver 566.03 game ready version. 

    Here are some lines from the log.

     

    2024-11-03 00:37:30.794 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [WARNING] - IRAY:RENDER ::   1.15  IRAY   rend warn : CUDA device 0 (NVIDIA GeForce RTX 2060): Failed to allocate 23.731 MiB for (device) frame buffer, will try allocating smaller (partial) frame buffer
    2024-11-03 00:37:30.794 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [WARNING] - IRAY:RENDER ::   1.15  IRAY   rend warn : CUDA device 0 (NVIDIA GeForce RTX 2060): Failed to allocate 11.866 MiB for (device) frame buffer, will try allocating smaller (partial) frame buffer
    2024-11-03 00:37:30.796 Iray [INFO] - IRAY:RENDER ::   1.15  IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 2060): Allocated 5.933 MiB for device frame buffer
    2024-11-03 00:37:30.802 Iray [INFO] - IRAY:RENDER ::   1.15  IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 2060): Allocated 23.731 MiB for host-side frame buffer
    2024-11-03 00:37:30.802 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [WARNING] - IRAY:RENDER ::   1.15  IRAY   rend warn : CUDA device 0 (NVIDIA GeForce RTX 2060): Succeeded in allocating partial device frame buffer. Device efficiency will be affected.
    2024-11-03 00:37:30.803 Iray [INFO] - IRAY:RENDER ::   1.15  IRAY   rend info : CUDA device 0 (NVIDIA GeForce RTX 2060): Allocated 2.033 GiB of work space (1988k active samples in 0.000s)
    2024-11-03 00:37:31.126 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - IRAY:RENDER ::   1.1   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 2060): Tail kernel failed after 0.200s
    2024-11-03 00:37:31.127 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - IRAY:RENDER ::   1.1   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 2060): an illegal memory access was encountered (while launching CUDA renderer in <internal>:682)
    2024-11-03 00:37:31.127 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - IRAY:RENDER ::   1.1   IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 2060): Failed to launch renderer
    2024-11-03 00:37:31.127 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - IRAY:RENDER ::   1.15  IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 2060): Device failed while rendering
    2024-11-03 00:37:31.127 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [WARNING] - IRAY:RENDER ::   1.15  IRAY   rend warn : CUDA device 0 (NVIDIA GeForce RTX 2060) is no longer available for rendering.
    2024-11-03 00:37:31.130 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - OPTX:RENDER ::   1.15  OPTX   rend error: Error synching on OptixPipeline event (CUDA error string: an illegal memory access was encountered, CUDA error code: 700)
    2024-11-03 00:37:31.134 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - IRAY:RENDER ::   1.15  IRAY   rend error: optixPipelineDestroy(pop_ptr(m_pipeline)) failed: CUDA error


    2024-11-03 00:37:31.142 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - IRAY:RENDER ::   1.15  IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 2060): an illegal memory access was encountered (while de-allocating memory)
    2024-11-03 00:37:31.142 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - IRAY:RENDER ::   1.15  IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 2060): an illegal memory access was encountered (while de-allocating memory)
    2024-11-03 00:37:31.143 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - IRAY:RENDER ::   1.15  IRAY   rend error: CUDA device 0 (NVIDIA GeForce RTX 2060): an illegal memory access was encountered (while de-allocating memory)


    2024-11-03 00:37:33.871 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - POST:RENDER ::   1.0   POST   rend error: CUDA check failed: an illegal memory access was encountered at render_target_cuda.cpp:26
    2024-11-03 00:37:33.873 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [ERROR] - POST:RENDER ::   1.0   POST   rend error: Exception during postprocessing: an illegal memory access was encountered.
    2024-11-03 00:37:33.873 Iray [INFO] - POST:RENDER ::   1.0   POST   rend info : Postprocessing will fall back to CPU.
    2024-11-03 00:37:33.873 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(373): Iray [WARNING] - POST:RENDER ::   1.0   POST   rend warn : denoiser is not available on CPU and will be disabled.

  • felisfelis Posts: 4,327

    Essentially, you are running out of VRAM, so your GPU can't be used. And denoiser can only be used on GPU.

    Try if you can reduce the load, e.g. by reducing texture sizes. You can do it manually or use something like https://www.daz3d.com/scene-optimizer

    Also check that your subD level are low. I would say max 1-2. Also you can hide objects not in view of the camera.

    But 6 GB is limited and you will easily run into problems where the GPU will not ba able to handle it.

  • Why can't DS free up the memory?  There's got to be some way to clear the memory without me having to shut down DS and relaunching it again.  

  • Richard HaseltineRichard Haseltine Posts: 100,882

    superlativecg said:

    Why can't DS free up the memory?  There's got to be some way to clear the memory without me having to shut down DS and relaunching it again.  

    This is an Iray limitation, as far as I know.

  • Michal P.Michal P. Posts: 77

    From my experience, there is memory leak in DAZ 4.23.0.1 with NVIDIA driver 565.90 when doing IRay render. I have 24 GB VRAM and I have to restart DAZ after about 300 rendered frames. Each IRay render eats a bit of VRAM and the VRAM is totaly full after about 300 frames. Because you have much smaller VRAM you get out of VRAM sooner.

Sign In or Register to comment.