HDRI Testing

Post your tests, experiments and unfinished renderings here.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: HDRI Testing

Post 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>
Support LuxCoreRender project with salts and bounties
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: HDRI Testing

Post 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
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: HDRI Testing

Post 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 :?:
Support LuxCoreRender project with salts and bounties
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: HDRI Testing

Post 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.
Attachments
pyluxcore.zip
(3.41 MiB) Downloaded 258 times
Support LuxCoreRender project with salts and bounties
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: HDRI Testing

Post 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 :D No more crashes. Thank you!
david57
Posts: 103
Joined: Mon Jan 22, 2018 11:30 pm

Re: HDRI Testing

Post by david57 »

Thank you, working fine now. No crashes. :D
I replaced the file.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: HDRI Testing

Post by Dade »

It may be worth to release another alpha very soon to just have this fix generally available :idea:
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: HDRI Testing

Post 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 :idea:
Very good idea . can speed up testing also :D
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: HDRI Testing

Post 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 :idea:
Going to pack alpha4.
Support LuxCoreRender project with salts and bounties
Post Reply