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

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 461 of 484

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

2021-01-01, 17:54 PM

Hi @intelfx,

I think this would be better addressed at the throttled github repo. But, I don't encounter this issue. Are you sure it is not a thermal or other type of throttling? You should check it by running throttled with the --monitor flag. Also, maybe send your lenovo_fix.conf when you report at github.

 

But anyways, I still think the thermal limit of the dGPU has not been addressed by any firmware fix and is not fixable by any software fix that I am aware of. Can others confirm that or point me in the right direction?

Reply
Options

50 Posts

09-15-2016

Russian Federation

75 Signins

826 Page Views

  • Posts: 50
  • Registered: ‎09-15-2016
  • Location: Russian Federation
  • Views: 826
  • Message 462 of 484

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

2021-01-01, 19:52 PM

@ NariOX wrote:

Hi @intelfx,

I think this would be better addressed at the throttled github repo. But, I don' encounter this issue. Are you sure it is not a thermal or other type of throttling? You should check it by running throttled with the --monitor flag. Also, maybe send your lenovo_fix.conf when you report at github.

 

Not really. Throttled sets all relevant registers (that is, two sets of PL1/PL2, MSRs and MMIOs) correctly, which I double-checked by poking /dev/mem myself according to the Intel spec. This is 100% a platform firmware issue. And yes, I'm sure it is power throttling.

 

As for encountering it yourself: reboot your laptop (warm reboot, it is significant), configure throttled to remove visible PL1/PL2 limits (disable thermald), run anything that would show package power consumption (s-tui, lenovo_fix.py --monitor, tur**bleep**t), establish good cooling (to avoid thermal throttling) and run a stress test. After 30-60 seconds of sustained load you will see package power usage clamped at 25W regardless of your PL1/PL2 settings, whereas the true thermal limit would be something along 30-33W.

 

If not, I would be very curious to know your laptop model and firmware versions.

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 463 of 484

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

2021-01-01, 22:09 PM

I was about to show my results when I noticed the "warm reboot". Lo and behold, I have the same issue. Nevertheless, a suspend/wake cycle "fixes" it for me.

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 464 of 484

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

2021-03-02, 2:59 AM

@MarkRHPearson : any update on removing the dytc_lapmode from the X1C6, P1G2 and other **80 devices? Also, could you give those with a MX150 dGPU a definite answer about the throttling that happens at 70C?

Reply
Options

8 Posts

01-07-2020

France

9 Signins

51 Page Views

  • Posts: 8
  • Registered: ‎01-07-2020
  • Location: France
  • Views: 51
  • Message 465 of 484

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

2021-03-03, 15:08 PM

Some thermald good news: a version 2.4.3 is coming.

It will allow to pass the option:

--ignore-cpuid-check

in systemd's thermald service config file along --adaptive one.

I could recover 5.8 hwe Ubuntu kernel perfs using 5.10 oem Ubuntu kernel.

 

Source: https://github.com/intel/thermal_daemon/issues/268#issuecomment-785845053

Very simple & quick fix from maintainer.

 

Reminder: using my Ubuntu 20.04, T480s (Intel GPU), good perfs are reached by simply using 5.8 hwe kernel and thermald 2.4.2.

Pick thermald 2.4.2 from Debian Sid because Ubuntu 21.04's thermald has dependencies issues.

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 466 of 484

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

2021-03-03, 18:57 PM

Weird, it does fix the CPU performance, but now my CPU won't "slow down" to prevent the dGPU from throttling. I think raising the dGPU temp limits even to 80C would be VERY helpful in my case. What say you @MarkRHPearson ?

Reply
Options

466 Posts

07-22-2019

Canada

373 Signins

4011 Page Views

  • Posts: 466
  • Registered: ‎07-22-2019
  • Location: Canada
  • Views: 4011
  • Message 467 of 484

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

2021-03-03, 19:01 PM

Hi,

 

Sorry - I need to chase down the MX150 dGPU question from above, I lost track of that.

I'm afraid I haven't done the kernel patch either, I was waiting on some other patches to go through so I didn't confuse things and also lost track of that. It's back on my todo list.

 

The changes @fthx reference above look promising for those what want to use thermald as probably a better alternative

 

Mark

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 468 of 484

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

2021-03-04, 14:00 PM

@MarkRHPearson Thank you very much for the reply. I am thankful that Lenovo (or maybe you in your spare time?) is dedicating any time at all to a product 2 generations old. I am also thankful for you, for very few companies have a representative that is part of the community, and thus a face to receive all the vitriol, it must not be easy.

 

For anyone not following the thermald thread, thermald 2.4.3 contains the patch, it was pushed to debian sid and might make it to the ubuntu repos in the near future. I have posted an Archlinux source file with the patch, and reported the package out-of-date. It should be updated soon, but in the meantime, you can use my source package to build it. Once installed, you need to edit the service with `# systemctl edit --full thermald.service` and add the `--ignore-cpuid-check` option to the command.

Reply
Options

466 Posts

07-22-2019

Canada

373 Signins

4011 Page Views

  • Posts: 466
  • Registered: ‎07-22-2019
  • Location: Canada
  • Views: 4011
  • Message 469 of 484

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

2021-03-11, 17:53 PM

Patch has been pushed upstream (attached here in case anybody wants to try it).

 

Hopefully it makes it's way through smoothly and I'll see what I can do to get it pulled into distro's sooner once it's accepted.

 

Mark

 

Reply
Options

466 Posts

07-22-2019

Canada

373 Signins

4011 Page Views

  • Posts: 466
  • Registered: ‎07-22-2019
  • Location: Canada
  • Views: 4011
  • Message 470 of 484

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

2021-03-11, 17:55 PM
Hmmm - looks like attachments don't work. Sigh. It's posted here: https://www.spinics.net/lists/platform-driver-x86/msg24969.html
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