Log in

View Full Version : LoadPlugin on BM3DCUDA_RTC


MysteryX
13th October 2021, 18:47
When using StaxRip, it's not auto-loading VPY modules so it's loading them manually.

This works

core.std.LoadPlugin(r"C:\Users\myste\AppData\Roaming\VapourSynth\plugins64\BM3DCUDA.dll", altsearchpath=True)


This fails

core.std.LoadPlugin(r"C:\Users\myste\AppData\Roaming\VapourSynth\plugins64\BM3DCUDA.dll", altsearchpath=True)
core.std.LoadPlugin(r"C:\Users\myste\AppData\Roaming\VapourSynth\plugins64\BM3DCUDA_RTC.dll", altsearchpath=True)


How can I load BM3DCUDA_RTC?

sl1pkn07
15th October 2021, 20:13
seems is each lib standalone, i mean. each lib have the same functions, but with optimizations

you should load only one

greetings

ChaosKing
15th October 2021, 20:44
They both have it's own namespace, so it should be fine. Does loading only BM3DCUDA_RTC work?

The _rtc version requires compute capability 3.5 or higher, GPU driver 465 or newer and has dependencies on nvrtc64_112_0.dll/libnvrtc.so.11.2 and nvrtc-builtins64_114.dll/libnvrtc-builtins.so.11.4.50.

MysteryX
15th October 2021, 21:42
No it fails to load. RTC library is MUCH smaller, too. Perhaps a dependency issue?

ChaosKing
15th October 2021, 21:57
Try the latest master build https://github.com/WolframRhodium/VapourSynth-BM3DCUDA/actions/runs/1221407085
Which nvidia GPU do you have?

MysteryX
15th October 2021, 23:04
It loads fine when installed with vsrepo and auto-loading. I'm using GTX 2060

WolframRhodium
16th October 2021, 04:18
On Windows, the two dependencies should be placed in the same directory as the rtc plugin. The dependencies may also be loaded manually by ctypes:

import ctypes
ctypes.WinDLL((dependencies))
core.std.LoadPlugin((plugin))

MysteryX
16th October 2021, 17:20
On Windows, the two dependencies should be placed in the same directory as the rtc plugin. The dependencies may also be loaded manually by ctypes:

import ctypes
ctypes.WinDLL((dependencies))
core.std.LoadPlugin((plugin))

Worked like a charm. Never would have figured it out on my own! Thanks