Planetside Software Forums

Support => Terragen Support => Topic started by: aokcub on September 22, 2020, 09:15:59 AM

Title: CPU Usage Decreasing while pre-pass
Post by: aokcub on September 22, 2020, 09:15:59 AM
Though there are some topics relating to the CPU usage but this may be another one...

With v4.5.42.f, the CPU usage gradually decreases while pre-pass and finally goes to 20-30% (though pre-pass progress is <10%, see the first screen shot)
I don't experience this with v4.4.67. (see the second screen shot)
v4524f.jpgv4467.jpg

Does anyone have any idea on this? I'll put tgd for investigation.
cpuusage_r1.tgd

Configuration
Ryzen 3950X
DDR4-2666 128GB RAM
Windows 10 Pro x64 (clean-installed prior to testing)

Troubleshooting
No difference between standard camera and spherical camera (but a point of decreasing is slightly late when standard camera is used)
The issue occurs with the scene that doesn't contain v3 cloud.
The issue is not solved unchecking bucket size auto reduction.
Title: Re: CPU Usage Decreasing while pre-pass
Post by: WAS on September 22, 2020, 12:38:45 PM
I haven't noticed the pre-pass being slow but PT renders are really bad when they do close terrain. Takes forever. Even without shadows. I'll still have 12 buckets going but they will be chugging for 10+ hours compared to the rest of the whole image done in a couple
Title: Re: CPU Usage Decreasing while pre-pass
Post by: Matt on September 23, 2020, 08:42:16 AM
I'm seeing reduced CPU usage on my machine too, but not as much as in your graph. I will look into it.
Title: Re: CPU Usage Decreasing while pre-pass
Post by: aokcub on September 23, 2020, 09:34:42 AM
Thank you, Matt.

I shared the scene file with A4size (3960X) and he observed same behavior, but with another scene, his machine runs normally.
I wonder what happened.
Title: Re: CPU Usage Decreasing while pre-pass
Post by: Matt on September 23, 2020, 12:26:07 PM
The culprit is "Better cache radius" in the atmosphere. It's automatically enabled when you load a scene into v4.5.38+, but you can turn it off and the speed should return to normal. I'll figure out why it's causing this slowdown and try to fix it for future builds.
Title: Re: CPU Usage Decreasing while pre-pass
Post by: aokcub on September 24, 2020, 07:27:42 AM
Yes, now it's working well.

Thank you for the quick support!