[RESOLVED] BD-Rebuilder DGI-File missing

Support forum for DGDecNV
Locked
DAE avatar
faithless
Posts: 9
Joined: Thu Nov 03, 2016 4:44 am

[RESOLVED] BD-Rebuilder DGI-File missing

Post by faithless »

Hi There,

i got exactly the same problem as Ch3vr0n.
viewtopic.php?f=8&t=523

But on my Rig its a GTX 1060.

I got myself a new PC start BD-Rebuilder and it quits in the exact same way.

I installed Avisynth+ i loaded the new binarys (5 mins ago). But in my case there isnt a *.DGI file created in Workingdirectory. So BD-Rebuilders CMD-Command quits with:

LAST CMD:
"C:\Users\faithless\Desktop\BD_Rebuilder\tools\x264.exe" "D:\WORKING\WORKFILES\VID_00000.AVS" --preset medium --bluray-compat --b-pyramid none --weightp 1 --qpmin=0 --bitrate 2700 --level 4.1 --sar 1:1 --aud --nal-hrd vbr --pic-struct --vbv-bufsize 13000 --keyint 24 --min-keyint 1 --ipratio 1.1 --pbratio 1.1 --vbv-maxrate 15000 --threads auto --slices 4 --thread-input --stats "D:\WORKING\WORKFILES\VID_00000.AVS.264.stats" --pass 1 --output NUL

QUITS WITH:
avs [error]: DGSource: Cannot open index file!
(D:\WORKING\WORKFILES\VID_00000.AVS, line 3)
x264 [error]: could not open input file `D:\WORKING\WORKFILES\VID_00000.AVS'

Then i opened VID_00000.AVS with Notepad++ and examined 3rd line, wich is:
DGSource("D:\WORKING\WORKFILES\VID_00000.DGI", fieldop=0)

And its right, the File isn't there.

Has anyone any suggestions on how to get this great piece of Software running again?

KR
User avatar
MeteorRain
Posts: 133
Joined: Fri Jul 25, 2014 4:04 pm
Location: Portland

Re: BD-Rebuilder DGI-File missing

Post by MeteorRain »

Have you verified if you are correctly licensed? I recalled a license key change a while ago, and if you are with your old key, You'll need to generate a new one.
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: BD-Rebuilder DGI-File missing

Post by admin »

Yes, MeteorRain is quite right. Also, a new machine requires you to generate a new license. Use the online license generator to do that. If that is all AOK, then proceed as follows...

"i got exactly the same problem as Ch3vr0n."

You mean you see a file named something.DGI.dgi? Or are you saying there is no .dgi file at all? Those two are not exactly the same. :scratch:

Please re-download the absolute latest build 2052 and then open DGIndexNV manually. Try to open a supported video file. What happens?
DAE avatar
faithless
Posts: 9
Joined: Thu Nov 03, 2016 4:44 am

Re: BD-Rebuilder DGI-File missing

Post by faithless »

Thank you verry much you too.

First things first: After i Installed the new Components DGDecNV gave me the License-Invalid-Popup through BDRebuilder. I generated a new one, Popup was gone and never came back. Now i generated a new License as you mentioned and it seems to work again! Thank you verry much :bow:

I'm verry sorry for beeing a bit superficial with my error description:

With exactly the same i meant the way as BDRebuilder is quitting. Throwing the error where its selftest is saying "OK, OK, OK,....". But my type of Error was different. I got not the *.DIG.dig thing. I hadn't got a *.DIG/*.dig File at all.

Thank you verry much for your fast help!
DAE avatar
faithless
Posts: 9
Joined: Thu Nov 03, 2016 4:44 am

Re: BD-Rebuilder DGI-File missing

Post by faithless »

I got one last Question just to make shure everthing is running as smooth as it could be.

I noticed the GTX 1060 isnt known in gpus.txt so i tried to add it manually. I did some research and finally added this Line to gpu.txt:
1c03 GP106 [GeForce GTX 1060]
dgdecnv1.PNG
ListGPU
BDRebuilder is running now, but it still uses up to 80/90% of CPU and only between 20 and 40% of VideoEngine. GPU-Load is normally way under 10%
dgdecnv2.PNG
Loads
Is this everything correkt? Is there a way to use the CPU even less than that?

DGDecNV metions i only got 4GB of Videomemory but there are 6GB, am I able to fix this?

Thank you verry much!
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: BD-Rebuilder DGI-File missing

Post by admin »

Thanks for the 1060 info. I have added it to the gpus.txt file.

BDRB performs both decoding and encoding. DGDecNV can accelerate only the decoding part, so it is not surprising that you have a high CPU usage. It is possible to encode on the GPU but I do not know if BDRB supports that.

The memory information I provide is returned from a CUDA call. If that is incorrect I can report it to nVidia but I cannot fix it myself. It could be caused by the fact that I use an earlier CUDA toolkit, but if I upgrade then I have to abandon some older cards, and I am reluctant to do that. I'll poke around a little and see what I can find about it, although it will be hard without a card like yours.
DAE avatar
faithless
Posts: 9
Joined: Thu Nov 03, 2016 4:44 am

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by faithless »

I am also a developer... so if you got something to test, do not bother to contact me...
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by admin »

faithless wrote:I am also a developer... so if you got something to test, do not bother to contact me...
Possible language problem there. In English that tells me not to contact you. Probably you meant "do not hesitate to contact me". ;)

Thanks for the offer.
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by admin »

Please run this and tell me how much memory it reports:

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

This is the 8.0 version. If it reports 6GB we can try the 6.5 version just for fun.
DAE avatar
faithless
Posts: 9
Joined: Thu Nov 03, 2016 4:44 am

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by faithless »

deviceQuery.exe Starting...

CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "GeForce GTX 1060 6GB"
CUDA Driver Version / Runtime Version 8.0 / 8.0
CUDA Capability Major/Minor version number: 6.1
Total amount of global memory: 6144 MBytes (6442450944 bytes)
(10) Multiprocessors, (128) CUDA Cores/MP: 1280 CUDA Cores
GPU Max Clock rate: 1709 MHz (1.71 GHz)
Memory Clock rate: 4004 Mhz
Memory Bus Width: 192-bit
L2 Cache Size: 1572864 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model)
Device supports Unified Addressing (UVA): Yes
Device PCI Domain ID / Bus ID / location ID: 0 / 1 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 8.0, CUDA Runtime Version = 8.0, NumDevs = 1, Device0 = GeForce GTX 1060 6GB
Result = PASS
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by admin »

OK, thanks. We may have reached the point where we should move on from toolkit 6.5. Let me think about it and maybe run a poll about it.
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by admin »

Hey faithless, I want to make a test build for you. Do you run 32-bit or 64-bit DGDecNV?
User avatar
MeteorRain
Posts: 133
Joined: Fri Jul 25, 2014 4:04 pm
Location: Portland

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by MeteorRain »

Actually, does the memory size matter? I don't really see the point to upgrade the toolkit for the 2GB unrecognized memory though. :scratch:
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by admin »

Don't worry, I won't do anything rash.

By limiting the compute capability to 5.0 as currently, we miss out on any improvements in 5.2, 6.0, 6.1, and 6.2, etc. We aso suffer from bugs such as this that have been repaired. Is it worth it for a simple NV12->ARGB conversion and GPU info dump, who knows? But similarly, most people have moved on from WinXP. ;)
DAE avatar
faithless
Posts: 9
Joined: Thu Nov 03, 2016 4:44 am

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by faithless »

Hey admin,

My Rig:
Asus Z170 Pro Gaming
i7 6700K
Asus GTX 1060 Strix Gaming 6GB

Running Windows 10 x64 Pro.

If Informations are missing, dont bother knocking...
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by admin »

I asked which DGDecNV you use, 32-bit or 64-bit, but you didn't answer that. :-(
DAE avatar
faithless
Posts: 9
Joined: Thu Nov 03, 2016 4:44 am

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by faithless »

Sorry my bad...

I am using 32bit because 64 bit always gives me the error its unable to find DGDecodeNV.dll... But it's in the Path it looks for it ....

C:\Users\faithless>"C:\Users\faithless\Desktop\BD_Rebuilder\tools\x264.exe" "D:\WORKING\WORKFILES\VID_00000.AVS" --preset medium --bluray-compat --b-pyramid none --weightp 1 --qpmin=0 --bitrate 2700 --level 4.1 --sar 1:1 --aud --nal-hrd vbr --pic-struct --vbv-bufsize 13000 --keyint 24 --min-keyint 1 --ipratio 1.1 --pbratio 1.1 --vbv-maxrate 15000 --threads auto --slices 4 --thread-input --stats "D:\WORKING\WORKFILES\VID_00000.AVS.264.stats" --pass 1 --output NUL
avs [error]: Cannot load file 'C:/Users/faithless/Desktop/BD_Rebuilder/Tools/dgdecnv/DGDecodeNV.dll'.
(D:\WORKING\WORKFILES\VID_00000.AVS, line 2)
x264 [error]: could not open input file `D:\WORKING\WORKFILES\VID_00000.AVS'
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by admin »

DGDecNV does not use your PATH variable. If you want me to look into this, please post your AVS script and your DGI file. Probably it's some BDRB limitation. Does it support 64-bit operation? Also, you need to have 64-bit Avisynth installed. Do you? You need some kind of switcher if you want to have both 32-bit and 64-bit Avisynth on your system.

Thousands of people use 64-bit DGDecNV successfully, including me.

As a developer, are you able to use DGDecNV manually, i.e., not through BDRB? Troubleshooting is seriously complicated when 3rd-party tools are involved.
DAE avatar
faithless
Posts: 9
Joined: Thu Nov 03, 2016 4:44 am

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by faithless »

1. I installed Avisynth+ with both 32bit and 64bit

----------------AVS------------------
#Created by BD Rebuilder - v0.50.18
LoadPlugin("C:\Users\faithless\Desktop\BD_Rebuilder\Tools\dgdecnv\DGDecodeNV.dll")
DGSource("D:\WORKING\WORKFILES\VID_00000.DGI", fieldop=0)
ConvertToYV12().AssumeFPS(24000,1001)

---------------DGI-----------------------
DGAVCIndexFileNV16 DGIndexNV 2052 X64
C:\Users\faithless\Desktop\BD_Rebuilder\Tools\dgdecnv\

D:\DOWNLOAD\INDEPENDENCE.DAY.2.WIEDERKEHR.2016.MULTI.COMPLETE.BLURAY\BDMV\STREAM\00000.m2ts 2648064

DEVICE 0
DECODE_MODES 0,0,1,0,0
STREAM 1
PKTSIZ 192
VPID 4113
CLIP 0 0 0 8
RANGE 0 0 2648063 0
AUDIO
DEPTH 8

SPS 801
PPS 857
PPS 453785
RPS 1029
IDR 1037
0:FRM 7 0 0 1
1:FRM 6 1 0 1
2:FRM 6 2 0 1
3:FRM 5 3 0 1
RPS 453958
I 453966
4:FRM 6 4 0 1
5:FRM 6 5 0 1
6:FRM 7 6 0 1
7:FRM 6 7 0 1
8:FRM 6 8 0 1
9:FRM 5 9 0 1
10:FRM 6 10 0 1
11:FRM 6 11 0 1
12:FRM 5 12 0 1
13:FRM 6 13 0 1
14:FRM 6 14 0 1
15:FRM 5 15 0 1
16:FRM 6 16 0 1
17:FRM 6 17 0 1
18:FRM 5 18 0 1
19:FRM 6 19 0 1
20:FRM 6 20 0 1
21:FRM 5 21 0 1
22:FRM 5 22 0 1
23:FRM 5 23 0 1
SIZ 1920 x 1088
FPS 24000 / 1001
CODED 24
PLAYBACK 24
0.00% FILM
ORDER 0

No i am not able to execute dgdecnv via command line. I am a Developer for SAP ABAP Application and SAP UI5. But it should be possible to excute a command you tell me.
User avatar
admin
Posts: 4554
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] BD-Rebuilder DGI-File missing

Post by admin »

I didn't say anything about command line.

But anyway, I don't support people dealing with illegally downloaded materials (it puts my forum in jeopardy).
Locked