# Intel 12th Gen Shader Compilation Process Affinity

**URL:** <https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine, UE5-0, UE4-27, question\
**Created:** [December 25, 2021, 2:59pm UTC](https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288 "2021-12-25T14:59:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![we0k](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@we0k](https://forums.unrealengine.com/u/we0k)\
**Post date:** [December 25, 2021, 2:59pm UTC](https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288/1 "2021-12-25T14:59:30Z")

</div>

Hello everyone!

Currently 12th gen I7 12700k uses only e-cores by default to compile shaders. There is a way to manually exclude e-cores for every shader-compiling process in windows task manager - set affinity to be only p-cores (for me this is CPU0-CPU15). Usually when I start new project I do that when it compile shaders but it takes time and it is not how it should work. The power and speed of 12th gen processors should be applied automatically for such tasks.

Is there any workarounds, .ini commands to force Unreal Engine to always use p-cores for shader compilation?

---

<div class="post-metadata">

**Author:** ![lionicolas399](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lionicolas399](https://forums.unrealengine.com/u/lionicolas399)\
**Post date:** [January 24, 2022, 11:14am UTC](https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288/2 "2022-01-24T11:14:40Z")

</div>

I’ve got the same problem with i9 12900k, Unreal is using only 8 e-cores for light building and shader compiling. It would be awesome to use the 8 p-core + 8 e core and threads for this tasks. Any solution someone ?

---

<div class="post-metadata">

**Author:** ![IslandPlaya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/islandplaya/32/1194500_2.png) [@IslandPlaya](https://forums.unrealengine.com/u/IslandPlaya)\
**Post date:** [January 24, 2022, 11:07pm UTC](https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288/3 "2022-01-24T23:07:27Z")

</div>

Is this only an issue with Windows 10 or will it also be an issue with Windows 11 which I believe has an updated task scheduler to deal with hybrid processors that have differing core types?

---

<div class="post-metadata">

**Author:** ![lionicolas399](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lionicolas399](https://forums.unrealengine.com/u/lionicolas399)\
**Post date:** [February 4, 2022, 2:35pm UTC](https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288/4 "2022-02-04T14:35:05Z")

</div>

Hello,  
I was running Windows 10 and had the sames issues : Windows 10 was using only E-cores instead of all cores for Unreal (and some other programs).

Solved when I updated to Windows 11 : It uses all cores now (p+e) for shaders, building lights, etc.

1st solution is to go for win 11  
2nd solution if you want to stay on Win10 but use all cores, you need to use a software like " Process Lasso" to force windows to work with all cores.

---

<div class="post-metadata">

**Author:** ![prZPJ1517](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@prZPJ1517](https://forums.unrealengine.com/u/prZPJ1517)\
**Post date:** [May 24, 2022, 9:01am UTC](https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288/5 "2022-05-24T09:01:43Z")

</div>

I’ve same issue 12700k on Windows 10.  
I just disabled E-Core in UEFI(BIOS) then solved.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7fdb4a891](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7fdb4a891](https://forums.unrealengine.com/u/anonymous_user_7fdb4a891)\
**Post date:** [May 26, 2022, 1:42pm UTC](https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288/6 "2022-05-26T13:42:40Z")

</div>

my cup is 12700 and I have same problem as you  
hope epic see this and fix it soon

---

<div class="post-metadata">

**Author:** ![DarkDhaos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkDhaos](https://forums.unrealengine.com/u/DarkDhaos)\
**Post date:** [March 24, 2023, 12:04am UTC](https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288/7 "2023-03-24T00:04:33Z")

</div>

Same issue still present. Also becomes apparent in some UE4 games on Steam, where they only utilize e-cores and stutter a lot.

---

<div class="post-metadata">

**Author:** ![locateli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@locateli](https://forums.unrealengine.com/u/locateli)\
**Post date:** [July 4, 2023, 1:33pm UTC](https://forums.unrealengine.com/t/intel-12th-gen-shader-compilation-process-affinity/268288/8 "2023-07-04T13:33:21Z")

</div>

Wat time it take you to compile a new project? Cuz i try load ue5 rhen it compile 6000 shaders in nearly 11.5 minutes  
With ryzen 1700 16gb ddr3, gpu 12gb vram  
ssd  
No matter wat project I open, its always same time compile this amount of shaders.
