PATHGPU with OpenCL and CUDA support

Discussion related to the LuxCore functionality, implementations and API.
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 »

epilectrolytics wrote: Tue Apr 28, 2020 7:06 pm

Code: Select all

 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
Are you sure you have CUDA 10.1 installed ? Does /Developer/NVIDIA/CUDA-10.1/lib/libnvrtc.10.1.dylib exist ?

Will have to check with my other mac.
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 7:41 pm Are you sure you have CUDA 10.1 installed ? Does /Developer/NVIDIA/CUDA-10.1/lib/libnvrtc.10.1.dylib exist ?
Ah sorry, my nVidia Web driver told me I'm up to date so I thought I have everything ready but this is a developer's thing?
Can it be downloaded for free somewhere without an account?

Edit: Just downloading this and will get back later.

Edit II: Do I need Xcode too ??
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 »

I do not provide all the nvidia stuff .. you need to install 10.1 Cuda Toolkit full. Not just the driver.

You might also do

Code: Select all

install_name_tool -change @rpath/libnvrtc.10.1.dylib @rpath/libnvrtc.dylib /Users/YOURUSERNAME/Library/Application Support/Blender/2.82scripts/addons/BlendLuxCore/bin/pyluxcore.so 
This might enable other versions of cuda.
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
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 »

epilectrolytics wrote: Tue Apr 28, 2020 7:55 pm Edit II: Do I need Xcode too ??
No the cuda installer should be enough.
https://developer.nvidia.com/cuda-10.1- ... rsion=1013
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 »

Thanks for the explanation.

I'm not going to do that, way to much effort for something nice to have but not really needed given my powerful PC.
My main system is still 10.12.6, on the 10.13.6 partition there is only 11GB free space, not enough for those spacious development kits.

But thanks anyways :)
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 »

You could download the network installer
https://developer.nvidia.com/cuda-10.1- ... dmgnetwork

and run it with

Code: Select all

-s nvcc_10.1 cudart_10.1 nvrtc_10.1 nvrtc_dev_10.1
from the terminal.

this will do a minimal install.
Last edited by u3dreal on Tue Apr 28, 2020 9:34 pm, edited 1 time in total.
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
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 »

u3dreal wrote: Tue Apr 28, 2020 8:03 pm
epilectrolytics wrote: Tue Apr 28, 2020 7:55 pm Edit II: Do I need Xcode too ??
No the cuda installer should be enough.
https://developer.nvidia.com/cuda-10.1- ... rsion=1013
In Windows version, we include the NVRTC DLL too :idea:
Support LuxCoreRender project with salts and bounties
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 »

Dade wrote: Tue Apr 28, 2020 9:07 pm In Windows version, we include the NVRTC DLL too :idea:
Oh i missed that thanks ! edited
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 8:22 pm and run it with

Code: Select all

-s nvcc_10.1 cudart_10.1 nvrtc_10.1 nvrtc_dev_10.1
from the terminal.
I have no idea what that means :?
Instead I installed the driver & toolkit but not the samples, and so could make the add-on work.
But when trying to render with the cuda setting there is a BVH kernel compilation error.
Screen Shot 2020-04-29 at 10.57.54.png
I updated the cuda driver (418.163) via system preferences and apparently still the nVidia web-driver is in use?
Do I have to run some app from the newly installed CUDA developer stuff first to activate it?
libnvrtc.10.1.dylib exists in the bin folder.
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 »

Can you run blender from terminal and post the output ?

This is the driver verision i run.
Attachments
Bildschirmfoto 2020-04-29 um 11.20.52.png
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
Post Reply