After about 1000 frames, DAZ/Iray rendering is SUDDENLY dropping renderspeed to 20%. Restart helps.

ABLAGEFACH5ABLAGEFACH5 Posts: 32

It happened like 3 times now with "overnight" renders. 

After about 1000 frames SUDDENLY DAZ slows down by a big amount. Only 20% speed.

I woke up, restarted DAZ and continued where I left off,...back to 100%.

Memory is not a problem, RAM used 7/16 GB. Using GPU only. Rendering Image series. Temps are totally fine everywhere, pretty cool. No lights in scene, no moving BIG parts, just basic breathing, blinking /expressions test. No Cam movement. So basically all stays nearly same. Only basic figure,...no cloth nothing...so VRAM should also not be the cause. GTX 2080.

Forgot to check if it fell back to "CPU only" but 95% sure it's not the case since my cooling would become louder, and I would have realized it. Also, I did set up an alarm, that wakes me if it falls back to CPU.

Next time I will check the log.

 

Seems I am not the only one with that problem.

https://www.daz3d.com/forums/discussion/165256/renders-go-slower-and-slower-why

 

This is kinda upsetting because when I wanna render really long animations, I cannot let him render for more than 6-8 hours without restart.

The problem must be internal/memory related. But no obvious memory leak, since Memory system usage always stays at 7/16GB....strange.

Anyone can shed a light?

 

 

Post edited by ABLAGEFACH5 on

Comments

  • It probably is dropping to CPU, there does seem to be a slight memory leak in Iray - the log should tell you, if you scroll back.

  • ABLAGEFACH5ABLAGEFACH5 Posts: 32
    edited January 2019

    Yeah forgot to check. Log already is overwritten. How people solve this problem? People don't make big projects, that they let render for like 20 hours? Impossible to make a big animation this way, and just press render and come back 24 hours later, or even 2-3 days later.

    If no solution, only thing would be to write script, that renders 1000 frames, automatically closes DAZ, open again and resumes 1000-2000....and so on...

    possible with internal script language? close/open/load project...setting render settings(framerange/rest is already like last start)..start render. Check/if finish.

     

    IF not I do it with autoit or something.

    Post edited by ABLAGEFACH5 on
  • Daz simply isn't made for these sorts of animations. I know that isn't the answer you want but its the truth.

  • Richard HaseltineRichard Haseltine Posts: 102,745
    edited January 2019

    You could try writing a script or batch file to split the job and give DS/Iray a chnace to clean up between. You could also, if you aren't, try the 4.11 Public Beta - I have a recollection that there was soemthing about a memory leak being fixed in one of the applicable Iray change logs. Edit: having checked, I'm not sure how relevant any of them are here but they do exist so I would certainly think it's worth trying the beta if you are currently on 4.10.0.123

    Post edited by Richard Haseltine on
  • You could try writing a script or batch file to split the job and give DS/Iray a chnace to clean up between. You could also, if you aren't, try the 4.11 Public Beta - I have a recollection that there was soemthing about a memory leak being fixed in one of the applicable Iray change logs. Edit: having checked, I'm not sure how relevant any of them are here but they do exist so I would certainly think it's worth trying the beta if you are currently on 4.10.0.123

    I have beta already. GTX 2080..need to have. According to the other posts in other thread, it's prob caused by VRAM leak,..that's why system Ram stays same. I have not looked to internal script language yet,...is it C(++)? I think so. Have not used C for 10 years. Will take me some time. anyone knows a script as starting reference....like clearing memory,...and scripts example that starts renders, change settings?(framerange). Then maybe no need to restart daz, if that works. 

    And a general question. Iray is really beautiful, any other animation programs that use iray? Would be easy to get maya student license, but only arnold. Maybe I have no choice learning that in long run, and just drop iray.

     

  • Sven DullahSven Dullah Posts: 7,621

    Daz simply isn't made for these sorts of animations. I know that isn't the answer you want but its the truth.

    That's an Iray "feature", not a DS problem, and that's the truth.

  • Sven DullahSven Dullah Posts: 7,621

    Daz simply isn't made for these sorts of animations. I know that isn't the answer you want but its the truth.

    That's an Iray "feature", not a DS problem, and that's the truth.

    ETA: But yeah, animation in DS works well with 3DL for hobbyists like me, if you want to do it professionally, you need to look at other softwares etc;)

  • Sven DullahSven Dullah Posts: 7,621

    You could try writing a script or batch file to split the job and give DS/Iray a chnace to clean up between. You could also, if you aren't, try the 4.11 Public Beta - I have a recollection that there was soemthing about a memory leak being fixed in one of the applicable Iray change logs. Edit: having checked, I'm not sure how relevant any of them are here but they do exist so I would certainly think it's worth trying the beta if you are currently on 4.10.0.123

    I have beta already. GTX 2080..need to have. According to the other posts in other thread, it's prob caused by VRAM leak,..that's why system Ram stays same. I have not looked to internal script language yet,...is it C(++)? I think so. Have not used C for 10 years. Will take me some time. anyone knows a script as starting reference....like clearing memory,...and scripts example that starts renders, change settings?(framerange). Then maybe no need to restart daz, if that works. 

    And a general question. Iray is really beautiful, any other animation programs that use iray? Would be easy to get maya student license, but only arnold. Maybe I have no choice learning that in long run, and just drop iray.

     

    Not able to help with scripting, just want to offer the easiest and most obvious solution;) Render shorter sequenses, you still have to edit your clips in a video editor, anyway:)

  • ABLAGEFACH5ABLAGEFACH5 Posts: 32
    edited January 2019

    You could try writing a script or batch file to split the job and give DS/Iray a chnace to clean up between. You could also, if you aren't, try the 4.11 Public Beta - I have a recollection that there was soemthing about a memory leak being fixed in one of the applicable Iray change logs. Edit: having checked, I'm not sure how relevant any of them are here but they do exist so I would certainly think it's worth trying the beta if you are currently on 4.10.0.123

    I have beta already. GTX 2080..need to have. According to the other posts in other thread, it's prob caused by VRAM leak,..that's why system Ram stays same. I have not looked to internal script language yet,...is it C(++)? I think so. Have not used C for 10 years. Will take me some time. anyone knows a script as starting reference....like clearing memory,...and scripts example that starts renders, change settings?(framerange). Then maybe no need to restart daz, if that works. 

    And a general question. Iray is really beautiful, any other animation programs that use iray? Would be easy to get maya student license, but only arnold. Maybe I have no choice learning that in long run, and just drop iray.

     

    Not able to help with scripting, just want to offer the easiest and most obvious solution;) Render shorter sequenses, you still have to edit your clips in a video editor, anyway:)

    That's not the point. Point is NOT to have to BABYSIT. And do other stuff/leave house, while things get rendered.

    Using other progs, does not let me use IRAY....I simply love it so far. That's why I am bothering with DAZ in first place. Also, I read that exporting/importing is quite difficult especially with morphs and stuff.

    Anyway I know, that there is no easy solution, and I will write a script, that restarts DAZ automatically, and render smaller parts.

     

    Post edited by ABLAGEFACH5 on
  • Not sure you can script Daz to shut itself down and restart.

  • Not sure you can script Daz to shut itself down and restart.

    Well, If you break it down like that, it sounds pretty stupid. lol

    I will do it externally. I even don't need fixed ranges like 0-1000 frames. I will monitor output directory, calculate the average time DAZ took for every frame, and when DAZ takes 20% longer for more than 1 frame, it restarts DAZ and continues where it stopped. Should be pretty easy.

Sign In or Register to comment.