Page 2 of 3

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 15, 2017 5:24 pm
by admin
OK, please re-download again and test. We need count = 1.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 2:33 am
by Nico83500
Same result with the latest exe :
[22488] DGIndexIM: ref 11a
[22488] DGIndexIM: ref 11b
[22488] DGIndexIM: ref 11c
[22488] DGIndexIM: ref 11d
[22488] DGIndexIM: ref 11e
[22488] DGIndexIM: ref 11f
[22488] DGIndexIM: ref 11h
[22488] DGIndexIM: ref 12a
[22488] DGIndexIM: pEnumerator->Next returned 1, count 0
[22488] DGIndexIM: ref 11i
[22488] DGIndexIM: ref 11j
[22488] DGIndexIM: ref 11k
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11m
[22488] DGIndexIM: ref 11o
[22488] DGIndexIM: ref 1
[22488] DGIndexIM: ref 2
[22488] DGIndexIM: ref 3
[22488] DGIndexIM: ref 4
[22488] DGIndexIM: ref 5
[22488] DGIndexIM: ref 6
[22488] DGIndexIM: ref 7
[22488] DGIndexIM: ref 8
[22488] DGIndexIM: ref 9
[22488] DGIndexIM: ref 10
[22488] DGIndexIM: ref 11
[22488] DGIndexIM: ref 12
[22488] DGIndexIM: ref 13
[22488] DGIndexIM: ref 14

Commandline "wmic bios get serialnumber" gives me the right result, I don't know if it is a good information for you.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 5:35 am
by admin
The BIOS and mobo serial numbers are different things. Anyway, it doesn't matter as my nico.exe worked for you. I will have a series of more tests for you today.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 7:44 am
by Nico83500
No problem ;)
"wmic baseboard get serialnumber" command doesn't give result, perhaps because it's a HP ProLiant server and not a PC ?! It works on my PC HP, I get a result.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 8:20 am
by admin
That's interesting and could explain our problem. But I thought nico.exe was working. Let me give you that one again with more printfs.

Re: DGDecIM crash on Windows 2012 R2

Posted: Wed Aug 16, 2017 6:08 pm
by admin
Sorry Nico, I am on day 4 of going cold turkey off coffee (was a heavy drinker). Just couldn't summon any energy today for anything. Hoping for more oomph tomorrow.

Day 4 is the peak. You get aching joints, headache, lethargy, brain fog, stomach cramps, and more. I have all of them. But I am going to tough it out. :facepalm:

http://www.theyoganomads.com/survive-5- ... nt-sucked/

Re: DGDecIM crash on Windows 2012 R2

Posted: Thu Aug 17, 2017 1:02 am
by Nico83500
No problem Donald, good luck ! :) I hope you'll win against the coffee ;)

Re: DGDecIM crash on Windows 2012 R2

Posted: Fri Aug 18, 2017 10:13 am
by admin
OK, feeling better today. :P

Please re-download nico.exe, run it in a command window (no need for DBView), and post results. The difference from before is that this one is 64-bit and I have added some more printfs.

Re: DGDecIM crash on Windows 2012 R2

Posted: Fri Aug 18, 2017 1:05 pm
by Nico83500
Thank you but I could try Monday only... I'll tell you ;-)

Re: DGDecIM crash on Windows 2012 R2

Posted: Fri Aug 18, 2017 1:35 pm
by admin
Thanks, Nico, I appreciate your help with this issue.

Re: DGDecIM crash on Windows 2012 R2

Posted: Fri Aug 18, 2017 2:33 pm
by Nico83500
You're welcome, it's a pleasure, thank you to spend your time to help me :P

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 2:15 am
by Nico83500
So I've tried the new nico.exe and here is the result :
Connected to ROOT\CIMV2 WMI namespace
returned 1, count 0
No objects found
Cleaning up...
Cleanup successfull

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 3:32 am
by admin
OK then, thanks, it's clear that the WMI query is not supported on that server. I don't have any solution short of removing my protections, and that is not likely any time soon.

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 3:38 am
by Nico83500
No problem I understand ;) so I'll use DGDecIM only on my PC.
It's only an (perhaps bad) idea : you could test if your WMI request works and if not, get WMI BIOS serial number instead of baseboard ? And if it doesn't work show a warning "Your hardware is not supported"

