# CPU caps at 400 MHz on 12 gen i5-1240P

**URL:** <https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871>\
**Category:** Linux\
**Created:** [October 18, 2022, 1:27am UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871 "2022-10-18T01:27:38Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [October 18, 2022, 1:27am UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/1 "2022-10-18T01:27:38Z")

</div>

Got my new Framework laptop (i5-1240P) two weeks ago but just started setting it up since last Friday.

I found some people had already reported this problem and it seemed random:

> [@\[RESPONDED\] Excessive CPU thermal(?) throttling on 12th-gen](http://community.frame.work/t/excessive-cpu-thermal-throttling-on-12th-gen/21569):
>
> I’m running Debian testing (kernel 5.18.16) on my new 12th-gen i7-1280P, and I’m seeing some painfully overzealous CPU throttling that I assume is due to heat, even though it’s not getting that hot. I was playing a game (Stellaris), and after a while (a couple hours), it gets incredibly slow and laggy. I quit back to the desktop, and the desktop is laggy. I don’t see anything in dmesg. I check temperatures with sensors, and they’re elevated, but not too bad – around 65C. I check powertop, …

> [@Laptop running at 400MHz (390MHZ)](http://community.frame.work/t/laptop-running-at-400mhz-390mhz/23741):
>
> Hi all I just got my Framework laptop, and got it up and running very easily, but I seem to be having this weird issue where the processor is running a 0.39GHz, I’ve seen this happen with more than just the Framework laptops, but I thought I’d try here first, the CPU usage seems to sit arount the 5 - 10% mark as well. I have the 12th Gen i5 DIY edition, 32GB RAM (1 x 32GB), 1TB NVMe, I have dual booted Windows 10, and Kubuntu, both have the latest updates, driviers installed (I had to use the …

> [@CPU Performance Governor](http://community.frame.work/t/cpu-performance-governor/4028):
>
> One thing I have noticed: in my install of Arch, the default CPU governor is power-save, which in my opinion is crazy aggressive. It caps core usages to half of the logical cores, and only allows turbo boosting in exceedingly short bursts, making things like multitasking effectively impossible (It’s so bad that even mouse movements are super choppy). Changing the governor to performance fixed the issue, but I thought I’d post about it in case others have issues too.

I believe I’ve tried all solutions mentioned in above threads (except the EMI sticker). None of them works.

I’ve tried Fedora, Ubuntu and Arch. They all have the same problem: once CPU usage spikes the frequency is locked at 400MHz.

An more obvious evidence is that when started running stress test in `s-tui`, all 16 cores immediately are locked at 400MHz despite the fact my CPU temperature is only around 30 celsius. No matter on AC or battery. And no matter how full the battery is (tested with 100% and 50%).

I’m currently running on Arch with full disk encryption with LUKS2 and BTRFS on top of it.

I customized it with my own G.Skill DDR4 SODIMM F4-3200C22D-32GRS and Samsung 980 1TB NVMe.

Workaround that I’ve tried so far are:

- [Not work] Kernel `6.0.1.arch2-1`
- [Not work] Kernel `6.0.1.zen2-1`
- [Not work] Kernel `5.15.74-1 lts`
- [Not work] Use default `intel_pstate` driver
- [Not work] Use `intel_pstate=no_hwp`
- [Not work] Use `intel_pstate=passive`
- [Not work] `cpupower frequency-set -g performance`
- [Not work] `cpupower frequency-set -d 2GHz` and `cpupower frequency-set -u 2GHz`
- [Not work] Configure `/etc/tlp.conf` with

```auto
CPU_ENERGY_PERF_POLICY_ON_AC=balance_performance
CPU_ENERGY_PERF_POLICY_ON_BAT=balance_performance
CPU_MIN_PREF_ON_AC=0
CPU_MAX_PREF_ON_AC=100
CPU_MIN_PREF_ON_BAT=0
CPU_MIN_PREF_ON_BAT=100

```

- [Not work] Some other random CPU frequency tweaks with `tlp` and `cpupower`.
- [Not work] Install `throttled`

UEFI version is `HFW30.03.05`.

Only solution that I haven’t tried is to adjust EMI sticker. People who showed the picture of the board seemed a bit different from mine so I haven’t touched it yet (Plus I don’t want to touch hardware on a new laptop unless I have to).

I’m desperate to have a solution on this because with this frequency lock I can’t even watch YouTube video smoothly.

Otherwise I guess I have to open a ticket for customer service.

---

<div class="post-metadata">

**Author:** ![Second\_Coming](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/second_coming/32/29330_2.png) [@Second\_Coming](https://community.frame.work/u/Second_Coming)\
**Post date:** [October 18, 2022, 2:28am UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/2 "2022-10-18T02:28:58Z")

</div>

> [@MageP](#):
>
> open a ticket for customer service.

Reach out to Framework support.

---

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [October 18, 2022, 3:35pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/3 "2022-10-18T15:35:02Z")

</div>

@Second_Coming Thanks for replying. I’ve opened a ticket and sent it to the support, but still curious if this is an issue of the hardware itself or just Linux’s problem.

---

<div class="post-metadata">

**Author:** ![Esscan](https://avatars.discourse-cdn.com/v4/letter/e/22d042/32.png) [@Esscan](https://community.frame.work/u/Esscan)\
**Post date:** [October 18, 2022, 4:11pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/4 "2022-10-18T16:11:13Z")

</div>

> [@MageP](#):
>
> but still curious if this is an issue of the hardware itself or just Linux’s problem.

I have a Batch 4 1240P. While I have seen the CPU throttling when I am doing long compiles (and sometimes 400MHz), it only happens when the Core & package temperatures are 90+ for sustained period of time. Doesn’t really sound like a Linux issue to me. Just to rule it out, are your fans kicking in and are they as loud as they can be?

---

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [October 18, 2022, 4:30pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/5 "2022-10-18T16:30:54Z")

</div>

> [@Esscan](#):
>
> Just to rule it out, are your fans kicking in and are they as loud as they can be?

No. My fans was not even kicking in. The CPU temperature was just around 30 Celsius. I did a cold start and run the stress test immediately after logging (without desktop environment). Result is always the same: once CPU is loaded all the cores are throttled at 400 MHz regardless temperature and power status.

---

<div class="post-metadata">

**Author:** ![Esscan](https://avatars.discourse-cdn.com/v4/letter/e/22d042/32.png) [@Esscan](https://community.frame.work/u/Esscan)\
**Post date:** [October 18, 2022, 5:24pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/6 "2022-10-18T17:24:25Z")

</div>

> [@MageP](#):
>
> No. My fans was not even kicking in. The CPU temperature was just around 30 Celsius. I did a cold start and run the stress test immediately after logging (without desktop environment). Result is always the same: once CPU is loaded all the cores are throttled at 400 MHz regardless temperature and power status.

That’s odd. Any chance the fans aren’t plugged in?

---

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [October 18, 2022, 6:29pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/7 "2022-10-18T18:29:52Z")

</div>

> [@Esscan](#):
>
> That’s odd. Any chance the fans aren’t plugged in?

I’m pretty sure the fans are plugged in. 🙁

---

<div class="post-metadata">

**Author:** ![Kieran\_Levin](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/kieran_levin/32/110_2.png) [@Kieran\_Levin](https://community.frame.work/u/Kieran_Levin)\
**Post date:** [October 19, 2022, 3:24am UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/8 "2022-10-19T03:24:32Z")

</div>

Can you check prochot status to see if it is toggling rapidly?  
Does it go away if charging is plugged/unplugged?  
Does it go away if you unplug any non usb-c expansion cards?

---

<div class="post-metadata">

**Author:** ![Jason\_Dagless](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@Jason\_Dagless](https://community.frame.work/u/Jason_Dagless)\
**Post date:** [October 19, 2022, 4:21pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/9 "2022-10-19T16:21:32Z")

</div>

Maybe try Windows on it to see how it reacts with a different driver infrastructure?

You can download the USB media easy enough. For the sake of half an hour…

---

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [October 19, 2022, 6:54pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/10 "2022-10-19T18:54:17Z")

</div>

> [@Kieran\_Levin](#):
>
> Can you check prochot status to see if it is toggling rapidly?

This is what I did.

Restarted my system without anything running (not even desktop environment).

Monitoring `BD PROCHOT` bit constantly in one terminal.

```bash
$ while true; do echo -----; sudo rdmsr --all 0x1FC; sleep 1; done

-----
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
e4005b
...

```

Looks like it was set.  
In another terminal

```bash
$ sudo wrmsr --all 0x1FC e4005a

```

The bits became:

```bash
e00001
e00001
e00001
e00001
e00001
e00001
e00001
e00001
e00001
e00001
e00001
e00001
e00001
e00001
e00001
e00001

```

Seemed like the bit[0] was not set so I tried setting it constantly.

```bash
$ while true; do sudo wrmsr --all 0x1FC e00000; done

```

But the output still showed the last bit was 1.

Despite that, I ran `s-tui` for a stress test. All cores were throttled to 400 MHz once I started the test.

---

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [October 19, 2022, 6:55pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/11 "2022-10-19T18:55:06Z")

</div>

> [@Kieran\_Levin](#):
>
> Does it go away if charging is plugged/unplugged?  
> Does it go away if you unplug any non usb-c expansion cards?

I got the same suggestions from Framework support. They didn’t work unfortunately.

---

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [October 19, 2022, 6:57pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/12 "2022-10-19T18:57:31Z")

</div>

> [@Jason\_Dagless](#):
>
> Maybe try Windows on it to see how it reacts with a different driver infrastructure?

I don’t use Windows. One of the reason that makes me decide to buy this laptop is it supports for Linux. If it only works on Windows then it’s pointless to me.

---

<div class="post-metadata">

**Author:** ![Jason\_Dagless](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@Jason\_Dagless](https://community.frame.work/u/Jason_Dagless)\
**Post date:** [October 19, 2022, 7:13pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/13 "2022-10-19T19:13:10Z")

</div>

> [@MageP](#):
>
> If it only works on Windows then it’s pointless to me.

Yeah I get that.

But if it works fine with Windows then you know it’s a Linux issue (you need another distro dude as your linux brothers would say) and not hardware faults.

If it doesn’t work with Windows either then you know its hardware and a replacement may well work with Linux just fine.

Just a bit of extra testing, that’s all.

---

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [October 19, 2022, 8:15pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/14 "2022-10-19T20:15:10Z")

</div>

> [@Jason\_Dagless](#):
>
> But if it works fine with Windows then you know it’s a Linux issue (you need another distro dude as your linux brothers would say) and not hardware faults.
> 
> If it doesn’t work with Windows either then you know its hardware and a replacement may well work with Linux just fine.

Right but there is something that I’m concerning.

1. I have allocated the whole disk for Linux. If I’m going to test Windows I have to wipe it out. It’s very time consuming to backup and restore a big chunk of data. And I don’t have spare disk for testing at this time.
2. If the latest Linux kernel has issues to support Framework hardware then there should be a lot complains. However, I only see a few random reports.
3. I’ve tested the distros that are listed on Framework compatible list like Fedora 36 and Ubuntu 22.04. I saw the same problem so it should not be a distro issue.
4. I doubt it might be something with the EMI stickers. Some people said they trimmed it and the issue was gone. However, they were using an old batch. I got mine early this month and the place where the EMI stickers are looks different than theirs. Framework support also asked me to send some pictures of the EMI stickers. I guess they must know there is something wrong with it.

---

<div class="post-metadata">

**Author:** ![Asorensen](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/asorensen/32/11958_2.png) [@Asorensen](https://community.frame.work/u/Asorensen)\
**Post date:** [November 1, 2022, 10:10pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/15 "2022-11-01T22:10:12Z")

</div>

After contacting the Framework support team, I ended up needing a main board replacement, they sent me the new one, as well as a paid return label for my old main board. The new one runs perfectly fine.

---

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [November 5, 2022, 12:46am UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/16 "2022-11-05T00:46:27Z")

</div>

> [@Asorensen](#):
>
> After contacting the Framework support team, I ended up needing a main board replacement, they sent me the new one, as well as a paid return label for my old main board. The new one runs perfectly fine.

I got a new motherboard replacement, too. After swapping the new one, I can feel a significant boost immediately on startup. Full disk decryption takes almost no time (it took a few seconds before). And CPU stress test also looks good.  
I can finally enjoy my new laptop now. 😃  
PS: The replacement experience was just fantastic. I didn’t feel it that easy by watching videos until personally took hands on it. Design-wise is top tier!

---

<div class="post-metadata">

**Author:** ![jean](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jean](https://community.frame.work/u/jean)\
**Post date:** [November 7, 2022, 10:33am UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/17 "2022-11-07T10:33:53Z")

</div>

On 11th gen it happens from time to time for me as well, I have these lines saved to unlock frequency:

```auto
sudo rmmod processor_thermal_device
sudo rmmod processor_thermal_rapl
sudo rmmod intel_rapl_common
sudo rmmod intel_powerclamp

sudo modprobe intel_powerclamp
sudo modprobe intel_rapl_common
sudo modprobe processor_thermal_rapl
sudo modprobe processor_thermal_device
sudo modprobe intel_rapl_msr

```

Can’t tell you how it works nor what it does, but it works ✨

---

<div class="post-metadata">

**Author:** ![MageP](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@MageP](https://community.frame.work/u/MageP)\
**Post date:** [November 15, 2022, 8:03pm UTC](https://community.frame.work/t/cpu-caps-at-400-mhz-on-12-gen-i5-1240p/23871/18 "2022-11-15T20:03:11Z")

</div>

> [@jean](#):
>
> Can’t tell you how it works nor what it does, but it works

Sounds more like a thermal issue from you. But thanks for sharing this tip. I’ll save it in case I need it one day lol
