|
|
| phaeron |
| Posted: Feb 20 2011, 09:17 PM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
Yup, out of address space.
Try the 1.10.1 test-2 release in the testing forum... it contains the code fixes I outlined and should help a bit. |
 |
| evropej |
| Posted: Feb 21 2011, 05:46 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 514
Member No.: 26523
Joined: 28-November 09

|
Just ran the test build. First, there is a significant performance increase at least in preview mode. Second, I had to try really hard to get it to crash, loaded about 12 to 14 filters before it crashed.
Is there something with warp sharp that is causing this? I say this because I have noticed that this filter in the past gave me issues.
I will try to run without warp sharp and see what happens.
VirtualDub crash report -- build 34005 (release) --------------------------------------
Disassembly: 04852760: 5a pop edx 04852761: 080f or [edi], cl 04852763: f5 cmc 04852764: 6208 bound ecx,[eax] 04852766: 0ffecb paddd mm1, mm3 04852769: 0ffed4 paddd mm2, mm4 0485276c: 0ffe0d08418504 paddd mm1, [04854108] 04852773: 0ffe1508418504 paddd mm2, [04854108] 0485277a: 0f72e10e psrad mm1, 0eh 0485277e: 0f72e20e psrad mm2, 0eh 04852782: 0f6bca packssdw mm1, mm2 04852785: 03c1 add eax, ecx 04852787: 0f6e10 movd mm2, [eax] 0485278a: 0f6e7004 movd mm6, [eax+04h] 0485278e: 0f60d7 punpcklbw mm2, mm7 04852791: 0f7fd3 movq mm3, mm2 04852794: 0f60f7 punpcklbw mm6, mm7 04852797: 0f61d6 punpcklwd mm2, mm6 0485279a: 0f69de punpckhwd mm3, mm6 0485279d: 0ff512 pmaddwd mm2, [edx] 048527a0: 0ff51a pmaddwd mm3, [edx] 048527a3: 0f6e6008 movd mm4, [eax+08h] 048527a7: 0f6e700c movd mm6, [eax+0ch] 048527ab: 0f60e7 punpcklbw mm4, mm7 048527ae: 0f7fe5 movq mm5, mm4 048527b1: 0f60f7 punpcklbw mm6, mm7 048527b4: 0f61e6 punpcklwd mm4, mm6 048527b7: 0f69ee punpckhwd mm5, mm6 048527ba: 0ff56208 pmaddwd mm4, [edx+08h] 048527be: 0ff56a08 pmaddwd mm5, [edx+08h] 048527c2: 0ffed4 paddd mm2, mm4 048527c5: 0ffedd paddd mm3, mm5 048527c8: 0ffe1508418504 paddd mm2, [04854108] 048527cf: 0ffe1d08418504 paddd mm3, [04854108] 048527d6: 0f72e20e psrad mm2, 0eh 048527da: 0f72e30e psrad mm3, 0eh 048527de: 0f6bd3 packssdw mm2, mm3 048527e1: 03c1 add eax, ecx 048527e3: 0f6e18 movd mm3, [eax] <-- FAULT 048527e6: 0f6e7004 movd mm6, [eax+04h] 048527ea: 0f60df punpcklbw mm3, mm7 048527ed: 0f7fdc movq mm4, mm3 048527f0: 0f60f7 punpcklbw mm6, mm7 048527f3: 0f61de punpcklwd mm3, mm6 048527f6: 0f69e6 punpckhwd mm4, mm6 048527f9: 0ff51a pmaddwd mm3, [edx] 048527fc: 0ff522 pmaddwd mm4, [edx] 048527ff: 0f6e6808 movd mm5, [eax+08h] 04852803: 0f6e700c movd mm6, [eax+0ch] 04852807: 0f60ef punpcklbw mm5, mm7 0485280a: 0f60f7 punpcklbw mm6, mm7 0485280d: 0f7fef movq mm7, mm5 04852810: 0f61ee punpcklwd mm5, mm6 04852813: 0f69fe punpckhwd mm7, mm6 04852816: 0ff56a08 pmaddwd mm5, [edx+08h] 0485281a: 0ff57a08 pmaddwd mm7, [edx+08h] 0485281e: 0ffedd paddd mm3, mm5 04852821: 0ffee7 paddd mm4, mm7 04852824: 0ffe1d08418504 paddd mm3, [04854108] 0485282b: 0ffe2508418504 paddd mm4, [04854108] 04852832: 0f72e30e psrad mm3, 0eh 04852836: 0f72e40e psrad mm4, 0eh 0485283a: 0f6bdc packssdw mm3, mm4 0485283d: 8b542410 mov edx, [esp+10h] 04852841: 0f7fc4 movq mm4, mm0 04852844: 0f7fd5 movq mm5, mm2 04852847: 0f61c1 punpcklwd mm0, mm1 0485284a: 0f69e1 punpckhwd mm4, mm1 0485284d: 0f61d3 punpcklwd mm2, mm3 04852850: 0f69eb punpckhwd mm5, mm3 04852853: 0ff502 pmaddwd mm0, [edx] 04852856: 0ff522 pmaddwd mm4, [edx] 04852859: 0ff55208 pmaddwd mm2, [edx+08h] 0485285d: 0f db 0fh 0485285e: f5 cmc 0485285f: 6a db 6ah
Built on Althena on Sat Feb 19 22:12:40 2011 using compiler version 1400
Windows 6.1 (Windows 7 x64 build 7600) []
EAX = 5477ce80 EBX = 5476e790 ECX = 00002680 EDX = 04855e50 EBP = 517503a4 ESI = 00000000 EDI = 5aa4e790 ESP = 0018fc58 EIP = 048527e3 EFLAGS = 00210202 FPUCW = 027f FPUTW = aaaa
Crash reason: Access Violation
Crash context: An out-of-bounds memory access (access violation) occurred in module 'warpsharp'...
...reading address 5477CE80...
...while running filter "warp sharp" (FilterInstance.cpp:1960).
Pointer dumps:
EBX 5476e790: 000f0b27 000f0b27 000f0b27 000f0b28 000f0b28 00100b28 00100c29 000f0c29 EDX 04855e50: 0af1fedd 0af1fedd fb323b00 fb323b00 0aa9fee7 0aa9fee7 fb3f3b31 fb3f3b31 EDI 5aa4e790: 00171322 00171322 00171322 00171323 00171322 00171322 00171322 00171323 ESP 0018fc58: 04852f0d 54775b00 00002680 04855e50 04855450 0c40bbc8 0c40bbb8 00000000 0018fc78: 00000000 007297a0 00002680 fffffd00 00099dff 5174fa03 003ef040 003ef9e0 0018fc98: fff97600 000006ff 00000330 00000998 000009a0 00000001 00099dff ffffecc0 0018fcb8: fffff661 000009a0 0043e3a3 0c40bbc8 006712c8 0072a61c 0c40bbb8 0018fdb0 EBP 517503a0: 524a423d 5f5e5b58 60606060 60606060 60606060 5f606060 6060605f 60606060 517503c0: 60606060 60606060 60606060 5f606060 5c5c5d5e 5c5c5c5c 5b5b5b5c 5b5b5b5b 517503e0: 5b5b5b5b 5b5b5b5b 5c5c5c5b 5c5c5c5c 5d5d5d5d 5e5e5e5d 5c5c5d5d 5b5b5b5b 51750400: 5b5b5b5b 5a5a5a5a 5b5b5b5a 5a5a5a5a 5a5a5a5a 5a5a5959 5959595a 5a5a5a5a
Thread call stack: 048527e3: warpsharp!VirtualdubFilterModuleDeinit [04850000+26a0+143] 04852f0d: warpsharp!VirtualdubFilterModuleDeinit [04850000+26a0+86d] 0043e3a3: FilterInstance::RunFilterInner() 0043a0e0: VDFilterFrameManualSource::GetNextRequest() 0043acff: VDFilterFrameRequest::AreSourcesReady() 004400f6: _catch$?RunFilter@FilterInstance@@IAEXXZ$0() 0044083a: FilterInstance::RunProcess() 00445661: FilterSystem::Run() 0046ca46: VDProject::UpdateFrame() 771500e6: ntdll!KiUserCallbackDispatcher [77140000+100b8+2e] 7667028d: USER32!PeekMessageW [76650000+20112+17b] 7668eed1: USER32!PeekMessageA [76650000+3ed58+179] 76667d4f: USER32!LoadStringW [76650000+17c12+13d] 7668eec0: USER32!PeekMessageA [76650000+3ed58+168] 0046f733: VDProject::Tick() 0045c28c: WinMain@16() 005dd31b: __tmainCRTStartup() 76763677: kernel32!BaseThreadInitThunk [76750000+13665+12] 77179f02: ntdll!RtlInitializeExceptionChain [77140000+39e9f+63] 77179ed5: ntdll!RtlInitializeExceptionChain [77140000+39e9f+36]
-- End of report
|
 |
