PATHGPU with OpenCL and CUDA support

Discussion related to the LuxCore functionality, implementations and API.
epilectrolytics
Donor
Posts: 703
Joined: Thu Oct 04, 2018 6:06 am

Re: PATHGPU with OpenCL and CUDA support

Post by epilectrolytics » Wed Apr 29, 2020 9:22 am

u3dreal wrote:
Wed Apr 29, 2020 9:19 am
Can you run blender from terminal and post the output ?

Sorry for being so dense but I have no Idea how to use the terminal, there's zero UNIX knowledge.
If you post me a string I will type it in and we'll see what happens :lol:

I'm behind with the driver but it says "no newer driver available" ?
Screen Shot 2020-04-29 at 11.24.52.png

epilectrolytics
Donor
Posts: 703
Joined: Thu Oct 04, 2018 6:06 am

Re: PATHGPU with OpenCL and CUDA support

Post by epilectrolytics » Wed Apr 29, 2020 9:37 am

u3dreal wrote:
Wed Apr 29, 2020 9:19 am
Can you run blender from terminal and post the output ?
Found out how to do it (right-click on executable and choose: open with terminal)

Code: Select all

[LuxRays][29.909] [BVHKernel] Compiling kernels
[LuxRays][29.910] [BVHKernel] CUDA program compilation error: 
nvrtc: error: failed to open libnvrtc-builtins.dylib.
  Make sure that libnvrtc-builtins.dylib is installed correctly.
Traceback (most recent call last):
  File "/Users/me/Library/Application Support/Blender/2.82/scripts/addons/BlendLuxCore/engine/base.py", line 83, in render_final
    final.render(self, depsgraph)
  File "/Users/me/Library/Application Support/Blender/2.82/scripts/addons/BlendLuxCore/engine/final.py", line 49, in render
    _render_layer(engine, depsgraph, statistics, layer)
  File "/Users/me/Library/Application Support/Blender/2.82/scripts/addons/BlendLuxCore/engine/final.py", line 73, in _render_layer
    engine.session.Start()
RuntimeError: BVHKernel CUDA program compilation error
ERROR: BVHKernel CUDA program compilation error
[LuxRays][29.921] WARNING: there is a memory leak in LuxRays HardwareDevice GeForce GT 750M CUDAIntersect: 896bytes
This is the CUDA installation:
Screen Shot 2020-04-29 at 11.42.13.png
Update:
I'm pretty sure your higher driver number results from CUDA 10.2 instead of 10.1 toolkit installed!
Going to try...

acasta69
Developer
Posts: 329
Joined: Tue Jan 09, 2018 3:45 pm

Re: PATHGPU with OpenCL and CUDA support

Post by acasta69 » Wed Apr 29, 2020 10:06 am

Version 418 seems compatible with 10.1 toolkit, see here:
https://docs.nvidia.com/cuda/cuda-toolk ... index.html
Versions are not shown for MacOS, but I guess major number cannot differ too much.

If you build with toolkit 10.2, you are probably going to need an updated driver.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87

User avatar
u3dreal
Developer
Posts: 411
Joined: Tue Dec 03, 2019 3:23 pm
Location: Ulm
Contact:

Re: PATHGPU with OpenCL and CUDA support

Post by u3dreal » Wed Apr 29, 2020 11:09 am

I really will have check with my other mac. In theory it should work ... since i also just installed 10.1
I think i downgraded to 10.1 since Dade suggested that somewhere for compilation.
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/


MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - High Sierra
Xeon X5650@4Ghz, 2x GTX 770 Phantom RX 5700 - Catalina / High Sierra, Windows 10, Ubuntu 18.04

epilectrolytics
Donor
Posts: 703
Joined: Thu Oct 04, 2018 6:06 am

Re: PATHGPU with OpenCL and CUDA support

Post by epilectrolytics » Wed Apr 29, 2020 11:15 am

epilectrolytics wrote:
Wed Apr 29, 2020 9:37 am
I'm pretty sure your higher driver number results from CUDA 10.2 instead of 10.1 toolkit installed!
Going to try...
Nonsense.
CUDA 10.2 comes with a 440.xxx driver and then the add-on asks for the 10.1 lib, so no success.
But I cannot find where the 418.243 comes from?
In nVidia's archive the 418.163 is the highest available.

