Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th March 2023, 05:12   #2241  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by FTLOY View Post
SDK or Runtime ?
Vulkan device. Look under Requirements
https://github.com/Asd-g/AviSynthPlus-RIFE
poisondeathray is offline   Reply With Quote
Old 27th March 2023, 06:26   #2242  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Quote:
Originally Posted by FTLOY View Post
SDK or Runtime ?
If you install GPU driver, it's will support Vulkan
kedautinh12 is offline   Reply With Quote
Old 27th March 2023, 06:41   #2243  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 195
Quote:
Originally Posted by poisondeathray View Post
Vulkan device. Look under Requirements
https://github.com/Asd-g/AviSynthPlus-RIFE
I've got ALL them !
FTLOY is offline   Reply With Quote
Old 27th March 2023, 06:56   #2244  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
So that slow cause this plugin very slow and only fast with high-end GPU card
kedautinh12 is offline   Reply With Quote
Old 28th March 2023, 01:04   #2245  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 195
So there's been several updates of Dogway's filters...

SMDegrain, Extools, Grade Pack & Resizers Pack.

Can someone please clarify, does SMDegrain (or others) use GPU or CPU filter processing by default ?
FTLOY is offline   Reply With Quote
Old 28th March 2023, 01:45   #2246  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Quote:
Originally Posted by FTLOY View Post
So there's been several updates of Dogway's filters...

SMDegrain, Extools, Grade Pack & Resizers Pack.

Can someone please clarify, does SMDegrain (or others) use GPU or CPU filter processing by default ?
He prefer speed. If GPU plugins ver faster than CPU ver, he will use it
kedautinh12 is offline   Reply With Quote
Old 28th March 2023, 04:06   #2247  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 195
Quote:
Originally Posted by kedautinh12 View Post
He prefer speed. If GPU plugins ver faster than CPU ver, he will use it
So would an RTX 3050 / 3060 process faster than a 13900K ?
FTLOY is offline   Reply With Quote
Old 28th March 2023, 05:44   #2248  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,156
Quote:
Originally Posted by FTLOY View Post
So would an RTX 3050 / 3060 process faster than a 13900K ?
It's base test from one by one
kedautinh12 is offline   Reply With Quote
Old 28th March 2023, 06:14   #2249  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 195
Quote:
Originally Posted by kedautinh12 View Post
It's base test from one by one
So you're saying to test each filter, and see what's best for the user ?

That means changing a couple of settings in SMDegrain.avsi (the gpuid, from 0 for GPU, to -1 for CPU)
FTLOY is offline   Reply With Quote
Old 28th March 2023, 09:56   #2250  |  Link
LeXXuz
21 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 716
Quote:
Originally Posted by FTLOY View Post
So would an RTX 3050 / 3060 process faster than a 13900K ?
From my experience: KNLmeansCL and BM3D surely will run faster on a RTX 30 card. DGDenoise needs a Nvidia GPU to run at all anyway.

If you think about buying one, do NOT go for a 3050 or 3060 8GB with 128bit memory bus. They are significantly slower than a 3060 with 192bit mem bus. Learned this the hard way.

Last edited by LeXXuz; 28th March 2023 at 10:58.
LeXXuz is offline   Reply With Quote
Old 28th March 2023, 11:08   #2251  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 195
Quote:
Originally Posted by LeXXuz View Post
From my experience: KNLmeansCL and BM3D surely will run faster on a RTX 30 card. DGDenoise needs a Nvidia GPU to run at all anyway.

If you think about buying one, do NOT go for a 3050 or 3060 8GB with 128bit memory bus. They are significantly slower than a 3060 with 192bit mem bus. Learned this the hard way.
Well, fortunately I don't use those filters...I'm more curious if even using the "lesser" filters, like MinBlur, and just basic SMDegrain filters use the GPU or CPU...from what I've been able to understand, the gpuid of SMDegrain by default is "0", which is a GPU.

And I just checked my RTX's, and they are only 128bit
FTLOY is offline   Reply With Quote
Old 28th March 2023, 11:35   #2252  |  Link
LeXXuz
21 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 716
Quote:
Originally Posted by FTLOY View Post
Well, fortunately I don't use those filters...I'm more curious if even using the "lesser" filters, like MinBlur, and just basic SMDegrain filters use the GPU or CPU...from what I've been able to understand, the gpuid of SMDegrain by default is "0", which is a GPU.

SMDegrain does not use GPU in general, the setting may be a little misleading.

