Denoiser slowing down rendering?

Forums: Denoiser slowing down rendering?
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

Denoiser slowing down rendering?

Postby Andreas_Resch » Mon May 22, 2023 6:18 am

Andreas_Resch Mon May 22, 2023 6:18 am
I did a few render tests using the PMC kernel to check the differences. Render speed is slower as expected. However, when the Denoiser is checked (Camera Imager), the render speed really goes down. Without Denoiser ON I'm at about 6Ms/sec. With the Denoiser ON, it goes down to about 1.5Ms/sec, which is significant. There's an older thread discussing the issue, but it's suspected, that GPU memory might be the issue. But from what I can see, that's no problem in my case. Any information why that could happen?
Andreas_Resch
 
Posts: 268
Joined: Sat Jul 28, 2018 6:29 am

Re: Denoiser slowing down rendering?

Postby J.C » Tue May 23, 2023 6:28 pm

J.C Tue May 23, 2023 6:28 pm
It's not memory issue. Unfortunately this is how it works and you have to live with this until new improved denoiser is available sometime with version 2023.2 or newer.
My suggestion is to disable denoiser when workin on a scene and enable it on during render time if you need it.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1723
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Denoiser slowing down rendering?

Postby J.C » Tue May 23, 2023 6:30 pm

J.C Tue May 23, 2023 6:30 pm
You can also use Blender's Intel open denoiser using compositor which does not slow down rendering.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1723
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Denoiser slowing down rendering?

Postby grimm » Tue May 23, 2023 7:03 pm

grimm Tue May 23, 2023 7:03 pm
Not a solution, just an observation. The PMC kernel works differently than the other kernels. You get fewer samples per second usually, but those samples do more work, so the convergence happens about the same time. The denoiser might be taking resources from the PMC kernel which doesn't effect the other kernels?

Jason
Linux Mint 20 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 460.56
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1321
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Re: Denoiser slowing down rendering?

Postby J.C » Tue May 23, 2023 7:14 pm

J.C Tue May 23, 2023 7:14 pm
When using PMC kernel the denoiser won't work. It's better to use Photon Tracing kernel which gives you similar results faster and can be denoised.
Generally enabling denoiser in any enabled kernels will slow down rendering maximum up two 2 times.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1723
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Denoiser slowing down rendering?

Postby Andreas_Resch » Tue May 23, 2023 7:49 pm

Andreas_Resch Tue May 23, 2023 7:49 pm
Hmm. But if the Denoiser won't work with PMC, why is the render throughput so much lower when it's enabled?
Andreas_Resch
 
Posts: 268
Joined: Sat Jul 28, 2018 6:29 am

Re: Denoiser slowing down rendering?

Postby J.C » Tue May 23, 2023 10:14 pm

J.C Tue May 23, 2023 10:14 pm
No idea. Could be a bug or something.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1723
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Denoiser slowing down rendering?

Postby Andreas_Resch » Wed May 24, 2023 7:03 am

Andreas_Resch Wed May 24, 2023 7:03 am
I did a few more tests. And indeed, PMC doesn't seem to work with Denoiser. I wasn't aware of that. So I did some comparisons with Denoiser ON and OFF for both Path Tracing and PMC.

The times are taken after all the samples are calulated BEFORE the actual denoiser kicks in.

Path Tracing
DN OFF ... 48sec
DN ON ... 60sec

PMC
DN OFF ... 1m 30sec
DN ON ... 6m 36sec (more than 4x longer)

So the Denoiser seems to add time while calculating the samples. From the tests I did with Path Tracing, it might be around 20%. However with PMC, the times are significantly longer even if the Denoiser will not be used eventually. So that must be a bug.

One more thing that I've seen. Even when all the Denoiser checkboxes are OFF but the Denoiser Beauty pass is checked, the "denoising..." message appears in the status line (although the this pass will not be saved out). Maybe something to take care of as well.

@JC ... I've also tested the Blender denoisers (including the SuperImageDenoiser addon) on the PMC results and they aren't great. I might get better results with some denoising in Photoshop. But it was worth a try.
Andreas_Resch
 
Posts: 268
Joined: Sat Jul 28, 2018 6:29 am

Re: Denoiser slowing down rendering?

Postby frankmci » Thu May 25, 2023 2:22 pm

frankmci Thu May 25, 2023 2:22 pm
I think this is a known problem they are working on. Search the last few weeks of forum posts an you should find some discussion of it.
Technical Director - C4D, Maya, AE, - Washington DC
frankmci
Licensed Customer
Licensed Customer
 
Posts: 827
Joined: Fri May 26, 2017 2:00 pm

Return to Blender


Who is online

Users browsing this forum: No registered users and 28 guests

Thu Apr 25, 2024 5:10 am [ UTC ]