MTL: Add support for Meteor Lake

Bug #2028217 reported by koba
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
thermald (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Won't Fix
Undecided
koba
Jammy
Fix Released
Undecided
koba
Kinetic
Won't Fix
Undecided
koba
Lunar
Won't Fix
Undecided
koba
Mantic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * Support thermald on Meteor Lake CPU.

[Test Plan]

 * Use a machine with a Meteor Lake cpu.

 * systemctl status thermald

 * Status of thermald should be `running`

[Where problems could occur]

 * This change adds support for Meteor Lake in thermald, which won't impact other hardware.

koba (kobako)
Changed in thermald (Ubuntu Focal):
status: New → In Progress
Changed in thermald (Ubuntu Jammy):
status: New → In Progress
Changed in thermald (Ubuntu Kinetic):
status: New → In Progress
Changed in thermald (Ubuntu Lunar):
status: New → In Progress
Changed in thermald (Ubuntu Focal):
assignee: nobody → koba (kobako)
Changed in thermald (Ubuntu Jammy):
assignee: nobody → koba (kobako)
Changed in thermald (Ubuntu Kinetic):
assignee: nobody → koba (kobako)
Changed in thermald (Ubuntu Lunar):
assignee: nobody → koba (kobako)
summary: - MTL: Add support for Meter Lake
+ MTL: Add support for Mateor Lake
description: updated
summary: - MTL: Add support for Mateor Lake
+ MTL: Add support for Meteor Lake
description: updated
Revision history for this message
Anthony Wong (anthonywong) wrote :

Mantic has 2.5.3, which has MTL support.

Changed in thermald (Ubuntu):
status: New → Fix Released
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Ubuntu 22.10 (Kinetic Kudu) has reached end of life, so this bug will not be fixed for that specific release.

Changed in thermald (Ubuntu Kinetic):
status: In Progress → Won't Fix
Revision history for this message
koba (kobako) wrote :
Revision history for this message
koba (kobako) wrote (last edit ):

For Jammy, thermald is active(running).
~~~
# 202308161743-latest vanilla kernel
ubuntu@ubuntu-ubuntu:~$ uname -a
Linux ubuntu-ubuntu 6.4.0-060400rc3-generic #202305212230 SMP PREEMPT_DYNAMIC Wed Aug 16 09:29:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu-ubuntu:~$ sudo systemctl status thermald
● thermald.service - Thermal Daemon Service
     Loaded: loaded (/lib/systemd/system/thermald.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2023-08-16 05:43:05 EDT; 17s ago
   Main PID: 814 (thermald)
      Tasks: 4 (limit: 8992)
     Memory: 5.7M
        CPU: 42ms
     CGroup: /system.slice/thermald.service
             └─814 /usr/sbin/thermald --systemd --dbus-enable --adaptive

Aug 16 05:43:05 ubuntu-ubuntu thermald[814]: sensor id 14 : No temp sysfs for reading raw temp
Aug 16 05:43:05 ubuntu-ubuntu thermald[814]: sensor id 14 : No temp sysfs for reading raw temp
Aug 16 05:43:05 ubuntu-ubuntu thermald[814]: sensor id 14 : No temp sysfs for reading raw temp
Aug 16 05:43:05 ubuntu-ubuntu thermald[814]: Unsupported condition 4 (Motion)
Aug 16 05:43:05 ubuntu-ubuntu thermald[814]: Unsupported condition 4 (Motion)
Aug 16 05:43:05 ubuntu-ubuntu thermald[814]: Unsupported conditions are present
Aug 16 05:43:05 ubuntu-ubuntu thermald[814]: Polling mode is enabled: 4
Aug 16 05:43:09 ubuntu-ubuntu thermald[814]: Manufacturer didn't provide adequate support to run in
Aug 16 05:43:09 ubuntu-ubuntu thermald[814]: optimized configuration on Linux with open source
Aug 16 05:43:09 ubuntu-ubuntu thermald[814]: You may want to disable thermald on this system if you see issue
~~~
[1692175285][MSG]32 CPUID levels; family:model:stepping 0x6:aa:2 (6:170:2)
[1692175285][DEBUG]header version[2] size[2284] header_size[148] flags[40000000]
~~~

koba (kobako)
description: updated
Revision history for this message
koba (kobako) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this is not needed in focal, which will never have a kernel that supports MTL

Changed in thermald (Ubuntu Focal):
status: In Progress → Won't Fix
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Not needed in lunar either for the same reason.

Changed in thermald (Ubuntu Lunar):
status: In Progress → Won't Fix
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

FYI, sponsored uploads should be built on ubuntu, or .changes file doesn't have "Launchpad-Bugs-Fixed" field, which is crucial for SRU's.

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello koba, or anyone else affected,

Accepted thermald into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/thermald/2.4.9-1ubuntu0.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in thermald (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

PLease keep in mind that the test plan should be executed on the jammy official kernels.

Revision history for this message
koba (kobako) wrote (last edit ):

Verified
~~~
thermald[6941]: 32 CPUID levels; family:model:stepping 0x6:aa:2 (6:170:2)
thermald[6941]: NO RAPL sysfs present
thermald[6941]: 32 CPUID levels; family:model:stepping 0x6:aa:2 (6:170:2)
thermald[6941]: sensor id 11 : No temp sysfs for reading raw temp
thermald[6941]: sensor id 11 : No temp sysfs for reading raw temp
thermald[6941]: sensor id 11 : No temp sysfs for reading raw temp
thermald[6941]: Config file /etc/thermald/thermal-conf.xml does not exist
thermald[6941]: Config file /etc/thermald/thermal-conf.xml does not exist
thermald[6941]: Config file /etc/thermald/thermal-conf.xml does not exist
thermald[6941]: Polling mode is enabled: 4

$ uname -a
Linux ubuntu 6.2.0-32-generic #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

~~~

tags: added: verification-done-jammy
removed: verification-needed-jammy
tags: added: verification-done
removed: verification-needed
Revision history for this message
koba (kobako) wrote : Re: [Bug 2028217] Re: MTL: Add support for Meteor Lake

Verified,
~~~
$ sudo systemctl status thermald
● thermald.service - Thermal Daemon Service
     Loaded: loaded (/lib/systemd/system/thermald.service; enabled;
vendor preset: enabled)
     Active: active (running) since Wed 2023-09-13 17:42:10 CST; 4min 19s ago
   Main PID: 1053 (thermald)
      Tasks: 2 (limit: 8916)
     Memory: 1.0M
        CPU: 29ms
     CGroup: /system.slice/thermald.service
             └─1053 /usr/sbin/thermald --systemd --dbus-enable --adaptive

Sep 13 17:42:10 ubuntu thermald[1053]: 32 CPUID levels;
family:model:stepping 0x6:aa:2 (6:170:2)
Sep 13 17:42:10 ubuntu thermald[1053]: NO RAPL sysfs present
Sep 13 17:42:10 ubuntu thermald[1053]: 32 CPUID levels;
family:model:stepping 0x6:aa:2 (6:170:2)
Sep 13 17:42:10 ubuntu thermald[1053]: sensor id 11 : No temp sysfs
for reading raw temp
Sep 13 17:42:10 ubuntu thermald[1053]: sensor id 11 : No temp sysfs
for reading raw temp
Sep 13 17:42:10 ubuntu thermald[1053]: sensor id 11 : No temp sysfs
for reading raw temp
Sep 13 17:42:10 ubuntu thermald[1053]: Config file
/etc/thermald/thermal-conf.xml does not exist
Sep 13 17:42:10 ubuntu thermald[1053]: Config file
/etc/thermald/thermal-conf.xml does not exist
Sep 13 17:42:10 ubuntu thermald[1053]: Config file
/etc/thermald/thermal-conf.xml does not exist
Sep 13 17:42:10 ubuntu thermald[1053]: Polling mode is enabled: 4

~~~
$ uname -a
Linux ubuntu 6.2.0-34-generic #34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC
Thu Sep 7 13:12:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~$ sudo apt policy thermald
thermald:
  Installed: 2.4.9-1ubuntu0.4
  Candidate: 2.4.9-1ubuntu0.4
  Version table:
 *** 2.4.9-1ubuntu0.4 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy-proposed/main
amd64 Packages
        100 /var/lib/dpkg/status
     2.4.9-1ubuntu0.3 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy-updates/main
amd64 Packages
     2.4.9-1 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

~~~

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thermald - 2.4.9-1ubuntu0.4

---------------
thermald (2.4.9-1ubuntu0.4) jammy; urgency=medium

  * Add support for Meteor Lake (LP: #2028217)

 -- Koba Ko <email address hidden> Thu, 10 Aug 2023 15:36:06 +0800

Changed in thermald (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for thermald has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Bin Li (binli) wrote :

Hi koba,

 The lastest thermald 2.4.9-1ubuntu0.4 failed to start on my Meteor Lake platform, is it expected cause the dytc_lapmode? Thanks!

Dec 29 14:38:16 Mersey-1 thermald[842]: 35 CPUID levels; family:model:stepping 0x6:aa:4 (6:170:4)
Dec 29 14:38:16 Mersey-1 thermald[842]: [/sys/devices/platform/thinkpad_acpi/dytc_lapmode] present: Thermald can't run on this platform
Dec 29 14:38:16 Mersey-1 thermald[842]: Unsupported cpu model or platform
Dec 29 14:38:16 Mersey-1 systemd[1]: thermald.service: Deactivated successfully.

Revision history for this message
AceLan Kao (acelankao) wrote :

https://github.com/intel/thermal_daemon/issues/268

It's a known issue on lenovo laptops which lacks of firmware support.
Suggested by upstream to add --ingore-cpuid-check to make thermald keeps working.

Revision history for this message
Bin Li (binli) wrote :

hi acelan,

 Got it, thanks a lot.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.