PATHGPU with OpenCL and CUDA support

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: PATHGPU with OpenCL and CUDA support

Post 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
Support LuxCoreRender project with salts and bounties
juangea
Donor
Donor
Posts: 332
Joined: Thu Jan 02, 2020 6:23 pm

Re: PATHGPU with OpenCL and CUDA support

Post by juangea »

Question, is CUDA only supported on windows yet?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: PATHGPU with OpenCL and CUDA support

Post 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.
Support LuxCoreRender project with salts and bounties
juangea
Donor
Donor
Posts: 332
Joined: Thu Jan 02, 2020 6:23 pm

Re: PATHGPU with OpenCL and CUDA support

Post by juangea »

Ok, understood.

Will wait then :)

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

Re: PATHGPU with OpenCL and CUDA support

Post 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
___________________________________________________________________________
LuxCoreRender Developer for Blender
___________________________________________________________________________
Casper
Posts: 13
Joined: Sun Apr 19, 2020 7:59 am

Re: PATHGPU with OpenCL and CUDA support

Post 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."
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: PATHGPU with OpenCL and CUDA support

Post 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.
User avatar
Odilkhan Yakubov
Posts: 208
Joined: Fri Jan 26, 2018 10:07 pm
Location: Tashkent, Uzbekistan

Re: PATHGPU with OpenCL and CUDA support

Post 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?
___________________________________________________________________________
LuxCoreRender Developer for Blender
___________________________________________________________________________
User avatar
u3dreal
Developer
Developer
Posts: 560
Joined: Tue Dec 03, 2019 3:23 pm
Location: Ulm
Contact:

Re: PATHGPU with OpenCL and CUDA support

Post by u3dreal »

For those on MacOS HighSierra here is a cuda compiled version.
http://q3de.com/research/luxcorerender- ... 0-13-only/
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/


MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: PATHGPU with OpenCL and CUDA support

Post 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
Post Reply