1 Rookie

 • 

22 Posts

58831

July 8th, 2021 09:00

isHighlyActiveTopic

Latitude 5420/7420/7520 CPU Throttling Issue on Linux

Hi there!

I have Latitude 7520 laptop with i7-1185g7 and this model has a huge problem with CPU throttling.

Besides this model users report that 5420/7420 models affected too.

This laptops have a two issues:

  1. Throttling to 400mhz after running power-intensive workloads for a short amount of time -- which caused by incorrect work of legacy interface. This issue can be resolved by blacklisting "intel_rapl_msr" module or install intel/thermald v2.4.6
  2. The same issue but cpu stuck on 1800mhz -- it is another issue and currently I haven't any idea how resolve it. Looks like something from firmware locks CPU power.

Message from Intel developer(pls see here) :

The problem is that TMEM sensor reaches its limits of 42C in 4 seconds, so the system is throttled from max power. Even at the start the temperature is 39C. So not much margin. Not
sure what can be done here

So I am trying to find and solve this problem. Maybe someone from Dell can help. A lot of users buy Latitude laptops for work with Linux and as I can see Dell sells linux version of this laptops.

What I see currently:

  • In Windows it works correctly(3.3-4.8ghz on max load)
  • Latest mainline kernel(`5.13.0-1-mainline`) doesn't fix it
  • Latest bios doesn't fix it(1.7.1 for my laptop)
  • It depends on laptop vendor. I have MSI laptop with the same i7-1185g7 and it works properly, one difference is: Dell show "base_frequency" as 1800mhz, MSI as 3000mhz. Maybe it's related
  • Load/Unload modules, disabling intel_pstate, tune tdp limits, changing thermal mode(quiet,cool,balanced,performance) doesn't affect this problem

Related links:

I will be very appreciated if someone help me to resolve this issue. Thanks!

1 Rookie

 • 

22 Posts

August 31st, 2021 22:00

Dell released 1.9.1 bios version for 7x20, but nothing has changed

1 Rookie

 • 

22 Posts

September 1st, 2021 00:00

New bios 1.11.2 for 5420 doesn't fix this problem 

https://github.com/intel/thermal_daemon/issues/293#issuecomment-909994241

10 Posts

September 3rd, 2021 08:00

I have this same problem, I'm the guy from one of the links. Turns out my laptop completely stopped working eventually and the motherboard has been switched twice. Now I'm in the process of getting a new one from Dell. Will report if the problem has been solved from the factory process when I get the new one.

1 Rookie

 • 

22 Posts

September 4th, 2021 00:00

Looks like Dell removed 1.9.1 bios for 7x20 models from their website.

Don't know why and should I roll it back or not

1 Rookie

 • 

55 Posts

September 6th, 2021 03:00

Great, so they are aware of issues with the BIOS but ask me to reinstall my Windows to "solve the issue"...

1 Message

September 15th, 2021 12:00

Model name: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz

Ubuntu 20.04.1 LTS (fossa-charmander-14 X53)

Have same problem. Previously I've solved it by running commands from https://github.com/erpalma/throttled/issues/255#issuecomment-903112374
But since the end of last week this approach stopped working. 
Thank's Dell Inc!!! I'll never buy Dell again. Reason, you spent months, but issue is still not closed

1 Rookie

 • 

22 Posts

September 19th, 2021 05:00

Problem still persist with the new 1.9.3 bios version

1 Rookie

 • 

33 Posts

September 19th, 2021 12:00

I'd like to provide another data point.  Here are my system specs:

  • Latitude 5420, manufactured August 2021, BIOS version 1.10.0.  CPU is i5-1145G7.
  • Running Rocky Linux 8.4 with kernel version 5.14.6-1.el8.elrepo.x86_64 (mockbuild@90f3aeda274e46028b72da8fed5a6cd2) (gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1), GNU ld version 2.30-93.el8) #1 SMP Fri Sep 17 07:35:08 EDT 2021.
  • thermald version 2.4.1

After reading this thread I started a test- pixz compressing an ISO image.  It pegged all 4 CPU cores.  At first it jumped up to 4GHz, then it settled and started fluctuating around 2.5GHz.  At one point it did drop to 400MHz, but it jumped right back up to mid-2.5's.  So this might not be a BIOS issue after all?

Screenshot from 2021-09-19 15-14-43.png

1 Rookie

 • 

22 Posts

September 19th, 2021 23:00

Hi @JoshuaPK,

> At one point it did drop to 400MHz

This is the problem.

Please run `stress -c 8` for a few more minutes. You should stuck on 400mhz, or on base frequency(1500mhz) if you upgrade thermald to the latest version.

It is totally unusable if you run power-intensive workloads like compilation/video-editing/games.

Other laptops with the same 11gen cpus doesn't affected by this issue -- I can confirm it with MSI/Lenovo laptops

 

1 Rookie

 • 

22 Posts

September 20th, 2021 00:00

Looks like Dell doesn't care about this issue, so I switched to Lenovo laptop.

Thank you all. I will follow this thread until I sell the Dell laptop

1 Rookie

 • 

33 Posts

September 20th, 2021 07:00

Over the last hour or so I've tried a few different things to get this to occur, but it doesn't.  Running the 'stress -c 8' program, the system locks solid at 2.4GHz, unless I do something on the desktop and then it bounces between 2.3 and 2.4.  So whatever is "broken" in the 20.04LTS version of thermald (which is thermald 1.9.1) is not "broken" in the version that Rocky 8.4 uses, which is 2.4.1.  I wonder if someone attempted to use one of the later Ubuntu versions (that had a higher version of thermald) if this problem would still exist?  I'll download a live boot of 20.04LTS and see if I can get it to break.

1 Rookie

 • 

33 Posts

September 20th, 2021 09:00

Hi @dmirubtsov -

I downloaded an image of 20.04LTS, live-booted it, and re-tried my experiment.  I get the same result there... after about 15 minutes of runnng stress -c 8, the CPU is still running at 2.7GHz.  I did, however, notice something odd with regards to thermald.  Perhaps in my case thermald can't even talk to the hardware, so it's not working?  (In my RockyLinux environment, thermald works fine...)

Screenshot from 2021-09-20 16-06-48.pngScreenshot from 2021-09-20 16-07-11.png

2 Posts

September 21st, 2021 08:00

I have exactly the same issue as described in the initial post with a 7420 with i7-1185G7 under Ubuntu 20.04 and openSUSE Tumbleweed.

It seems that i5 systems do not have this problem.

1 Rookie

 • 

22 Posts

September 21st, 2021 10:00

https://github.com/intel/thermal_daemon/issues/293#issuecomment-892387252

https://www.linux.org.ru/gallery/screenshots/16455858?cid=16459417

Here the links where a few users with 5420/7420 confirmed that laptops with I5 affected too.

It happens when TMEM sensor reaches 42C

1 Rookie

 • 

22 Posts

September 21st, 2021 10:00

@JoshuaPK 

I can't prove it, because I don't have 5420

But a few users has the same issue with 5420. We researched and found that it happens when TMEM sersor reaches its limits of 42C(too small).

Maybe it does not reach this value in your environment, or something like this.

What bios do you use?

No Events found!

Top