Page 5 of 8

Re: PATHGPU with OpenCL and CUDA support

Posted: Mon Apr 27, 2020 12:38 pm
by Dade
juangea wrote: Mon Apr 27, 2020 10:57 am My feeling is that it's also a bit faster in lux, and the progressive tile seemed even more convinient, but it has some flaws right now, however I don't have a proper correct comparison to be completely sure about tile rendering being actually faster for real.

Anyways I like it more in general, but we don't use it because it has some problems, like leaving unfinished tiles or non properly finished tiles or parts, and of course, not supporting Light Tracing :)
I'm working on this topic. Random/Sobol samplers will have 2 different modes: a progressive one (like now) and a tiled cache-friendly one (to use mostly with out-of-core rendering but not only):

tile.jpg

Re: PATHGPU with OpenCL and CUDA support

Posted: Mon Apr 27, 2020 2:15 pm
by juangea
Question, is CUDA only supported on windows yet?

Re: PATHGPU with OpenCL and CUDA support

Posted: Mon Apr 27, 2020 2:20 pm
by Dade
juangea wrote: Mon Apr 27, 2020 2:15 pm Question, is CUDA only supported on windows yet?
No, I work always on Linux. The Linux automatic builds are missing CUDA support because we are lacking a Linux maintainer and I haven't yet found the time to update the compilation process for Linux.

Re: PATHGPU with OpenCL and CUDA support

Posted: Mon Apr 27, 2020 2:30 pm
by juangea
Ok, understood.

Will wait then :)

Thanks!

Re: PATHGPU with OpenCL and CUDA support

Posted: Mon Apr 27, 2020 5:02 pm
by Odilkhan Yakubov
I've downloaded latest build and run it. It shows me on the Blender scene:
Cant compile. Nvrct_builtins64_101 not installed.
What does mean?
Specs: C2Q Q6600 and Gtx 1060 6gb

Re: PATHGPU with OpenCL and CUDA support

Posted: Mon Apr 27, 2020 5:13 pm
by Casper
Odilkhan Yakubov wrote: Mon Apr 27, 2020 5:02 pm I've downloaded latest build and run it. It shows me on the Blender scene:
Cant compile. Nvrct_builtins64_101 not installed.
What does mean?
Specs: C2Q Q6600 and Gtx 1060 6gb
The file Nvrct_builtins64_101 is in [bin] repertory of BlendLuxCore.

One possibility is to define a new PATH and add the repertory [users/user/appData/Roaming/Blender Foundation/Blender/2.82/scripts/addons/blendLuxCore/bin] in windows PATH variable.

>>>
"In Search, launched a search and found: System (Control Panel)
Click the Advanced System Settings link.
Click Environment Variables. In the System Variables section, locate and detect the PATH environment variable. Click on Edit. If the PATH environment variable does not exist, click New.
In the Modify system variable (or New system variable) window, specify the value of the PATH environment variable. Click on OK. Close all remaining windows by clicking OK."

Re: PATHGPU with OpenCL and CUDA support

Posted: Mon Apr 27, 2020 5:21 pm
by B.Y.O.B.
With the latest fix I pushed, it should not be necessary to modify PATH.
Make sure you have the latest build of the BlendLuxCore code.

Re: PATHGPU with OpenCL and CUDA support

Posted: Mon Apr 27, 2020 5:34 pm
by Odilkhan Yakubov
B.Y.O.B. wrote: Mon Apr 27, 2020 5:21 pm With the latest fix I pushed, it should not be necessary to modify PATH.
Make sure you have the latest build of the BlendLuxCore code.
Now its working. Is this use now CUDA Compiler or Opencl? I mean Cycles uses CUDA if we enable CUDA on UserPref and there here Lux has (CUDA) option enabled. Just why Lux hasnt reacted as Cycles now?

Re: PATHGPU with OpenCL and CUDA support

Posted: Tue Apr 28, 2020 5:51 pm
by u3dreal
For those on MacOS HighSierra here is a cuda compiled version.
http://q3de.com/research/luxcorerender- ... 0-13-only/

Re: PATHGPU with OpenCL and CUDA support

Posted: Tue Apr 28, 2020 7:06 pm
by epilectrolytics
u3dreal wrote: Tue Apr 28, 2020 5:51 pm For those on MacOS HighSierra here is a cuda compiled version.
Thanks for providing this!
But it will not install on my MacBook 10.13.6 with Blender 2.82a:

Code: Select all

bpy.data.window_managers["WinMan"].addon_filter = 'Render'
Traceback (most recent call last):
  File "/Applications/Renderer/Blender.app/Contents/Resources/2.82/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/Users/me/Library/Application Support/Blender/2.82/scripts/addons/BlendLuxCore/__init__.py", line 50, in <module>
    raise Exception(msg + "\n\nImportError: %s" % error) from None
Exception: 

Could not import pyluxcore.

ImportError: dlopen(/Users/me/Library/Application Support/Blender/2.82/scripts/addons/BlendLuxCore/bin/pyluxcore.so, 2): Library not loaded: @rpath/libnvrtc.10.1.dylib
  Referenced from: /Users/me/Library/Application Support/Blender/2.82/scripts/addons/BlendLuxCore/bin/pyluxcore.so
  Reason: image not found