Only for some prefilters like the aforementioned and subpixel processing if you explicitly use subpixel=4 (with gpu=0) which means you use GPU based NNEDI3CL. See its dependencies section at the very beginning of the script.

If you don't use subpixel=4, or prefilter=6,7,8 it will not make any difference if you set gpu=0 or -1. Everything else is CPU processed to my knowledge.

I think Dogway set gpu=0 by default, so unexperienced users will use the faster GPU based processing automatically IF they choose to use any of those prefilters or subpixel processing.

Quote:
Originally Posted by FTLOY View Post
And I just checked my RTX's, and they are only 128bit
Don't get me wrong. They will still be faster than processing BM3D or KNLM entirely on CPU. But they are not as fast as a 3060 12GB / 3060TI 8GB and above.
My advice was only for people who think about buying a new graphics card. For those it means: stay away from RTX 3050 and RTX 3060 8GB. Buy a RTX 3060 12GB or RTX 3060TI 8GB instead.

Last edited by LeXXuz; 28th March 2023 at 11:48.
LeXXuz is offline   Reply With Quote
Old 28th March 2023, 12:09   #2253  |  Link
FTLOY
Friend of a friend..
 
FTLOY's Avatar
 
Join Date: Feb 2023
Posts: 195
Quote:
Originally Posted by LeXXuz View Post
SMDegrain does not use GPU in general, the setting may be a little misleading.

Only for some prefilters like the aforementioned and subpixel processing if you explicitly use subpixel=4 (with gpu=0) which means you use GPU based NNEDI3CL. See its dependencies section at the very beginning of the script.

If you don't use subpixel=4, or prefilter=6,7,8 it will not make any difference if you set gpu=0 or -1. Everything else is CPU processed to my knowledge.

I think Dogway set gpu=0 by default, so unexperienced users will use the faster GPU based processing automatically IF they choose to use any of those prefilters or subpixel processing.



Don't get me wrong. They will still be faster than processing BM3D or KNLM entirely on CPU. But they are not as fast as a 3060 12GB / 3060TI 8GB and above.
My advice was only for people who think about buying a new graphics card. For those it means: stay away from RTX 3050 and RTX 3060 8GB. Buy a RTX 3060 12GB or RTX 3060TI 8GB instead.
Thankyou for all that info...and like I said, I very rarely use those higher filters, and I'm quite happy with the newer Median options recently added, so my RTX's will be fine...anything more hi-end, is so much more $'s
FTLOY is offline   Reply With Quote
Old 29th March 2023, 09:43   #2254  |  Link
madey83
Guest
 
Posts: n/a
Quote:
Originally Posted by LeXXuz View Post
Yes, you can adjust the "strength" by adjusting the opacity of the blend somewhere between 0 (no denoise filter effect) and 1.0 (full denoise filter effect)

But if you have just some fine grain better use something different like STTWM. Dogway provided examples for that some posts above and they can also be found in his ExTools package ~line 2194.
hi LeXXuz,

to use STTWM as prefilter i should skip below
pre=ex_Median(mode="IQMST",thres=155)
ex_blend(pre,"blend",opacity=0.3).ex_sbr(1,UV=3)

and replace it by one of below?

# STTWM(sw=20,tw=80,aw=100,sthres=255,tthres=7) # Strong temporal
# STTWM(sw=40,tw=60,aw=100,sthres=255,tthres=5) # Strong spatial
pre= STTWM(sw=50,tw=50,aw=100,sthres= 5,tthres=5) # Balanced
# STTWM(sw=50,tw=50,aw= 10,sthres= 5,tthres=5) # Light
  Reply With Quote
Old 29th March 2023, 10:47   #2255  |  Link
LeXXuz
21 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 716
Quote:
Originally Posted by madey83 View Post
hi LeXXuz,

to use STTWM as prefilter i should skip below
pre=ex_Median(mode="IQMST",thres=155)
ex_blend(pre,"blend",opacity=0.3).ex_sbr(1,UV=3)

and replace it by one of below?

# STTWM(sw=20,tw=80,aw=100,sthres=255,tthres=7) # Strong temporal
# STTWM(sw=40,tw=60,aw=100,sthres=255,tthres=5) # Strong spatial
pre= STTWM(sw=50,tw=50,aw=100,sthres= 5,tthres=5) # Balanced
# STTWM(sw=50,tw=50,aw= 10,sthres= 5,tthres=5) # Light
Yes. And if you want to use it as prefilter for SMDegrain I would use it without ex_blend for most cases as it is way more subtle than ex_median with IQMST setting.
LeXXuz is offline   Reply With Quote
Old 29th March 2023, 11:00   #2256  |  Link
madey83
Guest
 
