Page 1 of 1
Warning: SetThreadGroupAffinity failed
Posted: Tue Jul 23, 2019 10:43 am
by marcatore
I've these errors during the rendering phase.
Code: Select all
Warning: SetThreadGroupAffinity failed
Warning: SetThreadGroupAffinity failed
Warning: SetThreadGroupAffinity failed
Warning: SetThreadGroupAffinity failed
I'm using OpenCL with "use CPUs" option ON and with Autodetect option enabled.
Anyone else?
Re: Warning: SetThreadGroupAffinity failed
Posted: Tue Jul 23, 2019 12:08 pm
by B.Y.O.B.
This warning comes from OIDN, you could try looking into their docs or opening an issue in their repository to ask about it.
Re: Warning: SetThreadGroupAffinity failed
Posted: Tue Jul 23, 2019 2:39 pm
by kintuX
In my case, denoiser version didn't match (.exe & .dlls inside bin folder) to that which is specified in the code (exporter). Comes from mixing versions. You can disregard the message or make a new, fresh & clean install.
Re: Warning: SetThreadGroupAffinity failed
Posted: Tue Jul 23, 2019 4:10 pm
by Dade
kintuX wrote: ↑Tue Jul 23, 2019 2:39 pm
In my case, denoiser version didn't match (.exe & .dlls inside bin folder) to that which is specified in the code (exporter). Comes from mixing versions. You can disregard the message or make a new, fresh & clean install.
It is likely to be a mismatch between Oidn DLL and TBB DLL.
Re: Warning: SetThreadGroupAffinity failed
Posted: Tue Jul 23, 2019 6:44 pm
by kintuX
Dade wrote: ↑Tue Jul 23, 2019 4:10 pm
kintuX wrote: ↑Tue Jul 23, 2019 2:39 pm
In my case, denoiser version didn't match (.exe & .dlls inside bin folder) to that which is specified in the code (exporter). Comes from mixing versions. You can disregard the message or make a new, fresh & clean install.
It is likely to be a mismatch between Oidn DLL and TBB DLL.
Aha, most likely it is. Cuz I rember, before OIDN was updated to the latest 0.9.0 I already used it, but had only overwriten exe & dlls. And since there were no issue rendering wise, i didn't pay much attention to it. Anyways, thanks for the tip! Nice to know.
Re: Warning: SetThreadGroupAffinity failed
Posted: Wed Jul 24, 2019 9:17 am
by acasta69
Dade wrote: ↑Tue Jul 23, 2019 4:10 pm
It is likely to be a mismatch between Oidn DLL and TBB DLL.
kintuX wrote: ↑Tue Jul 23, 2019 6:44 pm
Aha, most likely it is. Cuz I rember, before OIDN was updated to the latest 0.9.0 I already used it, but had only overwriten exe & dlls. And since there were no issue rendering wise, i didn't pay much attention to it. Anyways, thanks for the tip! Nice to know.
Strange, the TBB DLLs in WindowsCompileDeps should also be updated to the same version used by OIDN:
https://github.com/LuxCoreRender/Window ... 45ceeb7dea
Re: Warning: SetThreadGroupAffinity failed
Posted: Wed Jul 24, 2019 9:41 am
by Dade
Not sure if it has any implication here but there is always the potential problem of Embree and Oidn being compiled for 2 different TBB versions.
Re: Warning: SetThreadGroupAffinity failed
Posted: Wed Jul 24, 2019 10:35 am
by Fox
But the TBB actually has more files than this 2 dll, it has around 120 files.
Re: Warning: SetThreadGroupAffinity failed
Posted: Wed Jul 24, 2019 2:35 pm
by acasta69
Fox wrote: ↑Wed Jul 24, 2019 10:35 am
But the TBB actually has more files than this 2 dll, it has around 120 files.
The full TBB is larger, but we use directly the Intel binaries for OIDN, and the distribution contains only the required TBB dlls + libs, total 4 files.
We need more stuff for Embree, however, and:
Dade wrote: ↑Wed Jul 24, 2019 9:41 am
Not sure if it has any implication here but there is always the potential problem of Embree and Oidn being compiled for 2 different TBB versions.
I also don't know how it could affect us. I'll try to investigate a bit deeper.
EDIT: BTW, an issue about this is already present in OIDN repo.