Lights being ignored by opencl

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Lights being ignored by opencl

Post by lacilaci »

Nested linked collections will disable new lights for opencl

opencl
A.jpg
cpu
B.jpg
Any idea how to troubleshoot? Why would this happen and why only new lights

when I deleted every object from scene (I kept all lights) suddenly the black light started working...
Last edited by lacilaci on Mon Jan 20, 2020 9:35 am, edited 1 time in total.
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Lights being ignored by opencl

Post by lacilaci »

Ok, so this is the problem

in blender 2.83 (not sure if older too)

If you have any linked collection, nested in another collection in the scene, then any new created light will be black for opencl... wtf

EDIT: nevermind, this is maybe blendluxcore issue, present in 2.82 as well.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Lights being ignored by opencl

Post by B.Y.O.B. »

I can't replicate the problem here, can you upload a small scene showing it?
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Lights being ignored by opencl

Post by lacilaci »

B.Y.O.B. wrote: Mon Jan 20, 2020 10:44 am I can't replicate the problem here, can you upload a small scene showing it?
Yes, here is a scene.. and it even gets weirder where all lights should look same but one is yellow, one black and other one correct..
addlights.rar
(926.75 KiB) Downloaded 141 times
in the master scene (lights.blend) link the lights_linkme.blend - as a collection, don't link objects
Make sure the linked collection is nested in some existing collection in the scene.

Then if existing lights work, create new one and place it so you should see it and watch if it becomes black.. or whatever color

In this scene cpu is disabled in performance opencl resources, so you should use only opencl, cpu should work as expected

these are all the same lights,(top to bottom) one created first, other one after the linking and last one as a copy of the one created after the linking...
lights.jpg
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Lights being ignored by opencl

Post by lacilaci »

B.Y.O.B. wrote: Mon Jan 20, 2020 10:44 am I can't replicate the problem here, can you upload a small scene showing it?
were you able to replicate it with my scene?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Lights being ignored by opencl

Post by Dade »

lacilaci wrote: Tue Jan 21, 2020 2:08 pm
B.Y.O.B. wrote: Mon Jan 20, 2020 10:44 am I can't replicate the problem here, can you upload a small scene showing it?
were you able to replicate it with my scene?
This is likely to be related to https://github.com/LuxCoreRender/LuxCore/issues/290, something I have fixed today :idea:
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Lights being ignored by opencl

Post by B.Y.O.B. »

Dade wrote: Tue Jan 21, 2020 2:38 pm This is likely to be related to https://github.com/LuxCoreRender/LuxCore/issues/290, something I have fixed today
Indeed, looks fixed to me.
Post Reply