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. |
10th March 2017, 23:07 | #3121 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
@pinterf
I noticed that in cpuid.cpp the reported CPU features (AVX, FMA) depend on CPU and OS support. So, if I run "Info()" on XP for example, these new extensions will be hidden even though the CPU has them. In "Info()", it says "CPU detected:" so is it not a bit misleading? With the OS conditional, should it not rather read something like "CPU features supported by OS"?
__________________
Groucho's Avisynth Stuff |
11th March 2017, 07:31 | #3125 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
Possible AVX512 extensions are listed in a second line however, there is quite a few of them. XP users in 2017, well, they know what they do I don't want to warn them in Info() that AVX or better requires a decent OS |
|
11th March 2017, 07:56 | #3126 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
No, I don't know yet similar filters like MP_Pipeline, but I did not know it either, before the issue had been reported.
Similar filters: Behaving as source filters because they have no input clip parameter. Unlike regular source filters, they are internally starting processes in multiple script environments (?) Unfortunately this mt thing is the most difficult area in avs core, I was not able to understand it 100% (not even near of that) or else I could fix it by rewriting the relevant module. Basically this option prevents Avisynth core from trying to figure out the effective mt mode of this filter. I'm not sure that it will work in all situations, but in this specific MP_Pipeline case it works fine. (When a filter is invoked it may invoke other filters, the core follows the nested invoke list and the effective mt mode is determined by the weakest mt mode, e.g. if there are invokes for filter with an MT_NICE_FILTER and MT_SERIALIZED, the latter will be chosen as the safest mt method. During the process internal MT guard object(s) is(are) created.) Last edited by pinterf; 11th March 2017 at 07:59. |
11th March 2017, 08:20 | #3127 | Link | |
Registered User
Join Date: Aug 2006
Posts: 2,229
|
Quote:
Any reason for using XP on a 'modern' AVX CPU? |
|
11th March 2017, 09:48 | #3128 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
- or - if you're including OS dependency, phrase it differently like x264 does: Code:
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
__________________
Groucho's Avisynth Stuff |
|
11th March 2017, 10:00 | #3129 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
__________________
Groucho's Avisynth Stuff |
|
11th March 2017, 10:38 | #3130 | Link |
Registered User
Join Date: Jan 2006
Posts: 1,867
|
I just wanted to clear up something. Using avx requires OS support. It seems strange at first, but it's because the os has to save the extra registers so they don't get changed between processes. You could try to use it, but the program would mess up the results.
avx requires win7+ I believe. |
11th March 2017, 10:40 | #3131 | Link |
Registered User
Join Date: Jan 2006
Posts: 1,867
|
I have a question, did you derive the exact values for the high bit depth colour bars? I was the one who got them into avisynth in the first place. Especially the -I value requires some sin() calculations.
ConvertToDoubleWidth was confusing to me, perhaps ConvertToDoubleDepth ? Last edited by jmac698; 11th March 2017 at 11:06. |
11th March 2017, 11:17 | #3132 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
|
|
11th March 2017, 11:24 | #3133 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
DoubleWidth is a compatibility format ("hack"), sometimes called as interleaved. Format is an Avs2.6 compatible 8 bits one, but internally stores 16bit pixels, thats why the reported width is double than the original. Unlike stacked format its internal layout is the same as Avs+'s high bit depth formats. |
|
12th March 2017, 08:00 | #3134 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
ConvertBits supports ordered and Floyd-Steinberg dithering.
Latter is new, available from r2440. You can dither down to 1-2-4-6-8..14 bits with parameter dither_bits. For restriction see the readme or the release announcement some posts back. Ordered dither is simd optimized. |
13th March 2017, 14:47 | #3135 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I started to use the x64 version now and noticed one thing. It's seems it is impossible to autoload avsi script for both 32 and 64 bit.
Would it be a good idea to implement a seperate "script-autoload-folder" in avs+? This would also make the plugins plugins folder less cluttered.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
13th March 2017, 14:54 | #3136 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
__________________
Groucho's Avisynth Stuff |
|
13th March 2017, 14:59 | #3137 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Yes. But I would like to have a shared avs script autoload folder, so I don't need to copy my avsi script in both (32 & 64 bit) folders.
The goal is: Plugins32 Plugins64 Avs-Scripts (witch can be used by 32 & 64 avisynth) <-- missing yet Edit: I just found that there is a AddAutoloadDir() function. Will test it... Edit2: ok this is working, but it needs to be placed in the scripts header everytime. I guess I can live with that. But a global extra folder like the plugins folder would still be convenient. AddAutoloadDir("D:\AvisynthRepository\SCRIPTS") Sadly it does not work when I put a "scriptlaoder.avsi" with the line above in my plugins folder.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 13th March 2017 at 15:21. |
13th March 2017, 16:17 | #3138 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
speaking of that
the autoload folder list order now is PluginDir+ in Software/Avisynth in HKEY_CURRENT_USER PluginDir+ in Software/Avisynth in HKEY_LOCAL_MACHINE PluginDir2_5 in Software/Avisynth in HKEY_CURRENT_USER PluginDir2_5 in Software/Avisynth in HKEY_LOCAL_MACHINE why not like this? PluginDir2_5 in Software/Avisynth in HKEY_LOCAL_MACHINE PluginDir2_5 in Software/Avisynth in HKEY_CURRENT_USER PluginDir+ in Software/Avisynth in HKEY_LOCAL_MACHINE PluginDir+ in Software/Avisynth in HKEY_CURRENT_USER see here to know why https://forum.doom9.org/showthread.p...35#post1789735
__________________
See My Avisynth Stuff |
14th March 2017, 10:14 | #3139 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
I have downloaded AvsPMod r452, and toggleing the option is working for me. However when another Prefetch line is present, the "Only one prefetcher is allower per script" error occurs (as expected) Code:
[Multi Tasking=1] Prefetch(4) [/Multi Tasking] Prefetch(4) Last edited by pinterf; 14th March 2017 at 11:52. Reason: typo |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|