Posts: n/a
Quote:
Originally Posted by LeXXuz View Post
Yes. And if you want to use it as prefilter for SMDegrain I would use it without ex_blend for most cases as it is way more subtle than ex_median with IQMST setting.

i'm not really sure what you mean. Could you please provide example code for your suggestion?

i see from my test that this pre= STTWM(sw=50,tw=50,aw=100,sthres= 5,tthres=5) # Balanced

have more details but keep also some grain compare to below

pre=ex_Median(mode="IQMST",thres=15)
ex_blend(pre,"blend",opacity=0.2).ex_sbr(1,UV=3)

i'm very happy with resoults of this STTWM(sw=50,tw=50,aw=100,sthres= 5,tthres=5) # Balanced, but i would like to know how to adjust it strengh.

STTWM i can adjust it strengh by rising these sthres= 5, tthres=5 ?

Last edited by madey83; 29th March 2023 at 11:05.
  Reply With Quote
Old 29th March 2023, 12:19   #2257  |  Link
LeXXuz
21 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 716
If you use it as a prefilter within SMDegrain you may use this:

Code:
pre=STTWM(sw=50,tw=50,aw=100,sthres= 5,tthres=5).ex_sbr(1,UV=3)
SMDegrain("your settings here", prefilter=pre)
STTWM is way less invasive so I don't think there is need for the additional strength adjustment via ex_blend like you may had to use with IQMST before.

If the filtering is too weak try raising "thSAD" and/or "tr" of SMDegrain a little.
If that is not enought the grain of your source may be too strong for STTWM or you need a different prefilter.

In that case try ex_Minblur or ex_Median with "IQM" via the internal prefilters 0-3 if IQMST is too strong and STTWM is too weak for your source.
LeXXuz is offline   Reply With Quote
Old 29th March 2023, 12:53   #2258  |  Link
madey83
Guest
 
Posts: n/a
Quote:
Originally Posted by LeXXuz View Post
If you use it as a prefilter within SMDegrain you may use this:

Code:
pre=STTWM(sw=50,tw=50,aw=100,sthres= 5,tthres=5).ex_sbr(1,UV=3)
SMDegrain("your settings here", prefilter=pre)
STTWM is way less invasive so I don't think there is need for the additional strength adjustment via ex_blend like you may had to use with IQMST before.

If the filtering is too weak try raising "thSAD" and/or "tr" of SMDegrain a little.
If that is not enought the grain of your source may be too strong for STTWM or you need a different prefilter.

In that case try ex_Minblur or ex_Median with "IQM" via the internal prefilters 0-3 if IQMST is too strong and STTWM is too weak for your source.



edit: Results are very nice with higher TR

Last edited by madey83; 29th March 2023 at 13:35.
  Reply With Quote
Old 29th March 2023, 13:34   #2259  |  Link
madey83
Guest
 
Posts: n/a
For sharpening i use this call:
LSFplus(strength=50, preset="LSF", secure=true, Lmode=3, soft=-2, soothe=true, Smode=3, Smethod=3, Szrp=16, Spwr=4, SdmpLo=4, SdmpHi=48, overshoot=1, undershoot=1, Overshoot2=1, Undershoot2=1, keep=20, edgemode=0)

is it any possibility to improve it or replace it by better approach for sharpening?

Could you advice please....
  Reply With Quote
Old 29th March 2023, 14:04   #2260  |  Link
LeXXuz
21 years and counting...
 
LeXXuz's Avatar
 
Join Date: Oct 2002
Location: Germany
Posts: 716
I hardly use Limited Sharpen anymore. I don't like the results, especially on HD sources.

I use contrasharp=true within SMDegrain. And if that is too strong, something more subtle like ex_unsharp() with lower settings after SMDegrain.

try:
Code:
SMDegrain(...)
ex_unsharp(0.3) for clean anime
and a double call for films, like:
Code:
SMDegrain(...)
ex_unsharp(0.15).ex_unsharp(0.15, Fc=width()/1.5)
The first example sharpens the entire picture the same way, while the 2nd sharpens higher frequencies less to prevent residual grain from being enhanced too much again.

Last edited by LeXXuz; 29th March 2023 at 14:11.
LeXXuz is offline   Reply With Quote
Reply

Tags
avisynth, dogway, filters, hbd, packs


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:00.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.