Page 7 of 8

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 9:22 am
by epilectrolytics
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

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 9:37 am
by epilectrolytics
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...

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 10:06 am
by acasta69
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.

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 11:09 am
by u3dreal
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.

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 11:15 am
by epilectrolytics
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:

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 11:19 am
by Dade
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.

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 11:26 am
by epilectrolytics
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).

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 11:29 am
by Odilkhan Yakubov
Why kernels always compiling on every new scene or when re-open Blender itself? It goesaround 5-10 minutes for compiling everytime :(

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 11:47 am
by Dade
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.

Re: PATHGPU with OpenCL and CUDA support

Posted: Wed Apr 29, 2020 12:36 pm
by marcatore
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.