CUDASynth

These CUDA filters are packaged into DGDecodeNV, which is part of DGDecNV.
Post Reply
User avatar
Natasha
Posts: 150
Joined: Wed Nov 20, 2019 11:11 am

Re: CUDASynth

Post by Natasha »

hydra3333, you are real man for me. Would love to know you better. Send PM we make music together. Intimate theme. I'm hot, no?

your wish my command,
Natasha
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: CUDASynth

Post by admin »

Natasha, please find a dating site.
User avatar
Natasha
Posts: 150
Joined: Wed Nov 20, 2019 11:11 am

Re: CUDASynth

Post by Natasha »

Forum Mr. Big! Big boy, which site you hang at? We can hang out.
User avatar
hydra3333
Posts: 393
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: CUDASynth

Post by hydra3333 »

I'd love to liaise with young Natty, however my liaising days have been over for about 40 years :)
Natasha is welcome to dream though !
I really do like it here.
User avatar
hydra3333
Posts: 393
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: CUDASynth

Post by hydra3333 »

And, wishing you a Happy Christmas !!
I really do like it here.
DAE avatar
Guest

Re: CUDASynth

Post by Guest »

Merry Christmas
User avatar
Boris
Posts: 92
Joined: Sun Nov 10, 2019 2:55 pm

Re: CUDASynth

Post by Boris »

Tashie is recovering in hospital after small accident. She will be disappointed to hear your reply, hydra3333. She was thirsting for you. I send you all best Happy Christmas greetings from Tashie and myself, and I promise you an EPIC 2020. Moose and squirrel will finally meet their match. Bwahahahaha!
User avatar
Mr. Peabody
Posts: 45
Joined: Tue Dec 24, 2019 9:20 am

Re: CUDASynth

Post by Mr. Peabody »

New member here. I'm a Nobel Prize-winning scientist, a world-renowned explorer, and an Olympic gold medalist in the long jump and decathlon. I received my degree from Cambridge University. Valedogtorian, of course.

I will perform the valuable service of fact-checking and historical analysis for this esteemed forum.
User avatar
Rocky
Posts: 3525
Joined: Fri Sep 06, 2019 12:57 pm

Re: CUDASynth

Post by Rocky »

Welcome to the forum, Mr. Peabody!
User avatar
hydra3333
Posts: 393
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: CUDASynth

Post by hydra3333 »

Boris wrote:
Tue Dec 24, 2019 8:26 am
Tashie is recovering in hospital after small accident.
Eek, sending wishes for an easy recovery through the Christmas ether ... and may Father Christmas give it a little kiss to make it better.
I really do like it here.
User avatar
Boris
Posts: 92
Joined: Sun Nov 10, 2019 2:55 pm

Re: CUDASynth

Post by Boris »

Thank you, hydra3333. IV blood drip working wonders. You should visit bedside. Moose will pay for this.
User avatar
JoyBell
Posts: 16
Joined: Mon Feb 17, 2020 11:50 pm

Re: CUDASynth

Post by JoyBell »

Very interested in your CUDASynth.

I made a zoomed in crop of CUDA Synth Denoise and Sharpen vs my encoder favorite SMDegrain and LimitedSharpenFasterMod.

Comparison Pics
https://slow.pics/c/UmJUKAkF

Source:
Image

Good stuff.
DGDenoise vs SMDegrain(tr = 2, thSAD = 500)
Image
DGDenoise- much more smoothing, like it's a stronger setting than my SMDegrain Medium preset.
Image
SMDegrain- does a good job on the grain and keeps and enhances details.

DGSharpen vs LSFmod(strength = 400)
Image
DGSharpen- The grain pops and the image looks a bit more in focus.
Image
LSFmod- My LSF pic looks like I didn't apply the filter. I really might of made the mistake. :(


DGDenoise + DGSharpen vs SMDegrain and LimitedSharpenFasterMod.
Image
DGDenoise + DGSharpen- Well cleaned of grain, and picture has some sharpening but lost of hair and textile textures.
Image
SMDegrain + LSFmod- Well cleaned of grain without loss of textiles and hair, picture looks clearly sharper as if in better focus.

Very good work here by Mr. DG!
I would rate these better than KNLMeansCL and WarpSharp. That being said, SMDegrain and LSF remain the tools to beat from what I can see.
User avatar
JoyBell
Posts: 16
Joined: Mon Feb 17, 2020 11:50 pm

Re: CUDASynth

Post by JoyBell »

These cropped screens are from full CRF 22 1080p encodes of the clip.

70 Midway.2019.1080 1m46s DGHDRtoSDR
Image
70 Midway.2019.1080 1m39s DGHDRtoSDR DGDegrain DGSharp
Image
70 Midway.2019.1080 1s47m DGHDRtoSDR SMDegrain LSF
Image
User avatar
JoyBell
Posts: 16
Joined: Mon Feb 17, 2020 11:50 pm

Re: CUDASynth

Post by JoyBell »