WMI request on my PC :
wmic bios get serialnumber : PESZ........
wmic baseboard get serialnumber : CZC....... (serial number on the external sticker)

WMI requestion on my server :
wmic bios get serialnumber : CZ2............. (serial number on the external sticker)
wmic baseboard get serialnumber : Not available

So on ProLiant server, it seems Bios S/N replaces Baseboard S/N

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 4:15 am
by admin
That's a good idea. I'll do some experiments and if it's feasible I'll do it.

Can you do one more experiment for me? Try to run the 32-bit version of DGIndexIM on the server. Is it the same?

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 4:24 am
by Nico83500
Yes I've tried both and it's the same issue with x86 and x64 version.

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 9:07 am
by admin
Thank you.

Re: DGDecIM crash on Windows 2012 R2

Posted: Mon Aug 21, 2017 3:49 pm
by admin
Please download and test this:

http://rationalqm.us/misc/DGIndexIM.exe

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 22, 2017 2:15 am
by Nico83500
It works ! I get an ID on my server ! Can I generate a license and continue to test ? Or is it necessary to modify .dll also ?
And is it a x86 or x64 version ?
Thank you, you're the best ;)

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 22, 2017 2:43 am
by admin
Yes, go ahead and generate your license and continue. That is the 64 bit version so use the existing 64 bit DLL and Intel SW lib. If everything works, I'll update the release.

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 22, 2017 3:39 am
by Nico83500
So I've tried DGIndexIM.exe and I can create .dgi file without problem.
Then I have created an Avisynth plugin but I can't load AVS file :
"Avisynth open failure:
LoadPlugin: unable to load "DGDecodeIM.dll"
(C:\Test\Movie\Script.avs, line 1)"
I've tried it with x264 and VirtualDubMod, same issue. I use x64 dll (DGDecodeIM and Intel) and DGIndexIM.exe

Avisynth 2.58 works correctly (I've tried a script with Version() and it returned the right version and I've tried DirectShowSource).

Edit : I have tried 32-bit version of DGDecIM.dll and it seems to work. I have created .dgi on my PC, copy to server and run x264 encoding with 32-bit version.

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 22, 2017 10:30 am
by admin
Strange. It works fine for me in 64 bit. Can you please do these:

1. Make sure you have the libmfxsw64.dll from the ZIP distribution in the same directory as the modified DGIndexIM.exe and the DGDecodeIM.dll from the ZIP distribution.

2. Use a script like this:

loadplugin("dgdecodeim.dll")
dgsourceim("alba.dgi",engine=2,debug=true)

where dgdecodeim.dll is the 64-bit version from the ZIP distribution.

3. Make your dgi file using the modified version and then make and run the script.

4. If it still fails please post your dgi file and your script.

If needed I'll make a debug build of DGDecodeIM.dll. But things should be working. BTW, the dgi file made with the 64 bit modified version of DGIndexIM should work with the 32 bit DGDecodeIM.

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 22, 2017 10:59 am
by Nico83500
Thank you but it doesn't work.
I have followed your procedure but no success.
Is it necessary to use a x64 version of Avisynth ? I use 2.58. I'm trying to post the dgi file but it is too large.

Re: DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 22, 2017 11:29 am
by admin
Yes, of course you need a 64-bit Avisynth! You'll also need 64-bit VirtualDub, etc.

Using Avisynth 2.5.8 is like using Windows 98 these days. I recommend upgrading to Avisynth+. It has both 32-bit and 64-bit versions, which can coexist. BTW, DGDecNV dropped 2.5.8 support quite a while ago.

I'll release the revised DGIndexIM (both 32-bit and 64-bit). Thanks for your report and testing, Nico.

Re: [RESOLVED] DGDecIM crash on Windows 2012 R2

Posted: Tue Aug 22, 2017 12:30 pm
by Nico83500
I thought about it after my tests, sorry... :facepalm:
I didn't know for Avisynth, I must reinstall my PC so I'll upgrade to Avisynth+ ;)
And thank you for the time spent on my issue :bravo: