PATHGPU with OpenCL and CUDA support

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

Re: PATHGPU with OpenCL and CUDA support

Post by Dade » Mon Apr 27, 2020 12:38 pm

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
Posts: 134
Joined: Thu Jan 02, 2020 6:23 pm

Re: PATHGPU with OpenCL and CUDA support

Post by juangea » Mon Apr 27, 2020 2:15 pm

Question, is CUDA only supported on windows yet?

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

Re: PATHGPU with OpenCL and CUDA support

Post by Dade » Mon Apr 27, 2020 2:20 pm

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
Posts: 134
Joined: Thu Jan 02, 2020 6:23 pm

Re: PATHGPU with OpenCL and CUDA support

Post by juangea » Mon Apr 27, 2020 2:30 pm

Ok, understood.

Will wait then :)

Thanks!

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

Re: PATHGPU with OpenCL and CUDA support

Post by Odilkhan Yakubov » 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
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)

Casper
Posts: 12
Joined: Sun Apr 19, 2020 7:59 am

Re: PATHGPU with OpenCL and CUDA support

Post by Casper » Mon Apr 27, 2020 5:13 pm

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
Posts: 3555
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: PATHGPU with OpenCL and CUDA support

Post by B.Y.O.B. » 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.

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

Re: PATHGPU with OpenCL and CUDA support

Post by Odilkhan Yakubov » Mon Apr 27, 2020 5:34 pm

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?
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
u3dreal
Developer
Posts: 396
Joined: Tue Dec 03, 2019 3:23 pm
Location: Ulm
Contact:

Re: PATHGPU with OpenCL and CUDA support

Post by u3dreal » Tue Apr 28, 2020 5:51 pm

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 - High Sierra
Xeon X5650@4Ghz, 2x GTX 770 Phantom - 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 » Tue Apr 28, 2020 7:06 pm

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