LuxCore icon indicating copy to clipboard operation
LuxCore copied to clipboard

Random compiling of CUDA kernels

Open johndow16 opened this issue 5 years ago • 4 comments

Windows 10 x64 (2004 19041.867) Blender 2.92 GTX1660 (461.92)

LuxCore 2.5RC1 randomly compiles CUDA kernels. It happens all of sudden and out of nowhere. I was rendering frames and BAM! it started compiling CUDA kernels. I was trying different camera angles in viewport (GPU w/o denoiser) and BAM! it suddenly started compiling CUDA kernels. It happens quite often and I couldn't pinpoint the issue. Material change, camera switch, shader tweak, change in a model... Anything can trigger it.

johndow16 avatar Mar 20 '21 00:03 johndow16

The CUDA kernels are stored in the temp directory on Windows. Do you have some kind of script or program that deletes everything in the temp directory from time to time, like CCleaner? This could be responsible.

Theverat avatar Mar 20 '21 09:03 Theverat

I do have CCleaner and I use once every few days, but recompiling could happen even a few times a day.

PS. If it is really the case, then maybe moving CUDA kernels from Windows temp to Blender temp folder would be better.

johndow16 avatar Mar 20 '21 19:03 johndow16

UPDATE: After I put 'luxcorerender.org' folder in 'AppData\Local\Temp' folder on different exclusion lists, so it wouldn't be deleted during a clean up by CCleaner, Windows or any other app, the bug with random compiling of CUDA kernels has gone. At least it seems so.

johndow16 avatar Mar 22 '21 22:03 johndow16

Then I guess we can close this issue.

Theverat avatar Mar 22 '21 23:03 Theverat