Restored to pre-cuda state, but kept the 10.1 dmg in case... :lol:

User avatar
Dade
Developer
Posts: 4392
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: PATHGPU with OpenCL and CUDA support

Post by Dade » Wed Apr 29, 2020 11:19 am

epilectrolytics wrote:
Wed Apr 29, 2020 11:15 am
epilectrolytics wrote:
Wed Apr 29, 2020 9:37 am
I'm pretty sure your higher driver number results from CUDA 10.2 instead of 10.1 toolkit installed!
Going to try...
Nonsense.
CUDA 10.2 comes with a 440.xxx driver and then the add-on asks for the 10.1 lib, so no success.
But I cannot find where the 418.243 comes from?
In nVidia's archive the 418.163 is the highest available.

Restored to pre-cuda state, but kept the 10.1 dmg in case... :lol:
It is not a driver problem, the DLLs are included only in NVIDIA CUDA SDK so or they are included in BlendLuxCore (like on Windows) or you need to install CUDA SDK.
Support LuxCoreRender project with salts and bounties

epilectrolytics
Donor
Posts: 703
Joined: Thu Oct 04, 2018 6:06 am

Re: PATHGPU with OpenCL and CUDA support

Post by epilectrolytics » Wed Apr 29, 2020 11:26 am

Dade wrote:
Wed Apr 29, 2020 11:19 am
It is not a driver problem, the DLLs are included only in NVIDIA CUDA SDK so or they are included in BlendLuxCore (like on Windows) or you need to install CUDA SDK.
Yes, I have the SDK installed and the DLL (dylib on a Mac) is there but the add-on cannot find it on my machine but it does on u3dreal's machine...
If it is only this single library including it in BlendLuxCore OSX would be preferable than needing a 4GB SDK installation (smaller install is possible, but beyond my skills).

User avatar
Odilkhan Yakubov
Posts: 100
Joined: Fri Jan 26, 2018 10:07 pm
Location: Tashkent, Uzbekistan

Re: PATHGPU with OpenCL and CUDA support

Post by Odilkhan Yakubov » Wed Apr 29, 2020 11:29 am

Why kernels always compiling on every new scene or when re-open Blender itself? It goesaround 5-10 minutes for compiling everytime :(
Allah bless us!

CPU: Core 2 Quad Q6600 @2.4Ghz
GPU: MSI GTX 1060 6Gb GDDR5 192bit
RAM: 3Gb DDR2 800Mhz (too old :( )
OS: Win7 64bit
Blender: 2.82a (2.90 too)
LuxCore: v2.3 (using Latest build sometimes too)

User avatar
Dade
Developer
Posts: 4392
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: PATHGPU with OpenCL and CUDA support

Post by Dade » Wed Apr 29, 2020 11:47 am

epilectrolytics wrote:
Wed Apr 29, 2020 11:26 am
Dade wrote:
Wed Apr 29, 2020 11:19 am
It is not a driver problem, the DLLs are included only in NVIDIA CUDA SDK so or they are included in BlendLuxCore (like on Windows) or you need to install CUDA SDK.
Yes, I have the SDK installed and the DLL (dylib on a Mac) is there but the add-on cannot find it on my machine but it does on u3dreal's machine...
If it is only this single library including it in BlendLuxCore OSX would be preferable than needing a 4GB SDK installation (smaller install is possible, but beyond my skills).
There are 2 DLLs used: nvrtc and nvrtc builtins.
Support LuxCoreRender project with salts and bounties

marcatore
Donor
Posts: 415
Joined: Wed Jan 10, 2018 8:04 am

Re: PATHGPU with OpenCL and CUDA support

Post by marcatore » Wed Apr 29, 2020 12:36 pm

I've problem with bump and HSV nodes.

I've opened this on BlendLuxCore but actually I don't know if it's something related more to LuxCore itself or Blender addon.
https://github.com/LuxCoreRender/BlendL ... issues/436

Anyway I report this.

Post Reply