22 Posts
8
54652
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:
- 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.
- 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:
- Dell Lattitude 5420 (TGL) throttled to 400MHz CPU / 100MHz GPU after 30s #293
- Dell Latitude 5420 (i7-1185g7) Power limited #255
- Latitude 7420 throttled to 55C on Linux. Cant watch 4K videos.
I will be very appreciated if someone help me to resolve this issue. Thanks!
SebastianH
35 Posts
0
March 20th, 2022 08:00
For me I don't need the last 6 rmmods and modprobes. Also "echo 5 >..." is sufficient:
cparg
4 Posts
0
July 14th, 2022 10:00
Quite disappointing that Dell does not care about this!
cparg
4 Posts
0
July 19th, 2022 03:00
Hello,
I had to blacklist interl_ish_ipc and rebuild the initrd (dracut --force) to fix a crash aber hibernation resume.
echo "blacklist intel_ish_ipc" > /etc/modprobe.d/intel_ish-blacklist.conf
Regards,
Chris
cparg
4 Posts
0
July 19th, 2022 03:00
Hello Eisen,
in my case it had not to do with when thermald is started.
Initially I started it manually, which mitigated the situation by throttling "only" to 1.8GHz. Before it was 400MHz (w/o thermald).
I do start thermald now during boot-up but restarting it later makes no difference.
Thanks for the hint though!
Chris
SebastianH
35 Posts
0
July 19th, 2022 03:00
Hi,
did you autostart thermald? This does not work for me, as it starts to early. Try the following: Disable Thermald, start your computer and then start thermald by hand. This should work. I solved it by adding a delay to the systemd file, see https://github.com/intel/thermal_daemon/issues/355
SebastianH
35 Posts
0
July 19th, 2022 04:00
Try disabling it, though. For me it behaves differently once started too early.
Then start manually with: thermald --no-daemon --adaptive --loglevel=debug
RocketSam
2 Posts
0
February 22nd, 2023 08:00
I'm not quite sure yet but seems like blacklisting intel_rapl_msr module helps. I didn't test it well yet but at first sight it had fixed the issue for me.
My Laptop is Dell Latitude 7430 with i5-1235U running Fedora 37.
For testing you may
$ sudo rmmod intel_rapl_msr
For constant changes create file /etc/modprobe.d/intel_rapl_msr-blacklist.conf with these contents:
blacklist intel_rapl_msr
I'll report in a few days if this workarounf fixed this issue for me.
RocketSam
2 Posts
0
February 23rd, 2023 11:00
Yes, it worked for me. After blacklisting or unloading intel_rapl_msr everything seems to be fine! No lags in game.
Kernel 6.1.12-200.fc37.x86_64
alx3
7 Posts
0
September 19th, 2023 20:21
I solved the problem in another way. I am a bit clueless but posting here in case it could help someone else.
I had this 400Mhz throttling issue when stressing the cpu for more than 5-10 seconds. Monitoring `sensors` it was literally throttling at 55-60 degrees.
I installed thermald but it failed to start
```
X@dell-fedora ~ » sudo systemctl status thermald.service
● thermald.service - Thermal Daemon Service
Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Tue 2023-09-19 15:56:03 EDT; 1s ago
Main PID: 10821 (thermald)
Tasks: 5 (limit: 18796)
Memory: 1.8M
CPU: 36ms
CGroup: /system.slice/thermald.service
└─10821 /usr/sbin/thermald --systemd --dbus-enable --adaptive
Sep 19 15:56:03 dell-fedora thermald[10821]: Unsupported condition 57 (UKNKNOWN)
Sep 19 15:56:03 dell-fedora thermald[10821]: Unsupported condition 57 (UKNKNOWN)
Sep 19 15:56:03 dell-fedora thermald[10821]: Unsupported condition 57 (UKNKNOWN)
Sep 19 15:56:03 dell-fedora thermald[10821]: Unsupported condition 57 (UKNKNOWN)
```
I tried the `stress -c 8` -> now I am running stable at 2+Ghz seemingly forever, with temperature 70-90 degrees!
below my specs
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.15-200.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Dell Inc.
Product Name: Latitude 7420
(edited)
vitich_dell
1 Rookie
1 Rookie
•
1 Message
0
May 3rd, 2024 00:53
Everything's fine on Latitude 5420 with Debian 12.5 installed.
$ uname -a
Linux latitude 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux