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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th April 2020, 08:31   #1441  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 871
I'm on B450 + Ryzen 3600 + GTX 1650S and I feel like it's pretty future proof.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 28th April 2020, 08:49   #1442  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,526
Quote:
Originally Posted by Boulder View Post
AVX2 performance was increased substantially compared to the first-gen Ryzens.
Zen 2 is a terrific architecture but about AVX2, that is sort of “emulated”. There are many articles about this topic, look at them if interested.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 28th April 2020, 09:07   #1443  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,910
Quote:
Originally Posted by tormento View Post
Zen 2 is a terrific architecture but about AVX2, that is sort of “emulated”. There are many articles about this topic, look at them if interested.
I'm not sure I follow you. The first-gen Zen did some tricks which is why it was quite poor in AVX2. The current gen has full AVX2 support.

https://forum.doom9.org/showthread.php?t=174393&page=2 shows nicely how big the difference is. A 32-thread 1950X scored 4.26 for AVX2 and a stock 3900X (24 threads) got 5.51.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 28th April 2020, 09:33   #1444  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 871
Quote:
Originally Posted by tormento View Post
Zen 2 is a terrific architecture but about AVX2, that is sort of “emulated”. There are many articles about this topic, look at them if interested.
Zen2 has full AVX2 capability. Not sure where you got that "emulated" idea.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 28th April 2020, 10:06   #1445  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,526
Quote:
Originally Posted by MeteorRain View Post
Zen2 has full AVX2 capability. Not sure where you got that "emulated" idea.
Unfortunately I can't find the page anymore, I can summarize only.

By SIMDjson benchmark, it was shown that Intel has more AVX2 IPC than Zen2.

Apart from that, the higher core count could nullify that penalty.

Zen3 should come across that and introduce AVX512 too.
__________________
@turment on Telegram

Last edited by tormento; 28th April 2020 at 10:08.
tormento is offline   Reply With Quote
Old 28th April 2020, 10:33   #1446  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 871
Quote:
Originally Posted by tormento View Post
Unfortunately I can't find the page anymore, I can summarize only.

By SIMDjson benchmark, it was shown that Intel has more AVX2 IPC than Zen2.

Apart from that, the higher core count could nullify that penalty.

Zen3 should come across that and introduce AVX512 too.
I found that benchmark. It was concluded that AMD has a poor IPC performance on AVX2. That is kinda expected, and actually many factors matters including that SIMDjson was optimized against Intel processors.
CPU pipelines, instruction order, cache size, even picking one instruction over another, can make a lot difference.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 28th April 2020, 10:42   #1447  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,526
Quote:
Originally Posted by MeteorRain View Post
That is kinda expected, and actually many factors matters including that SIMDjson was optimized against Intel processors.
Wasn't compiled using neutral flags?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 28th April 2020, 10:44   #1448  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,009
Conversation is getting a bit off-topic...
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 28th April 2020, 23:14   #1449  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 871
Quote:
Originally Posted by tormento View Post
Wasn't compiled using neutral flags?
A highly optimized library wouldn't use a neutral flag. Also there's no neutral flag. If you have Intel CPU then all you can do is make sure your program runs fastest on that Intel CPU. If later AMD CPU appears and has different characteristics, likely some of the previous optimization won't make it as fast as on Intel CPU.

One example would be Intel has avx down clocking. So to reduce the chance of that you can carefully reduce the amount of heavy avx computing, and let CPU stay on light load frequency (higher frequency). But AMD doesn't have avx down clocking so the best thing to do is give it all the heavy lifting as much as possible.

Intel compiler for example when compiling avx 512, will take the down clocking in to account, and emit code that is not too hard for the CPU, so it won't run too fast to run slow (lol) but if AMD comes with 512 some day and it does not clock down, then when it runs the same binary it would not use its 100% potential.
__________________
Projects
x265 - Yuuki-Asuna-mod Download / GitHub
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 29th April 2020, 00:00   #1450  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,526
Quote:
Originally Posted by MeteorRain View Post
One example would be Intel has avx down clocking.
AFAIK it's a bios option, not mandatory.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 27th May 2020, 12:58   #1451  |  Link
hintlou
Registered User
 
Join Date: Nov 2019
Posts: 13
After I updated some filters (yadifmod2-0.2.4,SangNom2-0.5.0,DCTFilter-0.5.1,vsMSharpen-2.0.0,MatchHistogram-2.1.0,TMM2-0.1.4,CombMask-2.0.0 and MPEG2DecPlus-0.1.2),my QTGMC 3.364 got error and warned me that "KNLMeans.dll cannot be used as a plugin for Avisynth".
I don't know which filter caused it.
hintlou is offline   Reply With Quote
Old 27th May 2020, 16:12   #1452  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,652
KNLMeansCL needs to be rebuilt for AviSynth+ 3.6
https://forum.doom9.org/showthread.p...98#post1909698
Until it is done officially, you can download it from my repository
pinterf is offline   Reply With Quote
Old 27th May 2020, 16:42   #1453  |  Link
hintlou
Registered User
 
Join Date: Nov 2019
Posts: 13
Thanks pinterf!I updated to your KNLMeansCL.
But it also made error:
Script error:expected ')'
((null),line 1,column 4)
(AviSynth+/plugins64+/srestore v2.796.avsi,line 79)
(QTGMC 3.364.avsi,line 186)
(my.avs line 25:QTGMC(preset="Very Slow", InputType=0,sourceMatch=3).SelectEven())
hintlou is offline   Reply With Quote
Old 27th May 2020, 19:24   #1454  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,778
Quote:
Originally Posted by hintlou View Post
Thanks pinterf!I updated to your KNLMeansCL.
But it also made error:
Script error:expected ')'
((null),line 1,column 4)
(AviSynth+/plugins64+/srestore v2.796.avsi,line 79)
(QTGMC 3.364.avsi,line 186)
(my.avs line 25:QTGMC(preset="Very Slow", InputType=0,sourceMatch=3).SelectEven())
update your scripts, especially SMDegrain and Zs_RF_Shared.avsi
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 28th May 2020, 10:25   #1455  |  Link
hintlou
Registered User
 
Join Date: Nov 2019
Posts: 13
Thanks!After I updated the Zs_RF_Shared.avsi,problem were solved.
hintlou is offline   Reply With Quote
Old 11th June 2020, 20:03   #1456  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 6,081
KNLMeansCL is still crashing for me with:
Code:
Avisynth error :  KNLMeansCL: fatal error!  (oclUtilsGetPlaformDeviceIDs: OCL_UTILS_UNKNOWN_ERROR) (E:\Temp\tempPreviewAvisynthFile08_26_19_695.avs, line 11) Couldn't import -1 (1)
also tried the testbuild from pinterf but it doesn't change anything.
Since it there hasn't been a driver version since February that works for me with KNLMeansCL anyone has an idea how to get it working again?
(Problem is only with 32bit Avisynth, works fine in 64bit Vapoursynth)

=> found the problem here, I had an abandoned old OpenCL.dll in the same folder as KNLMeansCL which caused the problem, after removing the OpenCL.dll it's working again
__________________
Hybrid here in the forum, homepage
Notice: Since email notifications do not work here any more, it might take me quite some time to notice a reply to a thread,..

Last edited by Selur; 12th June 2020 at 11:40.
Selur is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 16:46.


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