Warning: SetThreadGroupAffinity failed

Use this forum for general user support and related questions.
Post Reply
marcatore
Donor
Posts: 359
Joined: Wed Jan 10, 2018 8:04 am

Warning: SetThreadGroupAffinity failed

Post by marcatore » Tue Jul 23, 2019 10:43 am

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?

User avatar
B.Y.O.B.
Developer
Posts: 3117
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Warning: SetThreadGroupAffinity failed

Post by B.Y.O.B. » Tue Jul 23, 2019 12:08 pm

This warning comes from OIDN, you could try looking into their docs or opening an issue in their repository to ask about it.

kintuX
Posts: 508
Joined: Wed Jan 10, 2018 2:37 am

Re: Warning: SetThreadGroupAffinity failed

Post by kintuX » 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.

User avatar
Dade
Developer
Posts: 3601
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Warning: SetThreadGroupAffinity failed

Post by Dade » 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.
Support LuxCoreRender project with salts and bounties

kintuX
Posts: 508
Joined: Wed Jan 10, 2018 2:37 am

Re: Warning: SetThreadGroupAffinity failed

Post by kintuX » Tue Jul 23, 2019 6:44 pm

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.

acasta69
Developer
Posts: 225
Joined: Tue Jan 09, 2018 3:45 pm

Re: Warning: SetThreadGroupAffinity failed

Post by acasta69 » Wed Jul 24, 2019 9:17 am

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
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v382.05

User avatar
Dade
Developer
Posts: 3601
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Warning: SetThreadGroupAffinity failed

Post by Dade » Wed Jul 24, 2019 9:41 am

acasta69 wrote:
Wed Jul 24, 2019 9:17 am
Strange, the TBB DLLs in WindowsCompileDeps should also be updated to the same version used by OIDN:
https://github.com/LuxCoreRender/Window ... 45ceeb7dea
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.
Support LuxCoreRender project with salts and bounties

Fox
Posts: 347
Joined: Sat Mar 31, 2018 11:17 am

Re: Warning: SetThreadGroupAffinity failed

Post by Fox » Wed Jul 24, 2019 10:35 am

But the TBB actually has more files than this 2 dll, it has around 120 files. :roll:

acasta69
Developer
Posts: 225
Joined: Tue Jan 09, 2018 3:45 pm

Re: Warning: SetThreadGroupAffinity failed

Post by acasta69 » Wed Jul 24, 2019 2:35 pm

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. :roll:
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.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v382.05

Post Reply