Unable to initialise CUDA


#1

I keep getting this message every time I start the application (Windows 10). I have installed the base CUDA and patch 4 and I can run the nbody demo. I’ve tried running as a normal and an admin user but I’m not getting anywhere.
Please help!
Thanks


#2

And if I try to render something anyway the ‘Artwork is created…’ dialog hangs forever even though the purple bar is still moving.

Debug log looks like this:
2019-05-04 13:54:10,373 INFO c.d.d.Main [main] Starting Deep Art Effects for Desktop - GPU
2019-05-04 13:54:10,931 DEBUG o.s.o.w.WindowsOSVersionInfoEx [main] Initialized OSVersionInfoEx
2019-05-04 13:54:11,684 DEBUG o.h.c.AbstractCentralProcessor [main] Oracle MXBean detected.
2019-05-04 13:54:11,717 DEBUG o.h.p.w.WindowsCentralProcessor [main] Initialized Processor
2019-05-04 13:54:11,721 INFO c.d.d.Main [main]

OS: Microsoft Windows 64Bit Version: 10
RAM: 9136MB of 16243MB available
CPU: Intel64 Family 6 Model 94 Stepping 3 with 8 cores
DISK: 34681MB usable of 34681MB free of 236536MB total space
%JAVA HOME%:null
%PATH%: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\libnvvp;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\QuickTime\QTSystem;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\OpenVPN\bin;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\Calibre2;d:\Program Files (x86)\Gpg4win…\GnuPG\bin;C:\Users\Root\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Java\jre1.8.0_211\bin

2019-05-04 13:54:11,724 INFO c.d.d.Main [main] Running on 64bit - Windows 10!
2019-05-04 13:54:11,725 INFO c.d.d.Main [main] JAVA: 1.8.0_211 - 64bit JVM
2019-05-04 13:54:11,779 DEBUG c.d.d.u.g [main] loading english!
2019-05-04 13:54:11,779 DEBUG c.d.d.u.g [main] LOADING LANGUGAGE FROM: /lang/en_US.properties
2019-05-04 13:54:11,781 DEBUG c.d.d.u.g [main] LOADING LANGUGAGE FROM: /lang/en_GB.properties
2019-05-04 13:54:11,782 DEBUG c.d.d.u.g [main] loading english!
2019-05-04 13:54:11,782 ERROR c.d.d.u.e [main] java.lang.NullPointerException
2019-05-04 13:54:11,782 ERROR c.d.d.u.e [main] at java.io.Reader.(Unknown Source)
2019-05-04 13:54:11,783 ERROR c.d.d.u.e [main] at java.io.InputStreamReader.(Unknown Source)
2019-05-04 13:54:11,783 ERROR c.d.d.u.e [main] at com.deeparteffects.desktopapp.util.g.a(Unknown Source)
2019-05-04 13:54:11,783 ERROR c.d.d.u.e [main] at com.deeparteffects.desktopapp.Main.main(Unknown Source)
2019-05-04 13:54:11,783 DEBUG c.d.d.u.g [main] LOADING LANGUGAGE FROM: /lang/en_US.properties
2019-05-04 13:54:11,785 DEBUG c.d.d.Main [main] User Agent: Deep-Art-Effects-Desktop/1.0.14 (windows)
2019-05-04 13:54:11,907 DEBUG c.d.r.d [main] initializing renderingManager…
2019-05-04 13:54:11,908 DEBUG c.d.r.d [Thread-4] Initializing DeepArtEffects Core…
2019-05-04 13:54:11,911 DEBUG c.d.r.d [main] RenderingManager initialized.
2019-05-04 13:54:12,230 DEBUG c.d.d.b.a [JavaFX Application Thread] initializing Window…
2019-05-04 13:54:12,301 DEBUG c.d.d.b.a [JavaFX Application Thread] initializing GUI…
2019-05-04 13:54:12,672 DEBUG c.d.d.b.a [JavaFX Application Thread] GUI initialized!
2019-05-04 13:54:12,682 DEBUG c.d.d.b.a [JavaFX Application Thread] Window initialized!
2019-05-04 13:54:12,828 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7984f92-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,829 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985a74-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,829 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985af8-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,830 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985b3a-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,830 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985d24-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,831 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985718-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,831 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985bc1-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,831 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985d78-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,832 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985919-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,832 INFO c.d.r.s.ArtFilter [Thread-5] the style “c79848c7-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,833 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985585-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,833 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7984f2e-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,833 INFO c.d.r.s.ArtFilter [Thread-5] the style “c79850fb-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,834 INFO c.d.r.s.ArtFilter [Thread-5] the style “c798518e-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,834 INFO c.d.r.s.ArtFilter [Thread-5] the style “c7985817-1560-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,834 INFO c.d.r.s.ArtFilter [Thread-5] the style “87c1ca55-1b84-11e7-afe2-06d95fe194ed” is out of date!
2019-05-04 13:54:12,834 INFO c.d.r.s.ArtFilter [Thread-5] the style “” is out of date!
2019-05-04 13:54:12,952 DEBUG c.d.d.b.a [JavaFX Application Thread] checking License…
2019-05-04 13:54:12,953 DEBUG c.d.d.b.a [JavaFX Application Thread] TRID: ce55ddef95d368bf
2019-05-04 13:54:13,102 INFO c.d.d.b.a [Thread-14] newest version: true
2019-05-04 13:54:13,592 DEBUG c.d.d.c.a [Thread-13] tracked
2019-05-04 13:54:13,847 DEBUG c.d.d.c.a [Thread-12] track w/ param
2019-05-04 13:54:18,286 DEBUG c.d.d.Main [Thread-4] Core crashed!
2019-05-04 13:54:18,288 INFO c.d.r.d [Thread-4] DeepArtEffects Core initialized!
2019-05-04 13:55:12,371 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘30f8aaef-1b92-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:12,449 DEBUG c.d.d.c.a [Thread-17] tracked
2019-05-04 13:55:12,496 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘c7984d3c-1560-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:12,513 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘ed8e394f-1b90-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:12,531 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘c7984b32-1560-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:12,545 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘c7984cac-1560-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:12,565 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘c7985759-1560-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:12,579 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘c7985796-1560-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:12,594 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘c79857d7-1560-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:12,608 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘c7985851-1560-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:12,624 INFO c.d.r.s.ArtFilter [JavaFX Application Thread] preview ‘c79859dc-1560-11e7-afe2-06d95fe194ed’ loaded from disk!
2019-05-04 13:55:20,110 DEBUG c.d.r.c [JavaFX Application Thread] starting image renderer!
2019-05-04 13:55:20,110 DEBUG c.d.r.e [JavaFX Application Thread] using ARTFILTER… checking if available!
2019-05-04 13:55:20,112 DEBUG c.d.r.d [JavaFX Application Thread] checking if core is initialized…
2019-05-04 13:55:20,113 INFO c.d.d.u.e [JavaFX Application Thread] inititlized: true
2019-05-04 13:55:20,113 DEBUG c.d.r.d [JavaFX Application Thread] core is initialized!
2019-05-04 13:55:20,113 DEBUG c.d.r.d [JavaFX Application Thread] preparing progressview…
2019-05-04 13:55:20,114 DEBUG c.d.r.d [JavaFX Application Thread] rendering ARTFILTER
2019-05-04 13:55:20,119 ERROR c.d.d.u.e [Thread-23] Exception in thread “Thread-23”
2019-05-04 13:55:20,119 ERROR c.d.d.u.e [Thread-23] java.lang.NullPointerException
2019-05-04 13:55:20,119 ERROR c.d.d.u.e [Thread-23] at com.deeparteffects.rendering.d.a(Unknown Source)
2019-05-04 13:55:20,119 ERROR c.d.d.u.e [Thread-23] at java.lang.Thread.run(Unknown Source)
2019-05-04 13:55:20,716 DEBUG c.d.d.c.a [Thread-22] track w/ param


