Page 76 of 92

Re: BlendLuxCore Development

Posted: Mon Apr 20, 2020 1:04 pm
by Sharlybg
Can the opencl compiling be remove in the current alpha of 2.4 ? it is annoying to that it tell you it will happen once and come again and again. at the ends you don't know what to believe :?

i mean that it really happen once ?

Re: BlendLuxCore Development

Posted: Mon Apr 20, 2020 1:09 pm
by B.Y.O.B.
I will get there.

Re: BlendLuxCore Development

Posted: Thu Apr 23, 2020 7:51 am
by marcatore
With the merging of the CUDA branch I imagine that we've to wait an update for BlendLuxCore to use it. Right?
At the moment, the last BlendLuxCore build has just removed the OpenCL support.

Re: BlendLuxCore Development

Posted: Thu Apr 23, 2020 10:37 am
by Sharlybg
marcatore wrote: Thu Apr 23, 2020 7:51 am With the merging of the CUDA branch I imagine that we've to wait an update for BlendLuxCore to use it. Right?
At the moment, the last BlendLuxCore build has just removed the OpenCL support.
:?:

Also what are the final name to switch between opencl or CUDA ?

Re: BlendLuxCore Development

Posted: Thu Apr 23, 2020 10:58 am
by Dade
marcatore wrote: Thu Apr 23, 2020 7:51 am With the merging of the CUDA branch I imagine that we've to wait an update for BlendLuxCore to use it. Right?
Not really, not only because CUDA is not enabled in current builds (see below) but because CUDA devices are listed together with OpenCL devices and they can be mixed and used as you like.

BlendLuxCore will have only to be careful to not use a NVIDIA GPU 2 times: one as OpenCL device and one as CUDA.
marcatore wrote: Thu Apr 23, 2020 7:51 am At the moment, the last BlendLuxCore build has just removed the OpenCL support.
This was a mistake, I should have re-enabled the OpenCL support by default (while CUDA is still disabled because we don't know yet how to compile CUDA binaries on Azure).

Re: BlendLuxCore Development

Posted: Thu Apr 23, 2020 11:01 am
by Dade
Sharlybg wrote: Thu Apr 23, 2020 10:37 am Also what are the final name to switch between opencl or CUDA ?
There isn't really the need of a switch (see above how CUDA and OpenCL devices are listed). It is just strange to have something called PATHOCL able to use CUDA devices too so I would like to change the name for consistency.

In BlendLuxCore, we could simply have the label "OpenCL" replaced with "OpenCL/CUDA".

Re: BlendLuxCore Development

Posted: Thu Apr 23, 2020 11:04 am
by Sharlybg
So we have to wait that all settle down between Luxcore and blendluxcore befor testing correctly ;)

Re: BlendLuxCore Development

Posted: Thu Apr 23, 2020 11:23 am
by Dade
Sharlybg wrote: Thu Apr 23, 2020 11:04 am So we have to wait that all settle down between Luxcore and blendluxcore befor testing correctly ;)
No, you only need a CUDA enabled pyluxcore.pyd and to select the devices to use for the rendering by hand in BlendLuxCore (or it will use 2 times the same GPU).

Re: BlendLuxCore Development

Posted: Thu Apr 23, 2020 12:24 pm
by Sharlybg
No, you only need a CUDA enabled pyluxcore.pyd and to select the devices to use for the rendering by hand in BlendLuxCore (or it will use 2 times the same GPU).
So finally is just install lastest build from luxcore and blendluxcore like before do the trick ?

Re: BlendLuxCore Development

Posted: Thu Apr 23, 2020 12:46 pm
by Dade
Sharlybg wrote: Thu Apr 23, 2020 12:24 pm
No, you only need a CUDA enabled pyluxcore.pyd and to select the devices to use for the rendering by hand in BlendLuxCore (or it will use 2 times the same GPU).
So finally is just install lastest build from luxcore and blendluxcore like before do the trick ?
Yes (when CUDA compilation is enabled on Azure).