View Full Version : KNLMeansCL: OpenCL NLMeans de-noising algorithm [2018-01-29]
Khanattila
4th September 2015, 22:46
@sl1pkn07
Yes, quite similar to that sound in this video. The strange thing is that it is the first time I hear that sound. I had my graphics card in long sessions rendering with Blender 3D/CUDA and this sound does not appear at all (it's a pretty quiet card). Perhaps bad optimized for OpenCL?
I'm testing this script with a set of PNG (script in message #234 and png images in message #241):
http://forum.doom9.org/showthread.php?t=171207&page=12
I run:
vspipe --y4m script.vpy - | ffmpeg -i pipe: -vcodec libx264 -crf 10 encoded.mkv
My nvidia card starts making these weird sounds, but I do not get messages in the terminal indicating that the script is working and the file "encoded.mkv" is never written to disk (I cancel at 15 seconds, I do not like that sound at all).
Edit:
Ok, I tried again and in Blender (CUDA or OpenCL) also makes some of that sound, but much less (I had to open the Case cover and close to it to hear the sound). Perhaps this plugin in vapoursynth is entering some kind of loop with OpenCL and my card?
I do not know your system, but KNLMeansCL is well optimized.
It is not perfect, but it is well optimized.
YAFU
5th September 2015, 00:05
If you are in this thread, you probably want to try KNLMeansCL.
Yeah, the script we were talking used KNLMeansCL (I guess, I do not know much about these things). What happens is that I have no idea on how to create these scripts. What I was wondering if you could recommend me other script that uses KNLMeansCL with which to reduce that kind of noise generated by Blender 3D.
I searched through this thread, and the truth is that I understand almost nothing about the technical things that are mentioned here.
feisty2
5th September 2015, 03:54
the script is TOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOoooooooooooooooooooooooooooooooooooooooooo........... slow
http://wstaw.org/m/2015/09/04/Screenshot_20150904_220515.png
/me pats feisty2 XD
now that dct=5-10 works, it could be even slower, and yet I ain't gotten dfttest to join the game to do the low frequency denoising
Also something is wrong somewhere with that script because... pink output, but yeah, what you experienced was your computer trying to die.
I had tested that script before I posted it out, so it should work, tho I only did my test on a GRAYS clip
Yeah, the script we were talking used KNLMeansCL (I guess, I do not know much about these things). What happens is that I have no idea on how to create these scripts. What I was wondering if you could recommend me other script that uses KNLMeansCL with which to reduce that kind of noise generated by Blender 3D.
I searched through this thread, and the truth is that I understand almost nothing about the technical things that are mentioned here.
then forget about mvtools
this simple little script is still kind of high quality
import vapoursynth as vs
core = vs.get_core()
clp = core.imwri.Read('png-50/%04d.png', firstnum=1, alpha=False)
clp = core.fmtc.bitdepth (clp, bits=32, fulls=True, fulld=True, flt=True)
clp = core.knlm.KNLMeansCL(clp, d=3, a=12, s=4, h=3.2)
clp.set_output ()
kalehrl
5th September 2015, 08:12
How to install this KNLMeansCL?
Where the put the files from the archive?
I put KNLMeansCL.dll in avisynth plugins folder and the script gives me this error:
"There is no function named KNLMeansCL"
Groucho2004
5th September 2015, 08:41
How to install this KNLMeansCL?
Where the put the files from the archive?
I put KNLMeansCL.dll in avisynth plugins folder and the script gives me this error:
"There is no function named KNLMeansCL"
You have to install the "Visual C++ Redistributable Package for Visual Studio 2013 (http://www.microsoft.com/en-us/download/details.aspx?id=40784)".
feisty2
5th September 2015, 08:48
Heard vs2015 gonna support ELF binaries, good news to Linux guys, don't need to install it manually no more
tormento
5th September 2015, 12:22
Yet no good for me with 0.6.2 and DGDecNV :mad:
With this script:
SetMTMode(5)
SetMemoryMax(2048)
LoadPlugin("D:\eseguibili\media\DGDecIM\DGDecodeIM.dll")
DGSourceIM("E:\in\1_46 Don Camillo\camillo01.dgi",engine=1)
ChangeFPS(last,last,true)
crop(244, 0, -244, -8)
SetMTMode(2)
SMDegrain (tr=6,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,plane=4,chroma=true,lsb=true,mode=6)
I get this
http://i.imgur.com/bNYMGZOm.jpg (http://imgur.com/bNYMGZO)
With this even simpler one:
LoadPlugin("D:\eseguibili\media\DGDecNV\DGDecodeNV.dll")
DGSource("E:\in\1_46 Don Camillo\camillo01.dgi")
crop(244, 0, -244, -8)
KNLMeansCL(device_type="GPU", info=true)
I get green preview with CUDA ERROR! text in upper left corner.
YAFU
5th September 2015, 13:28
@feisty2, I tried this little script. vsedit does not show any problem when I choose "Check script". But when I choose "Preview" vsedit closes and I get this error in linux terminal:
QWidget::insertAction: Attempt to insert null action
vsedit: symbol lookup error: /usr/local/lib/vapoursynth/libknlmeanscl.so: undefined symbol: GOMP_parallel_start
I get the same error with vspipe:
vspipe: symbol lookup error: /usr/local/lib/vapoursynth/libknlmeanscl.so: undefined symbol: GOMP_parallel_start
Khanattila
5th September 2015, 14:26
@feisty2, I tried this little script. vsedit does not show any problem when I choose "Check script". But when I choose "Preview" vsedit closes and I get this error in linux terminal:
QWidget::insertAction: Attempt to insert null action
vsedit: symbol lookup error: /usr/local/lib/vapoursynth/libknlmeanscl.so: undefined symbol: GOMP_parallel_start
I get the same error with vspipe:
vspipe: symbol lookup error: /usr/local/lib/vapoursynth/libknlmeanscl.so: undefined symbol: GOMP_parallel_start
You have to set the -fopenmp as a link option.
Or use the configure attachment.
Khanattila
5th September 2015, 14:28
Yet no good for me with 0.6.2 and DGDecNV :mad:
With this script:
SetMTMode(5)
SetMemoryMax(2048)
LoadPlugin("D:\eseguibili\media\DGDecIM\DGDecodeIM.dll")
DGSourceIM("E:\in\1_46 Don Camillo\camillo01.dgi",engine=1)
ChangeFPS(last,last,true)
crop(244, 0, -244, -8)
SetMTMode(2)
SMDegrain (tr=6,PreFilter=4,thSAD=400,contrasharp=false,refinemotion=false,plane=4,chroma=true,lsb=true,mode=6)
I get this
http://i.imgur.com/bNYMGZOm.jpg (http://imgur.com/bNYMGZO)
With this even simpler one:
LoadPlugin("D:\eseguibili\media\DGDecNV\DGDecodeNV.dll")
DGSource("E:\in\1_46 Don Camillo\camillo01.dgi")
crop(244, 0, -244, -8)
KNLMeansCL(device_type="GPU", info=true)
I get green preview with CUDA ERROR! text in upper left corner.
http://mirror.srobarka.sk/pub/Software/English/Audio%20and%20video/MeGUI/MeGUI_2507_x86/tools/dgindexnv/DGDecodeNVManual.html
use_D3D: true/false (default: false)
Use D3D operation. This should be set only if you receive a decoder creation error when it is not set. Some versions of the Nvidia driver require D3D operation.
Always first try with use_D3D set to false and set it to true only if a decoder creation error is encountered.
Try it.
YAFU
5th September 2015, 15:27
You have to set the -fopenmp as a link option.
Or use the configure attachment.
Sorry, I searched on google about that and I'm a little lost here.
Is that when I compile?
I compiled KNLMeansCL with:
./configure
make
sudo make install
Khanattila
5th September 2015, 15:43
Sorry, I searched on google about that and I'm a little lost here.
Is that when I compile?
I compiled KNLMeansCL with:
./configure
make
sudo make install
It's correct. Your operating system?
YAFU
5th September 2015, 15:59
Kubuntu Linux 14.04 64 bits.
I do not know if this is related, but I have installed a package called "libgomp1" v4.8.4 containing "/usr/lib/x86_64-linux-gnu/libgomp.so.1" and "/usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0"
Khanattila
5th September 2015, 16:43
Kubuntu Linux 14.04 64 bits.
I do not know if this is related, but I have installed a package called "libgomp1" v4.8.4 containing "/usr/lib/x86_64-linux-gnu/libgomp.so.1" and "/usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0"
llibgomp1 provide OpenMP, it's correct.
I have read the log of the terminal to figure out what went wrong.
YAFU
5th September 2015, 19:13
This is what I get with ./configure and make
http://pastebin.com/tn4zzUx4
MysteryX
5th September 2015, 19:30
I'm currently running KNLMeans on a very noisy 1080p video and it's running very slowly with the GPU topping at 100%. I have a dual-graphics with Intel HD 4000 and Radeon 7670M, and you're using the Intel HD by default.
You say I have to change the default OpenCL device for my system? How do I do that?
MysteryX
5th September 2015, 20:24
Actually, right now KNLMeans is running on the Intel HD 4000 while InterFrame is running on the Radeon 7670M, and both are capped at 100%, so perhaps it's best this way.
tormento
5th September 2015, 21:43
Always first try with use_D3D set to false and set it to true only if a decoder creation error is encountered.
Tried. Error: Failed to find CUDA D3D device.
P.S: If you prefer I'm italian too. I can't PM you but you can PM me with some email address to continue thread
MysteryX
5th September 2015, 23:41
0.6.2 works for me.
Sparktank
6th September 2015, 00:57
Tried. Error: Failed to find CUDA D3D device.
Tried re-install?
Advanced -> "clean" install.
Sparktank
6th September 2015, 01:01
NLMeans degrades to something like "Motion Flow" (pixel wise motion compensation) by setting A=0 (spatial processing disabled)
and the jerky lines are just common motion flow artifacts
solution: enable spatial processing, pick an A value greater than 0
:cool:Noted!
I don't play with much parameters for this, aside from "h".
But since all the updates, I decided to play a little more with different settings.
tormento
6th September 2015, 01:08
Tried re-install?
Advanced -> "clean" install.
Windows 10 enterprise x64 clean install, one week life.
kalehrl
6th September 2015, 09:58
You have to install the "Visual C++ Redistributable Package for Visual Studio 2013 (http://www.microsoft.com/en-us/download/details.aspx?id=40784)".
Thanks.
I installed those packages and it works now, sort of.
I get preview in avspmod and when I load the script in megui I also get the preview and no error.
However, when I start encoding, this is the error I get:
---[Error] [6.9.2015. 10.54.46] avs [error]: Script error: there is no function named "KNLMeansCL"
---[Information] [6.9.2015. 10.54.46] (C:\Users\kaleh\Desktop\20131112_-_TOP_GEAR_cut_out-muxed.mkv.avs, line 7)
--[Error] [6.9.2015. 10.54.46] Process exits with error: 0xFFFFFFFF (-1)
--[Warning] [6.9.2015. 10.54.46] The 64 bit mode of x264 is enabled. Depending on the error it may help to disable it in the MeGUI settings.
--[Information] [6.9.2015. 10.54.46] Job completed
I tried disabling 64 bit mode of x264 in megui but it still doesn't work.
EDIT: x264 encoding gives me this error but xvid works fine.
Khanattila
6th September 2015, 11:11
This is what I get with ./configure and make
http://pastebin.com/tn4zzUx4
warning: pkg-config or pc files not found, lib detection may be inaccurate.
sudo apt-get install pkg-config ocl-icd-*
./configure
make
sudo make install
Khanattila
6th September 2015, 11:31
I'm currently running KNLMeans on a very noisy 1080p video and it's running very slowly with the GPU topping at 100%. I have a dual-graphics with Intel HD 4000 and Radeon 7670M, and you're using the Intel HD by default.
You say I have to change the default OpenCL device for my system? How do I do that?
Actually, right now KNLMeans is running on the Intel HD 4000 while InterFrame is running on the Radeon 7670M, and both are capped at 100%, so perhaps it's best this way.
For "unknown" reasons, Intel driver set itself as default device.
Now I not find the publication but I will change the system of the plugin soon.
Khanattila
6th September 2015, 11:34
Tried. Error: Failed to find CUDA D3D device.
P.S: If you prefer I'm italian too. I can't PM you but you can PM me with some email address to continue thread
Ok, PM.
Khanattila
6th September 2015, 11:38
Thanks.
I installed those packages and it works now, sort of.
I get preview in avspmod and when I load the script in megui I also get the preview and no error.
However, when I start encoding, this is the error I get:
---[Error] [6.9.2015. 10.54.46] avs [error]: Script error: there is no function named "KNLMeansCL"
---[Information] [6.9.2015. 10.54.46] (C:\Users\kaleh\Desktop\20131112_-_TOP_GEAR_cut_out-muxed.mkv.avs, line 7)
--[Error] [6.9.2015. 10.54.46] Process exits with error: 0xFFFFFFFF (-1)
--[Warning] [6.9.2015. 10.54.46] The 64 bit mode of x264 is enabled. Depending on the error it may help to disable it in the MeGUI settings.
--[Information] [6.9.2015. 10.54.46] Job completed
I tried disabling 64 bit mode of x264 in megui but it still doesn't work.
EDIT: x264 encoding gives me this error but xvid works fine.
I tried MeGUI and it works. What version of AviSynth?
However it should MeGUI problem, not my.
YAFU
6th September 2015, 14:42
@Khanattila, Thanks for your time.
I have these packages installed.
I've done more tests, I reinstalled Intel OpenCL. I am using this script:
import vapoursynth as vs
core = vs.get_core()
clp = core.imwri.Read('/media/TEMPORAL/images_16/%04d.png', firstnum=1, alpha=False)
clp = core.fmtc.bitdepth (clp, bits=32, fulls=True, fulld=True, flt=True)
clp = core.knlm.KNLMeansCL(clp, d=3, a=12, s=4, h=6.4, device_type="CPU")
clp.set_output ()
With "GPU" I keep getting the same error I had told you in message #360. With "CPU" Check Script is ok and shows no errors (like GPU), but with "Preview" sometimes vsedit is closed with the same error that shows "GPU" and sometimes shows the next message:
Failed to evaluate the script:
Python exception: No attribute with the name imwri exists. Did you mistype a plugin namespace?
Traceback (most recent call last):
File "vapoursynth.pyx", line 1469, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:23703)
File "/media/TEMPORAL/script.vpy", line 9, in <module>
clp = core.imwri.Read('/media/TEMPORAL/images_16/%04d.png', firstnum=1, alpha=False)
File "vapoursynth.pyx", line 1090, in vapoursynth.Core.__getattr__ (src/cython/vapoursynth.c:18137)
AttributeError: No attribute with the name imwri exists. Did you mistype a plugin namespace?
That's weird, because I have "imwri" installed and it works well with the other script I mentioned in mv tools thread.
Have you tried this script with images? Are this script working on your computer?
Then I tried with videos using this script:
import vapoursynth as vs
core = vs.get_core()
##ffmpeg with ffms2
core.std.LoadPlugin('/usr/lib/x86_64-linux-gnu/libffms2.so.3')
clp = core.ffms2.Source(source='/media/TEMPORAL/test.mp4')
clp = core.knlm.KNLMeansCL(clp, d=3, a=12, s=4, h=6.4, device_type="GPU")
clp.set_output ()
This is somewhat slow (0.6 fps in GPU), but KNLMeansCL is working well with videos both, CPU and GPU.
So, do you have any idea why it does not work with images and "imwri"?
sl1pkn07
6th September 2015, 17:16
I get
vspipe: symbol lookup error: /usr/lib/vapoursynth/libknlmeanscl.so: undefined symbol: GOMP_parallel
when use script above with this http://forum.doom9.org/showthread.php?p=1736990#post1736990 files
YAFU
6th September 2015, 18:30
Same error then.
With these 16 bit png, How could I create some kind of lossless video keeping the 16-bit color depth? Perhaps with ffmpeg, but how?
This I say for apply to the obtained video the KNLMeansCL script for videos.
poisondeathray
6th September 2015, 20:07
With these 16 bit png, How could I create some kind of lossless video keeping the 16-bit color depth? Perhaps with ffmpeg, but how?
This I say for apply to the obtained video the KNLMeansCL script for videos.
you can use ffv1 in ffmpeg, which supports many configurations including 16bits/channel
eg it might look something like this
ffmpeg -r 24 -i "media/TEMPORAL/images_16/%04d.png" -start_number 0 -c:v ffv1 -an ffv1_output.avi
sl1pkn07
6th September 2015, 20:21
if add
clp = core.fmtc.matrix(clp, mat="709", col_fam=vs.YUV)
works ok (if use info=False)
----
i have a little trouble
i have installed generic OpenCL from ocl-icd, cuda 7 (for nvidia OpenCL) and Intel OpenCL 15.1 (for CPU OpenCL)
when use device_type="DEFAULT" works Ok (use GPU), when use device_type="CPU" works Ok (use CPU). but when use device_type="GPU" get segfault in libOpenCL.so
segfault at abacadc3 ip 00007fa5958511f8 sp 00007fff93d4d648 error 4 in libOpenCL.so[7fa59584f000+5000]
I'm not sure what libOpencl.so fails
/opt/cuda/lib64/libOpenCL.so
/opt/cuda/lib64/libOpenCL.so.1
/opt/intel/opencl-1.2-5.0.0.57/lib64/libOpenCL.so
/opt/intel/opencl-1.2-5.0.0.57/lib64/libOpenCL.so.1
/opt/intel/opencl-1.2-5.0.0.57/lib64/libOpenCL.so.1.2
/usr/lib/libOpenCL.so
/usr/lib/libOpenCL.so.1
/usr/lib/libOpenCL.so.1.0.0
any help?
greetings
foxyshadis
7th September 2015, 01:18
@Khanattila, Thanks for your time.
I have these packages installed.
I've done more tests, I reinstalled Intel OpenCL. I am using this script:
import vapoursynth as vs
core = vs.get_core()
clp = core.imwri.Read('/media/TEMPORAL/images_16/%04d.png', firstnum=1, alpha=False)
clp = core.fmtc.bitdepth (clp, bits=32, fulls=True, fulld=True, flt=True)
clp = core.knlm.KNLMeansCL(clp, d=3, a=12, s=4, h=6.4, device_type="CPU")
clp.set_output ()
With "GPU" I keep getting the same error I had told you in message #360. With "CPU" Check Script is ok and shows no errors (like GPU), but with "Preview" sometimes vsedit is closed with the same error that shows "GPU" and sometimes shows the next message:
Failed to evaluate the script:
Python exception: No attribute with the name imwri exists. Did you mistype a plugin namespace?
Traceback (most recent call last):
File "vapoursynth.pyx", line 1469, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:23703)
File "/media/TEMPORAL/script.vpy", line 9, in <module>
clp = core.imwri.Read('/media/TEMPORAL/images_16/%04d.png', firstnum=1, alpha=False)
File "vapoursynth.pyx", line 1090, in vapoursynth.Core.__getattr__ (src/cython/vapoursynth.c:18137)
AttributeError: No attribute with the name imwri exists. Did you mistype a plugin namespace?
That's weird, because I have "imwri" installed and it works well with the other script I mentioned in mv tools thread.
Have you tried this script with images? Are this script working on your computer?
Might be worth running under valgrind and/or gdb to see if anything strange pops out, especially if you can rebuild everything as debug. There's no good reason imwri should fail to load unless something weird is going on.
Khanattila
7th September 2015, 18:27
https://github.com/Khanattila/KNLMeansCL/releases/tag/v0.6.3
Another day of bug-fixes.
Khanattila
7th September 2015, 18:38
I get random crash when using 64-bit vspipe with the following script. When either cmode=False or using 32-bit vspipe, crash doesn't happen.
import vapoursynth as vs
core = vs.get_core()
clip = core.std.BlankClip(format=vs.YUV444P16)
clip = core.knlm.KNLMeansCL(clip, cmode=True)
clip.set_output()
Simply use the following command and repeat it a few times.
vspipe -p foo.vpy NUL
OS: Win10 Pro x64
GPU: GeForce GTX 660
Driver: 355.82
Confirmed.
Khanattila
7th September 2015, 21:34
if add
clp = core.fmtc.matrix(clp, mat="709", col_fam=vs.YUV)
works ok (if use info=False)
----
i have a little trouble
i have installed generic OpenCL from ocl-icd, cuda 7 (for nvidia OpenCL) and Intel OpenCL 15.1 (for CPU OpenCL)
when use device_type="DEFAULT" works Ok (use GPU), when use device_type="CPU" works Ok (use CPU). but when use device_type="GPU" get segfault in libOpenCL.so
segfault at abacadc3 ip 00007fa5958511f8 sp 00007fff93d4d648 error 4 in libOpenCL.so[7fa59584f000+5000]
I'm not sure what libOpencl.so fails
/opt/cuda/lib64/libOpenCL.so
/opt/cuda/lib64/libOpenCL.so.1
/opt/intel/opencl-1.2-5.0.0.57/lib64/libOpenCL.so
/opt/intel/opencl-1.2-5.0.0.57/lib64/libOpenCL.so.1
/opt/intel/opencl-1.2-5.0.0.57/lib64/libOpenCL.so.1.2
/usr/lib/libOpenCL.so
/usr/lib/libOpenCL.so.1
/usr/lib/libOpenCL.so.1.0.0
any help?
greetings
Use device_id in the v0.6.3 :sly:
sl1pkn07
7th September 2015, 21:54
yep, but have another little trouble with 0.6.3
when try to use with vsedit, when run in a first time, the preview window (F5) works ok, but when close the preview window, and change anything in the the script (or just reload the preview without changes), vsedit it hangs/freezes.
only happens when try to load the preview in a second time,
tested with CPU, GPU, ALL, DEFAULT (including setting the device_id)
YAFU
7th September 2015, 23:32
@poisondeathray, thanks for that command.
@foxyshadis, if I comment the line containing "core.fmtc.bitdepth" and add the line suggested by sl1pkn07, the script works. Thanks sl1pkn07.
@Khanattila, Nice speed improvement on my system with 0.6.3. With the value "a=12" in the script, before 0.6 fps. Now 6 fps! Now I can do some testings with more comfort.
The only problem that remains, if I use a greater than 4 value in "s", it does not work and I get the message "pipe:: Invalid data found when processing input". Is 4 the maximum value that can take "s"?
Khanattila
7th September 2015, 23:54
@poisondeathray, thanks for that command.
@foxyshadis, if I comment the line containing "core.fmtc.bitdepth" and add the line suggested by sl1pkn07, the script works. Thanks sl1pkn07.
@Khanattila, Nice speed improvement on my system with 0.6.3. With the value "a=12" in the script, before 0.6 fps. Now 6 fps! Now I can do some testings with more comfort.
The only problem that remains, if I use a greater than 4 value in "s", it does not work and I get the message "pipe:: Invalid data found when processing input". Is 4 the maximum value that can take "s"?
Yes, for hardware performance limitations.
For bigger s I need to implement a transpose kernel.
But original Non-local means use s=3, it is not a great limitation.
You have 0.6 fps when using the CPU instead of the GPU.
Khanattila
7th September 2015, 23:59
yep, but have another little trouble with 0.6.3
when try to use with vsedit, when run in a first time, the preview window (F5) works ok, but when close the preview window, and change anything in the the script (or just reload the preview without changes), vsedit it hangs/freezes.
only happens when try to load the preview in a second time,
tested with CPU, GPU, ALL, DEFAULT (including setting the device_id)
:script: :logfile:
I have to first be able to replicate it.
YAFU
8th September 2015, 01:04
You have 0.6 fps when using the CPU instead of the GPU.
No no, I was getting 0.6 with GPU. With CPU even less. Now CPU=0.5 fps and GPU=6 fps. But for that there is no doubt I just compile and install 0.6.2 again:
(GPU: GTX 960; CPU: i7 3770)
0.6.2:
CPU= wait a minute and it does not even start...
GPU= 0.6 fps
0.6.3:
CPU= 0.5 fps
GPU= 6 fps
I do not know what has changed in the code of the new version.
sl1pkn07
8th September 2015, 05:37
:script: :logfile:
I have to first be able to replicate it.
any script who uses knlmeanscl? XD
feisty2
8th September 2015, 05:52
I do, but it works just fine on windows
tormento
8th September 2015, 11:04
I put my previous Win8.1_x64 booting disk in my PC. Same HW configuration, same encoding plugins, etc. Everything works as it should.
So, I have done some research with Google and I have found the following in the Blender forum:
Blender uses CUDA 6.5, but it does not support win10 officially.
CUDA Toolkit 6.5
win10 should be supported by CUDA7.5RC.
nVidia Developer Zone
It does not think it's strange even if an error occurs in my opinion.
If any has ideas on how to solve this problem, please give hint.
Khanattila
8th September 2015, 11:12
Apparently the parameter "d" loses its functionality with 0.6.3 in VapourSynth. Check it with info=True. No matter what value you set, "D" is always displaying 1. That's the reason why YAFU got false speed improvement.
Here's what happens to have little experience with vapoursynth. :rolleyes:
https://github.com/Khanattila/KNLMeansCL/releases/tag/v0.6.3-1
Khanattila
8th September 2015, 16:50
I get random crash when using 64-bit vspipe with the following script. When either cmode=False or using 32-bit vspipe, crash doesn't happen.
import vapoursynth as vs
core = vs.get_core()
clip = core.std.BlankClip(format=vs.YUV444P16)
clip = core.knlm.KNLMeansCL(clip, cmode=True)
clip.set_output()
Simply use the following command and repeat it a few times.
vspipe -p foo.vpy NUL
OS: Win10 Pro x64
GPU: GeForce GTX 660
Driver: 355.82
Confirmed.
Seems like vspipe does not like openmp.
sl1pkn07
8th September 2015, 19:40
I put my previous Win8.1_x64 booting disk in my PC. Same HW configuration, same encoding plugins, etc. Everything works as it should.
So, I have done some research with Google and I have found the following in the Blender forum:
If any has ideas on how to solve this problem, please give hint.
try with the new cuda released today https://developer.nvidia.com/cuda-toolkit
videoh
8th September 2015, 22:12
DGDecNV has to be rebuilt with CUDA 7.5, but even then there is no guarantee. It's just something to try. Sadly I can't say when I would have time to do this. Also, CUDA 7.5 will lose the compute sm_1x cards, such as the GT 220. nVidia does not have a solution for this problem, and I'm not keen to maintain multiple versions. I could go back to SW for the DGIndexNV display code and ditch CUDA (not CUVID!) but I'm not keen on that either. :(
Myrsloik
8th September 2015, 22:17
Seems like vspipe does not like openmp.
Try it again with r28 test 2. It may work. Or maybe not...
Khanattila
8th September 2015, 22:53
Try it again with r28 test 2. It may work. Or maybe not...
I'll try, alternatively I could use some SIMD instructions but I do not have much experience.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.