| phaeron |
| Posted: Feb 28 2011, 12:03 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
At some point you will always be able to get an out of memory condition, especially with these huge framebuffers... it's just a question of when it happens and how gracefully the error is handled.
In this case, I'm not sure the problem is out of memory... it looks like an out of bounds read in the warp sharp filter. Have you tried using the internal one? It's built-in in current versions, and the built-in one is newer than the external version you appear to be using. |
 |
| evropej |
| Posted: Mar 7 2011, 05:21 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 514
Member No.: 26523
Joined: 28-November 09

|
The reason I like going to such large sizes is the huge benefit of resizing with lanczos. I have found a fine line where all the filters seem to work correctly.
I will take your advise and use the internal warp sharp.
Thanks for all the follow ups. |
 |
| Jam One |
| Posted: Mar 7 2011, 05:34 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09

|
evropej -- do you think Lanczos-4 would have been of a bigger benefit to it? |
 |
| evropej |
| Posted: Mar 7 2011, 10:32 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 514
Member No.: 26523
Joined: 28-November 09

|
Jam One I am not sure. This is new territory for me (filter resizing).
I am using resizing because I am starting to realize that each filter requires a minimum image size ( good for small dimensional movies). This also applies to filters for photoshop as well.
This is the main reason why I use Lanczos resizing. Plus the resizing seems to get rid of artifacts generated from pixelation.
Is Lanczos 4 available for vdub? |
 |
| Jam One |
| Posted: Mar 8 2011, 09:59 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 580
Member No.: 25518
Joined: 8-May 09

|
1)
| QUOTE | | Plus the resizing seems to get rid of artifacts generated from pixelation. |
This seems to be interesting. "Supersampling"...
2) Lanczos-4 is available only via Avisynth so far. |
 |
| arklight |
| Posted: Apr 1 2011, 11:23 AM |
 |
|

Advanced Member
  
Group: Members
Posts: 135
Member No.: 8316
Joined: 16-January 04

|
cool thread!
More!
Heri Mkocha |
 |
|