Log in

View Full Version : Broken nnedi3_resample


MysteryX
11th August 2022, 02:49
I have this xClean script that worked fine.
https://github.com/mysteryx93/xClean/blob/main/xClean.py

(plugins are pulled from the AUR in Linux)

Now, if I run it with chroma="nnedi3", I get this error:

Failed to evaluate the script:
Python exception: No attribute with the name get_format exists. Did you mistype a plugin namespace?
line 30, in nnedi3_resample

If I set chroma="reconstructor", I get this error:

Python exception: No attribute with the name nnedi3cl exists. Did you mistype a plugin namespace?
File "/usr/lib/python3.10/site-packages/nnedi3_resample.py", line 440, in nnedi3_dh


The script being installed is this
https://github.com/HomeOfVapourSynthEvolution/nnedi3_resample/blob/master/nnedi3_resample.py

First error is strange.

Second error would indicate that the plugin isn't loaded, but it is installed (from AUR) and pulling from this
https://github.com/HomeOfVapourSynthEvolution/VapourSynth-NNEDI3CL

Where did it break?

Julek
11th August 2022, 02:58
Why didn't you open an issue on nnedi3_resample's github instead of a thread here? lol

About get_format:
https://github.com/vapoursynth/vapoursynth/blob/b1af67c44fc3bc3365b6ba2494207774a69df4d9/ChangeLog#L12

MysteryX
11th August 2022, 23:48
Also having issues with NNEDI3CL not loading. What could be wrong with the package?
https://aur.archlinux.org/packages/vapoursynth-plugin-nnedi3cl-git

I notice that it's a pre-compiled binary instead of compiling during install. But that very same package used to work the last time I used it.

Or perhaps the recent API changes broke a bunch of plugins.

Are_
12th August 2022, 12:47
It's better if you compile all your plugins, vapoursynth / toolchain updates have the chance to break binary compatibility.
This can be the case of broken OpenCL, though.

MysteryX
12th August 2022, 17:25
nnedi3_resample is fixed
https://github.com/HomeOfVapourSynthEvolution/nnedi3_resample/issues/1

MysteryX
14th August 2022, 23:29
If the AUR maintainer doesn't fix nnedi3cl, can someone else fix it?

Are_
14th August 2022, 23:50
I checked it, and the AUR package is not a binary install. Have you reinstalled the plugin? Are you sure your OpenCL is working fine?

MysteryX
17th August 2022, 19:55
I uninstalled and re-installed "nnedi3cl" from AUR. It still doesn't work. Other OpenCL projects like BM3D and KNLMeansCL do work.