I can reproduce the problem too, on Windows. It was and out of bound memory access due to the size of a memory copy. The size was expressed in bytes instead of float so the amount of memory copied was effectively 4x the right size. 3/4 of the copied memory was landing out of intended region.
On large HDR this memory region was effectively out of the allocated memory and was triggering a memory fault on Windows.
This affect all OpenCL render engines when using an infinite light and/or, in same rare case, a pixel filter. This problem has always been there, it is not something new introduced recently (it strange no one ever noticed).
I have attached a fixed pyluxcore.pyd (with OpenCL support) file to this message, unpack the .zip and replace the one in your installation and it should fix the problem.
<attachment removed>
HDRI Testing
Re: HDRI Testing
hi, Dade
tested with the attached pyluxcore.pyd and i still get what it looks like the same crashes (even on a fresh scene)...
BTW
can't get blender console to stay open (--debug-all) or generate the error log with Lux (how to?, used to be options available)
win7 x64
Edit:
also when using "Only Write LuxCore scene" error appears:
Edit2:
Strange thing. OCL+path starts to render fine after CPU+bidir is used.
While on the other hand, renders fine with CPU+path, but after switching to OCL+path it starts crashing again.
All these with new pyluxcore.pyd used
tested with the attached pyluxcore.pyd and i still get what it looks like the same crashes (even on a fresh scene)...
BTW
can't get blender console to stay open (--debug-all) or generate the error log with Lux (how to?, used to be options available)
win7 x64
Edit:
also when using "Only Write LuxCore scene" error appears:
Code: Select all
Undefined property in Properties::Get(): renderengine.type
Strange thing. OCL+path starts to render fine after CPU+bidir is used.
While on the other hand, renders fine with CPU+path, but after switching to OCL+path it starts crashing again.
All these with new pyluxcore.pyd used
Re: HDRI Testing
This is something I have already seen once, I'm not sure when it happens, it may happen when you export a scene multiple times and/or switch from binary to text formatkintuX wrote: ↑Mon Feb 05, 2018 1:18 am Edit:
also when using "Only Write LuxCore scene" error appears:Code: Select all
Undefined property in Properties::Get(): renderengine.type
Re: HDRI Testing
Ok, I have found a second problem like the first one. The pyluxcore.pyd attached to this message doesn't seem to crash anymore.
- Attachments
-
- pyluxcore.zip
- (3.41 MiB) Downloaded 259 times
Re: HDRI Testing
Thank you, working fine now. No crashes.
I replaced the file.
I replaced the file.
Re: HDRI Testing
Very good idea . can speed up testing also
Re: HDRI Testing
Going to pack alpha4.