DGDenoise

These CUDA filters are packaged into DGDecodeNV, which is part of DGDecNV.
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

I can't believe no-one went :wow: :wow: :wow: over my CUDASynth idea. Just ahead of the times, what can I do?
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

CUDASynth
That would be awesome!
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

How much memory on your GPU, gonca? I'm going to need a power tester for CUDASynth.
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

8 GB of GDDR5
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

Sweet, how many CUDA cores?

I tried to play with core clock but it was too unstable and didn't give much improvement.
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

1920 cuda cores

Cuda is scalable through SLI is it not?
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

Perhaps, but we don't need SLI to use multiple GPUs. We would expect CUDASynth to handle it transparently.
User avatar
tormento
Moose Approved
Posts: 343
Joined: Mon Sep 20, 2010 2:18 pm

Re: About DGDenoise

Post by tormento »

admin wrote:I haven't decided the exact temporal denoising to be implemented [thank you for pointing out TemporalSoften()], but it will surely be done with additional parameters and not by adding a new filter.
As first iteration, get a look to KNLMeansCL source and just kick in the temporal part. I am curious to see speed.

And, please, give us more parameters to play with frame span, noise window, etc :bow:
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

Greetings tormento.

Good advice, thanks. I'll have a look. I don't know if it uses a full 3D NLM or if it just hacks in some kind of temporal filter. I'm close to deciding not to bother anyway, unless someone shows me a clip that really needs the temporal component.

Exposing the search size and patch size by making them parameters is not so easy when the loops are unrolled at compile time (loop unrolling gives a massive speed-up). I could provide a set of selectable kernels with different fixed parameters (call them presets). What fixed parameter sets would be useful for you?

I've been looking for ways to make NLM separable, as that could give a substantial speed-up. One paper I saw does it by recasting NLM as a convolution, but I'm still grokking the details.

BTW, I added licensing checks to DGDecodeNV.dll in order to protect included standalone filters that don't depend on a DGI file. I want to reward only legit and loyal DG users (and not people at other forums that abuse me with full support of the administrators; at my core I am a decent, generous guy, but I hit back hard when attacked). Anyway, gonca kept asking me to add licensing. :D
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

Anyway, gonca kept asking me to add licensing. :D
Just thought you should be rewarded for your hard work, or at least some of your server costs covered.
Besides that, good beer and triple malt scotch aint cheap!! :(
Your loyalty and devotion to legitimate DG tools users is appreciated. :D
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

Thanks! Getting ready to optimize the inner loop...

Image
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

Moonshine? :wow:
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

Heck no, only the best for DG.
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

I slipstreamed 2053 to add a searchw parameter for the denoising. You can set it to 5, 7, or 9. The default is 5, corresponding to a=2 for KNLMeansCL.
User avatar
tormento
Moose Approved
Posts: 343
Joined: Mon Sep 20, 2010 2:18 pm

Re: About DGDenoise

Post by tormento »

admin wrote:What fixed parameter sets would be useful for you?
Fixed is of little use, as every movie has different noise (and film grain too).

Anyway, time is on your side. Thanks for all your efforts. :bow:
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

Fixed doesn't mean you can't change the settings. It just means I have to limit the combinations I offer, due to the inability to unroll at run time. How long are you willing to wait for JIT compilation of the PTX code? 1ms? 10ms? 100ms? 1 sec? 10 seconds? 10 minutes?

So I ask again, what combinations of parameters do you need? If you say all of them, then it means you should use KNLMeansCL and be happy with the performance degradation you pay for your freedom. I wish I could offer you a free lunch, but reality bites.
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

Gals and guys, have you checked out the 1080Ti? At $699 this will likely be my next GPU card. What say you, gonca?
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

Looks highly impressive, my 1070 looks weak all of the sudden.
Are you a gamer?
What about the Pascal Titan?
250 watts though, how big is your power supply?
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

I'm not a gamer; I want lots of cores for running multiple CUDA kernels in a pipeline (via CUDA streams): CUDASynth.

1080Ti edges out Titan X, except for 1GB less memory. nVidia acknowledges the market will move from Titan X to 1080Ti.

I'll take my big tower and 850W supply out of the shed to build a new system.
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

:lol: If your shed is anything like mine, just get a new tower and power supply
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

I located gonca's shed on Google street view.

Image
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

Hey, who fixed my shed without telling me?
User avatar
admin
Site Admin
Posts: 4449
Joined: Thu Sep 09, 2010 3:08 pm

Re: About DGDenoise

Post by admin »

I did my best last night but I think it's a lost cause.

BTW, I grabbed an old TRS-80 I found in there but it had a rat's nest inside and the 10MB disk was rusted.
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

article-2251639-169BBDF3000005DC-137_634x461.jpg
"lost cause" -- never looked better
Thanks for cleaning up my backyard, by the way, it couldn't be a rats nest - a squirrels nest yes.
User avatar
gonca
Curly Approved/Moose Approved
Posts: 956
Joined: Sun Apr 08, 2012 6:12 pm

Re: About DGDenoise

Post by gonca »

Quick question
How do you get the pics to show the way they do? No attachment etc.
Post Reply