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. |
26th June 2020, 08:17 | #561 | Link |
Registered User
Join Date: Jul 2003
Location: India
Posts: 890
|
Problem with SetLogParams opening file?
I have been updating my plugins for the 3.6 version and correcting for earlier using IScriptEnvironment2.
A particular function SegAmp in my modPlus plugin I modified and tested fully in 3.5 version v6 and even had a bench mark run. I then tested in 3.6 v8. While all other functions were running OK, this particular function gave an error "error Reading Source Frame 0, Avisynth Read Error: SetLogParams. could not open file "po"for writing. I was using colorbars as input. I then converted to YV24. It ran OK. I then commented out converttoYV24(), reverting back to earlier color space. Curiously it now ran and I could even bench mark. What could be the problem? |
26th June 2020, 11:12 | #563 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
Did some quick benchmark on L5506 (took me a long time to find a non-avx user).
memcpy_amd is slightly slower than system memcpy and std::copy, by about 3%. On sandy bridge it's running 15% slower. On a modern Ryzen it's running half the speed. asm_BitBlt_ISSE is not quick either. The core code is movntq / _mm_stream_pi which uses 64 bit registers, not a modern SSE 128bit registers. My personal opinion is there's no need to keep this ancient code. (Considering this is still called ISSE, which is probably optimized against Pentium 4 or earilier.)
__________________
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 Last edited by MeteorRain; 26th June 2020 at 11:15. |
26th June 2020, 15:42 | #565 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,419
|
Quote:
|
|
27th June 2020, 10:33 | #568 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Missing you already
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
27th June 2020, 20:18 | #569 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
|
Quote:
I'm already looking forward for you to come back. |
|
2nd July 2020, 18:08 | #570 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Was this ported from neo avs+ ? https://forum.doom9.org/showthread.p...06#post1859306
I saw Filtergraph.cpp in https://github.com/pinterf/AviSynthP...ilterGraph.cpp but with avs+ 3.4 it says DumpFilterGraph() is unknown. EDIT whoops why am I still on 3.4. Installed avs 3.6 and it works now If someone wants to test it, you need to call SetGraphAnalysis(true) at the beginning of your script and DumpFilterGraph the end.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 2nd July 2020 at 18:16. |
3rd July 2020, 19:34 | #571 | Link |
Registered User
Join Date: Oct 2016
Location: Tellus, Milky Way Galaxy
Posts: 21
|
Here's a few problems i've been encountering with v3.6.1 and later builds:
1. Some test builds are giving me occasional Access Violations and silent crashes while seeking during realtime playback; i get far more of the former with test8 than test6, test4 & test5 seem to be working most reliably for me. Seeking or pausing for extended periods of time during realtime playback seems to be the surest way to trigger it, even so it only happens about 1 out of every 50 tries. Each build handles the issue differently and gives a slightly different error, always starting with 0xC0000005, when one is given at all. 2. Sometimes realtime playback never recovers on it's own after presentation queue drops to zero, despite there being enough computational power for it. Seems to have about 50% chance of occurring. 3. After test6, playback recovery behavior has changed for the worse, if a script is too heavy, instead of just dropping interpolated frame(s), video sometimes starts lagging behind the audio. 4. Final 3.6.1 build (r3300) and later are causing hard lockups with PotPlayer. I'm guessing that all of above is due to memory leak(s) somewhere. Perhaps someone can verify if they're getting the same ones... There's also this older problem with Prefetch, which may warrant investigation at some point: When using multiple instances of Prefetch (with SVPflow filters) there are times when the same frame is returned two times in a row. In realtime playback usage this can also cause both sync-drifting and occasional jerky movements (without frame drops or glitches showing up in MadVR's OSD). Frame repeats become more frequent with each additional Prefetch buffer, regardless of whether it's from an additional Prefetch instance or thread and rate of occurrence doesn't seem to scale with buffer size or latency. Latencies reported by MadVR also more than double every time a new Prefetch thread is added. Thread count of other filters doesn't have nearly as much impact on latency. I have been trying to gather more detailed information on the nature of the issue for the past month, but haven't managed to figure out a whole lot. I'm guessing that there's probably an off-by-one bug somewhere within cache management. My test environment is 64bit Win7, running 32bit AviSynth+ through PotPlayer, ffdshow and MadVR. Last edited by Nuihc88; 16th July 2020 at 02:24. Reason: Problem 2 seems harder to pin down as i initially thought, also clarifications, and never forget about OCD :-P |
3rd July 2020, 22:06 | #572 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
|
Can you reproduce all of these issues when using AVS+ 3.5.1 32-bit? I have this feeling that merging the features from the AVS+ Neo fork are responsible for most of these issues.
With the plugins I use AVS+ 3.6.1 is now just as stable as version 3.5.1, but I really see no advantage whatsoever over 3.5.1. It's all in the name of progress... |
3rd July 2020, 22:45 | #573 | Link | |
Registered User
Join Date: Oct 2016
Location: Tellus, Milky Way Galaxy
Posts: 21
|
Quote:
v3.5.2 builds were fairly stable for me, but i did get an occasional Access Violation at least with some of those too. Realtime usage has a tendency to highlight stability problems that are far less often encountered in 'normal' use; repeatedly seeking back on a scene to optimize script performance, even more so. In my much earlier notes i had marked r2772 & r2923 as exceptionally stable, but even between those, some builds were far less so, which is one of the reasons i'm suspecting that there's a memory leak somewhere. I don't think the Prefetch issues could have even been detected before the merge, as Neo was too unstable and AVS+ too slow and inflexible to test with. In any case, the new version of the Prefetch function performs far faster with one thread than the old version ever did with any value. Last edited by Nuihc88; 4th July 2020 at 04:17. Reason: clarifications |
|
4th July 2020, 05:45 | #574 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
this work fine for me
Code:
mp_pipeline(""" ### dll: Avisynth-3.6.2_20200624_test1-filesonly\x64\AviSynth.dll ColorBars(width=640, height=480, pixel_type="yv12") admfilter(custom_filter="dfttest(Sigma=(adSigma+1.0)/f)") Prefetch(4) ### ### """) admfilter is in AdvancedDenoising.avsi and it also need this
__________________
See My Avisynth Stuff Last edited by real.finder; 4th July 2020 at 05:50. |
5th July 2020, 07:19 | #575 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
pinterf, if you have time, can you please check this? https://forum.doom9.org/showthread.p...85#post1917585
__________________
See My Avisynth Stuff |
6th July 2020, 21:28 | #576 | Link | |
Registered User
Join Date: Oct 2018
Location: Germany
Posts: 996
|
Quote:
Please help me. I don't know what 'color_white' means. (AdvancedDenoising.avsi, line 107) Zs_RF_Shared.avsi is loaded.
__________________
Live and let live |
|
6th July 2020, 23:21 | #577 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
Code:
# ... global color_violet = $EE82EE global color_wheat = $F5DEB3 global color_white = $FFFFFF global color_whitesmoke = $F5F5F5 global color_yellow = $FFFF00 global color_yellowgreen = $9ACD32 # ...
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 6th July 2020 at 23:31. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|