Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

3 Posts

06-08-2020

United States of America

6 Signins

60 Page Views

  • Posts: 3
  • Registered: ‎06-08-2020
  • Location: United States of America
  • Views: 60
  • Message 401 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-09, 16:41 PM

Hi @MarkRHPearson unfortunately, I'm still getting throttled after uninstalling both tlp, thermald and rebooting and enabling high performance mode via FN+H. At first I have a power limit of 51W, but after running a CPU intensive task long enough, it quickly drops to 14.5W and never goes back to 51W. Do you think it's potentially a Pop_Os! issue? I think they might run some custom power management code.

If I'm reading those patch notes correctly, it merely gives you a way to determine if lap mode is enabled? I guess that's helpful for diagnosing issues. Is there any message I should be looking for in dmesg or elsewhere to see why power limits might be changed?

 

Edit:
It actually drops from 51W to 12W after running a CPU intensive task for a few minutes. Any ideas?

Reply
Options

14 Posts

06-06-2018

Switzerland

28 Signins

252 Page Views

  • Posts: 14
  • Registered: ‎06-06-2018
  • Location: Switzerland
  • Views: 252
  • Message 402 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-22, 9:53 AM

Hi @MarkRHPearson ,

 

What is the current best solution for T480 users? I am running Ubuntu 18.04 LTS (kernel 5.3.0-59) with the latest firmware N24ET59W (1.34) version available on LVFS and throttling is still limiting the functionality of the laptop. Under heavy load, it may cap the frequency to 200MHz and then laptop becomes unusable. The fn+H tip doesn't work. Thermald service returns warning:

[WARN]sysfs write failed /dev/cpu/0/msr

probably due to SecureBoot being enabled. Is it current Leveno's recommendation to disable Secure Boot in order to enable Thermald and fix the issue on T480 platforms? From your last posts, I got the impression you are a bit sceptical about this solution.

Reply
Options

49 Posts

11-02-2012

United States of America

67 Signins

374 Page Views

  • Posts: 49
  • Registered: ‎11-02-2012
  • Location: United States of America
  • Views: 374
  • Message 403 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-22, 12:51 PM

@adrianf0 : Hi Adrian, can you try this script? https://gist.github.com/nariox/11e5284373eb4c858f817e060911ec03

I think it might set your temperature limit to something more reasonable without messing with msr values directly. That said, this doesn't affect the dGPU, so it will still freak out (become permanently throttled until reboot) if you go above 80C. If you don't have a dGPU, you don't have to worry.

 

Reply
Options

14 Posts

06-06-2018

Switzerland

28 Signins

252 Page Views

  • Posts: 14
  • Registered: ‎06-06-2018
  • Location: Switzerland
  • Views: 252
  • Message 404 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-22, 13:27 PM

@NariOX thank you for the tip.

It doesn't really solve the problem.

The script seems to do the job. In s-tui, during a stress test, I see higher temperature limit, higher frequency and 29W (instead of 14W) current power consumption. However, when I left it run, for 5 minutes, at a certain moment it's throttled anyway to 200MHz. It's also true, that if I quit afterwards s-tui and call the script again, the frequency comes back to normal.

My T480 has dGPU, but according to my knowledge, it's not used by default on Ubuntu.

 

So my original question remains open, @MarkRHPearson what is current Lenovo's recommendation for T480 and Linux users? What's the roadmap?

Reply
Options

8 Posts

05-29-2013

Brazil

10 Signins

137 Page Views

  • Posts: 8
  • Registered: ‎05-29-2013
  • Location: Brazil
  • Views: 137
  • Message 405 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-22, 14:15 PM

Hi @adrianf0 !

 

