Page 3 of 3
Re: HDRI Testing
Posted: Sun Feb 04, 2018 11:09 pm
by Dade
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>
Re: HDRI Testing
Posted: Mon Feb 05, 2018 1:18 am
by kintuX
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:
Code: Select all
Undefined property in Properties::Get(): renderengine.type
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
Re: HDRI Testing
Posted: Mon Feb 05, 2018 9:59 am
by Dade
kintuX 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
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 format
Re: HDRI Testing
Posted: Mon Feb 05, 2018 10:56 am
by Dade
Ok, I have found a second problem like the first one. The pyluxcore.pyd attached to this message doesn't seem to crash anymore.
Re: HDRI Testing
Posted: Mon Feb 05, 2018 3:22 pm
by kintuX
Dade wrote: ↑Mon Feb 05, 2018 10:56 am
Ok, I have found a second problem like the first one. The pyluxcore.pyd attached to this message doesn't seem to crash anymore.
Yes! Same experience here
No more crashes. Thank you!
Re: HDRI Testing
Posted: Tue Feb 06, 2018 7:22 pm
by david57
Thank you, working fine now. No crashes.
I replaced the file.
Re: HDRI Testing
Posted: Tue Feb 06, 2018 7:55 pm
by Dade
It may be worth to release another alpha very soon to just have this fix generally available
Re: HDRI Testing
Posted: Tue Feb 06, 2018 7:56 pm
by Sharlybg
Dade wrote: ↑Tue Feb 06, 2018 7:55 pm
It may be worth to release another alpha very soon to just have this fix generally available
Very good idea . can speed up testing also
Re: HDRI Testing
Posted: Thu Feb 08, 2018 11:33 am
by Dade
Dade wrote: ↑Tue Feb 06, 2018 7:55 pm
It may be worth to release another alpha very soon to just have this fix generally available
Going to pack alpha4.