Itoo Software Forum

Author Topic: Slow rendering - multiple frames  (Read 45330 times)

RealViz

  • Sr. Member
  • ****
  • Posts: 448
    • RealViz
Slow rendering - multiple frames
« on: June 07, 2024, 02:38:29 pm »
Hello,
I'm trying FP 9.0.1 again, and I tried it on an older, larger scene. There's about 10xFP (grass, cars, bushes, trees...) and the first frame is rendered at standard FP8 speed. Each subsequent frame is slower. At about the third frame, even after 15min, Pass1 (V-ray) doesn't run out.
There is no animation of FP or other objects. Only camera animation (change of view).

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4683
    • iToo Software
Re: Slow rendering - multiple frames
« Reply #1 on: June 10, 2024, 12:41:36 pm »
Hi, perhaps this problem is related with the other post, because the bug would cause a mess in V-Ray.

With this bug fixed (in our internal build), i just rendered 100 frames from one of our tutorials, and everything seems correct. No delays, crashes or memory leaks.
Once we release next FP beta, please test it again. If problem continues, we'll investigate further.

Thanks,
Carlos Quintero
iToo Software

RealViz

  • Sr. Member
  • ****
  • Posts: 448
    • RealViz
Re: Slow rendering - multiple frames
« Reply #2 on: June 12, 2024, 06:08:30 am »
Thank you, I have the scene backuped in backburner and I'll try to resend it for a few rendernode.

RealViz

  • Sr. Member
  • ****
  • Posts: 448
    • RealViz
Re: Slow rendering - multiple frames
« Reply #3 on: June 14, 2024, 06:41:13 am »
I tried the new beta 9.0.2 and unfortunately everything is the same. I'll try to find out what's causing it and post a simplified scene.
Edit:
it seems to be a memory problem. Each additional frame takes up significantly more memory than FP 8. But I'm looking further.
« Last Edit: June 14, 2024, 07:46:35 am by RealViz »

RealViz

  • Sr. Member
  • ****
  • Posts: 448
    • RealViz
Re: Slow rendering - multiple frames
« Reply #4 on: June 14, 2024, 03:29:53 pm »
Hello,
I'm sending a scene via wetransfer where the rendering slows down considerably on 3. frame of the animation. Even the computation of the LightCache itself is about 8x longer compared to FP8. I send the scene via backburner by default.
In two minutes of rendering there is only "pass 2" at FP9 and "pass 28" on FP8. However, it does not apply to the first frame, which is usually as fast as FP8.

Edit:
link deleted, contains paid models
link send via e-mail on helpdesk@itoo

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4683
    • iToo Software
Re: Slow rendering - multiple frames
« Reply #5 on: June 15, 2024, 08:11:11 am »
Many thanks. We'll check it.
Carlos Quintero
iToo Software

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4683
    • iToo Software
Re: Slow rendering - multiple frames
« Reply #6 on: June 18, 2024, 11:30:17 am »
Thanks for the files. Unfortunately we're unable to reproduce the problem here.
We used FP 9.0.2, latest V-Ray 6, Max 2024 and 2025. We checked 3dsmax.exe memory as well, and it seems stable (about 15 Gb. RAM)

Please, try this:

- Open the test scene in your local workstation.
- Set a lower resolution and passes (so render test doesn't take forever).
- Open Windows Task manager->Details, to check memory used by 3dsmax.exe.
- Launch render, and check if problem is reproducible as using Backburner. Check memory consumption as well.

By the way, what V-Ray version do you use ?

Carlos Quintero
iToo Software

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4683
    • iToo Software
Re: Slow rendering - multiple frames
« Reply #7 on: June 18, 2024, 11:47:17 am »
One more thing: if problem occurs rendering locally, try setting this value in forestpack.ini (at C:\Users\<user name>\AppData\Local\Autodesk\3dsmax\<max version>\ENU\en-US\plugcfg):

samplesCacheLimit=0

It's necessary to restart 3DS Max to take effect.

If you want, you can change this in your Backburner node as well, to see if there is any difference.
« Last Edit: June 18, 2024, 11:49:31 am by iToo »
Carlos Quintero
iToo Software

RealViz

  • Sr. Member
  • ****
  • Posts: 448
    • RealViz
Re: Slow rendering - multiple frames
« Reply #8 on: June 19, 2024, 07:20:59 am »
Hello,

changing samplesCacheLimit=0 solves the problem and everything runs fast. Both locally and via backburner.
What does this value mean? Won't it affect something else?

Thank you

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4683
    • iToo Software
Re: Slow rendering - multiple frames
« Reply #9 on: June 19, 2024, 08:38:59 am »
Hi,

We added a new feature in FP9, to clean on each frame the cache used to store geometry.
This was necessary specifically for animated objects. If not memory grows until render ends.

Setting samplesCacheLimit=0 just disables it, working as FP8.

For some reason, this cleaning process is affecting the render process.
We'll try again to reproduce the problem here, to identify what is happening exactly.

Carlos Quintero
iToo Software

RealViz

  • Sr. Member
  • ****
  • Posts: 448
    • RealViz
Re: Slow rendering - multiple frames
« Reply #10 on: June 19, 2024, 08:50:52 am »
Thanks, I was looking forward to this feature as well. It's been my experience that animating with FP8 really takes a lot of RAM.
If I can find any more scenes where this appears, I'll send it over so you have more options to explore.

RealViz

  • Sr. Member
  • ****
  • Posts: 448
    • RealViz
Re: Slow rendering - multiple frames
« Reply #11 on: July 01, 2024, 12:22:24 pm »
Hello,
I tried restarting the problematic scene in backburner with FP 9.0.3 and everything seems OK even with samplesCacheLimit=10485760
Thank you
btw. what is the samplesCacheLimit unit? The number "10485760" stands for "b", "kb"? Or e.g. voxels within v-ray?
« Last Edit: July 01, 2024, 12:33:28 pm by RealViz »

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4683
    • iToo Software
Re: Slow rendering - multiple frames
« Reply #12 on: July 01, 2024, 01:10:04 pm »
Hi,
This parameter is defined in bytes. So that's 10 GBytes of cache by default.
Carlos Quintero
iToo Software