I have a P52s, which is very similar to the T480. What improve the performance for me was to remove/disable `thermald`and the go with `https://github.com/erpalma/throttled` (basically without any special setup/config. I haven't even done any specific config as far as I remember.

 

That really improved things here! My real "test" is the "rosetta@home" project - https://boinc.bakerlab.org/.

Initially (thermald running and no throttled installed) I was seeing the behavior of CPU being capped to 200Mhz. After stopping thermald and installing throttled I could get it to run with 2300Mhz (IIRC) for more than 24h.

 

I'd try that.

 

Ps.: I'm using Debian, mixing testing and unstable releases, with Linux Kernel 5.6.14-2, so quite updated. And fwupdmgr says I have nothing to update here (not sure If I did something wrong though, I have very knowledge in such low level things).

 

Reply
Options

14 Posts

06-06-2018

Switzerland

28 Signins

252 Page Views

  • Posts: 14
  • Registered: ‎06-06-2018
  • Location: Switzerland
  • Views: 252
  • Message 406 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-22, 14:36 PM

@diraol 

Thank you for your reply.

However, throttled requires SecureBoot (or KernelLockdown) to be disabled, what is something I would like to avoid as the machine is used for professional purposes.

The script assigns every 5s MSR which apparently is assigned by Lenovo's embedded controllers. If that's the only problem on the T480 platform, @MarkRHPearson, when Lenovo will finally release a firmware for the T480 platform where those values are set properly, such any script needs to permanently race with your controllers?

 

The laptop is on the guarantee. Lenovo's support at the beginning doesn't understand the problem, eventually, when redirected to this thread, has no clue how to help.

Reply
Options

2 Posts

12-05-2019

Sweden

10 Signins

89 Page Views

  • Posts: 2
  • Registered: ‎12-05-2019
  • Location: Sweden
  • Views: 89
  • Message 407 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-22, 14:57 PM

@adrianf0 Throttled actually supports Secure Boot now through a workaround! Check the readme.

 

EDIT: Disregard that, didn't read your post properly

Reply
Options

14 Posts

06-06-2018

Switzerland

28 Signins

252 Page Views

  • Posts: 14
  • Registered: ‎06-06-2018
  • Location: Switzerland
  • Views: 252
  • Message 408 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-22, 15:16 PM

@lolomokakus Thank you also for your reply. However, as I pointed in my previous message, the workaround requires disabling Kernel Lockdown. It's something I would like to avoid as well. In general, it's not normal, that there is a script tampering every 5s with MSR. I also don't want to trade security for Lenovo's bug fix. If the issue is in the values/code used by Lenovo's EC, I expect the firmware fix to address it. I am subscribed to this thread already since the beginning. Due to the fact the users of different Lenovo's platform have problem with throttling and post in this thread, I already lost track, whether solution @MarkRHPearson is focussing now ("lap protection"), will be actually solution for T480 platform problem. Thus, again @MarkRHPearson (or any another Lenovo's representative), what is the roadmap of fixing throttling issue on T480 platform? If there is no plan to fix it, then I can launch a procedure of returning the broken laptop which supposed to have Linux compatibility.

Reply
Options

12 Posts

11-08-2019

Netherlands

32 Signins

268 Page Views

  • Posts: 12
  • Registered: ‎11-08-2019
  • Location: Netherlands
  • Views: 268
  • Message 409 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-22, 15:25 PM

@ adrianf0 wrote:
 

Thus, again @MarkRHPearson (or any another Lenovo's representative), what is the roadmap of fixing throttling issue on T480 platform? If there is no plan to fix it, then I can launch a procedure of returning the broken laptop which supposed to have Linux compatibility.

 

They already answered here. Most models will never be fixed. They forced us to buy new laptops from the "2020 series".

Reply
Options

14 Posts

06-06-2018

Switzerland

28 Signins

252 Page Views

  • Posts: 14
  • Registered: ‎06-06-2018
  • Location: Switzerland
  • Views: 252
  • Message 410 of 484

Re:[X1C6/T480s] low cTDP and trip temperature in Linux

2020-06-22, 15:30 PM

Sorry folks, I appreciate that all of you try to by helpful :-) ,  appreciate that, but I need a clear statement from @MarkRHPearson, or any other Lenovo's representative: what is the roadmap of fixing throttling issue on T480 platform?

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms