tongyuantongyu / vs-NNVISR

Neural Network Video Interpolation / Super Resolution Filter for VapourSynth
BSD 3-Clause "New" or "Revised" License
46 stars 1 forks source link

unable to load lib #5

Closed hooke007 closed 1 year ago

hooke007 commented 1 year ago

Tested https://github.com/tongyuantongyu/vs-NNVISR/releases/tag/v1.0.0-pre3

It seems https://github.com/tongyuantongyu/vs-NNVISR/issues/2 hasn't been fixed. So I have to manually add the PATH and then load nnvisr. But vs still quickily crashed and I captured the last info.

Snipaste_2023-07-09_04-45-14

tongyuantongyu commented 1 year ago

2 should definitely be fixed in 1.0.0-pre4. This issue is likely due to missing zlibwapi.dll. The manual install section is updated to include download link to it. Or follow NVIDIA's documentation.

And this is why I really prefer using some sorts of package manager, as the dependency chain is getting long.

hooke007 commented 1 year ago

No it doesn't. The same issue (Tested 1.0.0-pre4).

Snipaste_2023-07-09_14-43-14

tongyuantongyu commented 1 year ago

Could you then try loading nvinfer_builder_resource.dll using https://github.com/lucasg/Dependencies or https://github.com/adamrehn/dll-diagnostics to see if it loads correctly?

And can you share what Windows 10 version your are on?

hooke007 commented 1 year ago

win10 pro 22H2 19045.3086

Snipaste_2023-07-09_14-52-06

tongyuantongyu commented 1 year ago

This looks weird, on my end it works correctly.

Do you have other plugins using CUDA loaded? What's your GPU model and NVIDIA driver version?

hooke007 commented 1 year ago

Do you have other plugins using CUDA loaded

No, only NNVISR with its deps is in the environment. RTX4080 studio driver 536.40

tongyuantongyu commented 1 year ago

What's your Python and VapourSynth version? Can you test if it works in command line, or even better, if the conda distributed installation works?

hooke007 commented 1 year ago

python 3.11.4 vs R63

Hmm...Sry I don't use conda.

hooke007 commented 1 year ago

Well, unless adding the dir into user variable's PATH, other solutions did no help. And then I meet with the next problem...

The source clips' res are 1280x720 & 1920x1080

tongyuantongyu commented 1 year ago

OK I see. It's vapoursynth's way of placing dependencies alongside plugin not conforming with default Windows library loading behavior. A fix will be available later.

tongyuantongyu commented 1 year ago

And then I meet with the next problem...

Looks like you are having debug output enabled. The message amount will be overwhelming. Can you check the last non-debug messages before the error?

tongyuantongyu commented 1 year ago

v1.0.0-pre5 is released which should really address this issue.

My environment has TensorRT and cuDNN under PATH for convenience, so didn't found the issue at first place. Sorry for the confusion.