I tried actually using the DGSharp and unfortunately it just seemed to bring out the dither more than anything else. I think most sharpens have a function to ignore grain and dither as sharping those is sub-optimal in most cases.
User avatar
hydra3333
Posts: 393
Joined: Wed Oct 06, 2010 3:34 am
Contact:

CUDASynth

Post by hydra3333 »

Just wondering ... is cudasynth still a thing, or more like an experiment that has run it's course ?

Cheers
User avatar
Rocky
Posts: 3525
Joined: Fri Sep 06, 2019 12:57 pm

CUDASynth

Post by Rocky »

Until the video community starts writing CUDA filters in significant numbers, there is no space for CUDASynth. CUDASynth is just a technology to link CUDA filters without requiring PCI transfers. We hope for increased traction for CUDA in the video community. Over at Doom9 pinterf has recently started to get interested in CUDA.
User avatar
hydra3333
Posts: 393
Joined: Wed Oct 06, 2010 3:34 am
Contact:

CUDASynth

Post by hydra3333 »

thanks. nice.
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

CUDASynth

Post by Guest 2 »

It seems that AVS+ is about doing the big jump to support CUDA.

Are you planning something?
User avatar
Rocky
Posts: 3525
Joined: Fri Sep 06, 2019 12:57 pm

CUDASynth

Post by Rocky »

Not yet, just waiting to see what it will be.
User avatar
Rocky
Posts: 3525
Joined: Fri Sep 06, 2019 12:57 pm

CUDASynth

Post by Rocky »

Got my 3090 tracker with alerts running for days. Twice I got the alert and within seconds went to the seller site and tried to buy. But both times they were already out of stock. This is getting to be very annoying. By the time I can actually buy one there'll be 4090 and 5090. :evil:
DAE avatar
Guest

CUDASynth

Post by Guest »

Rocky wrote:
Thu Feb 25, 2021 5:21 pm
Got my 3090 tracker with alerts running for days. Twice I got the alert and within seconds went to the seller site and tried to buy. But both times they were already out of stock. This is getting to be very annoying. By the time I can actually buy one there'll be 4090 and 5090. :evil:
Know how you feel. I am "planning" a new build for a little later in the year and a major hurdle is the complete lack of stock of RTX30xx cards
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

CUDASynth

Post by DJATOM »

I got tired by waiting for stocks and bought bitcoin yesterday for 50% of holding sum for RTX3080. I'm expecting to sell it at 70-90k and cover inflation/overprice by our sellers. Also hoping for better availability in summer or autumn. Most likely I'm not gonna have it this spring.
User avatar
Rocky
Posts: 3525
Joined: Fri Sep 06, 2019 12:57 pm

CUDASynth

Post by Rocky »

Elon Musk appears to be all in on bitcoin. Might have to revise my stance on that. :scratch:

https://www.cnbc.com/2021/02/08/tesla-b ... tcoin.html
User avatar
Rocky
Posts: 3525
Joined: Fri Sep 06, 2019 12:57 pm

CUDASynth

Post by Rocky »

My my, how time flies. I was thinking about CUDASynth again. It's hard to pass up a 350% performance improvement for the case I demonstrated. Actually, the improvement gets greater the more CUDA filters there are in the chain. That's because with CUDASynth you always have only two CPU<->GPU transfers, instead of 2 x N, where N is the number of CUDA filters (including DGSource). And for UHD, the CPU<->GPU transfers are the bottleneck, so it's really attractive for UHD and above.

Realistically, even though I published code for a generic CUDA filter supporting this mode of operation, nobody was interested. And honestly, only a handful of people globally can even write a CUDA filter, let alone one that supports this mode of operation. So we're not going to change the world. :cry:

No matter, there's no reason why I can't just do it in the DG world. The way I previously suggested requires some fiddly syntax in the script, the fsrc/fdst parameters. Sure I could make a script compiler that adds those things automatically. But since no-one cares I'm going to just put the filters inside DGSource(), requiring only to have new DGSource() parameters to, for example, turn on denoising. I'll probably support DGDenoise(), DGSharpen(), and DGHDRtoSDR(), starting with DGDenoise(). Future CUDA filters could be added.

The script reduces to something like:

DGSource(source parameters, denoise parameters, sharpen parameters, hdr2sdr parameters)

If the denoise parameters are omitted then denoising is not performed, etc.

This framework will be a big incentive to create more-and-more CUDA filters. The standalone filters would still work fine of course.

Well, it's something fun to do in the cold months. :ugeek:
User avatar
hydra3333
Posts: 393
Joined: Wed Oct 06, 2010 3:34 am
Contact:

CUDASynth

Post by hydra3333 »

Beaut ! Fantasmagorical.
requiring only to have new DGSource() parameters to, for example, turn on denoising.
I wonder if you would consider having off/on parameters, eg "denoise=True", in there too.

Sounds silly, but in a "reusable script" it would allow the call to have favourite parameters "preset" and the only thing I'd then need to do is turn the filter on or off via those True/False depending on the need.

If I have this right in my noggin - with HDR becoming ubiquitous especially on phones, cudasynth DGHDRtoSDR is especially welcome !

Thank you and Cheers.
I really do like it here.
Post Reply