#3

Any help appreciated, considering that I’ve paid for this and broke a promise to myself never to install Java in any PC I own ever again in order to run it.


#4

Did you also try out the CPU version?


#5

No, I will try it. But the CUDA version should be supported by my hardware.


#6

The GPU instructions for CUDA are wrong

From your debug log you’re mussing one thing called cuDNN

You can get it from here - https://news.developer.nvidia.com/cudnn-7-5-now-available/

There’s a download link near the bottom, it’ll want you to register (I just logged in with my Social Account - GMail?)

Accept the terms and you’ll get list of options - the one you want is the version for CUDA 9.0 (bottom one)

Download it and extract it then MANUALLY copy the file in \bin to …
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin

Do this for the include and lib directories as well and the files in those putting them in the toolkit’s include + lib directories like you did with the bin one

Fire up the GPU version and everything (hopefully) works

In my case first go fell over. I rebooted and tried again and it worked using the GPU.

I’ve got a short (360x360 x 1024 frames) video file I use to test that takes 24 mins to process on my 5 year old laptop

The GPU is also five years old (a 845M) and even with such dated kit my test video took 8 mins to process so 3x the speed

More modern CPU + GPU should be much faster than my kit

It’s only taken me three months to work this out and that was only 'cos I was trying to work out another GPU issue - an entire 3 months sub without GPU cos they say don’t install cuDNN for Win10! Not amused


#7

Thank you! Sorry about your pain but thanks for helping me out. That solved the problem.
(CPU version worked too)


#8

We updated the guide accordingly to your suggestion.


#9

That method is only guaranteed to work for @pdduggan as I based the answer on his debug.log

There is a more generalised version I have to test properly