Hi. Is there anyway to speed up the loading kernel process ?
The amount of time I have to wait is really really long
Thank you
Loading kernels tooo slow
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Re: Loading kernels tooo slow
It is one time operations. The kernel cache is stored in tmp directory on Windows, you may have some kind of file cleaner, erasing the content of the cache at each reboot. This is likely to be the source of your problem.
Re: Loading kernels tooo slow
Could then be possible to just have a command for load/compile shaders using single GPU w/o running Blender and rendering a scene.
Something like Arnold's 'Pre-populate GPU Cache'?.
Something like Arnold's 'Pre-populate GPU Cache'?.
Pre-populate GPU Cache
This pre-populates the GPU program disk cache. Pre-population is optional, but once done, this allows subsequent GPU renders start faster. The cache is stored on disk, but if the NVIDIA driver is updated, or the GPU hardware configuration changed, the cache may be stale and need to be re-populated.
Note that pre-populating the cache may take 15 minutes or more to run.
Re: Loading kernels tooo slow
It is already available in LuxCore API and exposed by LuxCoreUI executable (but not by BlendLuxCore).kintuX wrote: ↑Tue Jul 06, 2021 7:21 am This pre-populates the GPU program disk cache. Pre-population is optional, but once done, this allows subsequent GPU renders start faster. The cache is stored on disk, but if the NVIDIA driver is updated, or the GPU hardware configuration changed, the cache may be stale and need to be re-populated.
Re: Loading kernels tooo slow
I don't really see an advantage that would have over opening a simple cube scene and pressing render to trigger the kernel compilation.
Re: Loading kernels tooo slow
Sorry for my ignorance but is there any command line documentation/specs described, or which one specifically triggers it?Dade wrote: ↑Tue Jul 06, 2021 9:06 amIt is already available in LuxCore API and exposed by LuxCoreUI executable (but not by BlendLuxCore).kintuX wrote: ↑Tue Jul 06, 2021 7:21 am This pre-populates the GPU program disk cache. Pre-population is optional, but once done, this allows subsequent GPU renders start faster. The cache is stored on disk, but if the NVIDIA driver is updated, or the GPU hardware configuration changed, the cache may be stale and need to be re-populated.
Re: Loading kernels tooo slow
Re: Loading kernels tooo slow
Ran it & does Path OCL, so when I start with Blender it does it all over again for CUDA
Re: Loading kernels tooo slow
Uh ? No, it uses the default devices: if you have CUDA, they are all CUDA devices (otherwise all OpenCL devices)
Re: Loading kernels tooo slow
It might be the default epsilon settings that are different between luxcoreui and BlendLuxCore.