intel / thermal_daemon

Thermal daemon for IA
GNU General Public License v2.0
539 stars 117 forks source link

Support for Thinkpad P15g1 w/ Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz #423

Closed anpin closed 1 month ago

anpin commented 11 months ago

Hi, I'm running Thinkpad P15g1 w/ Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz with nixos on kernerl 6.4.11 and observing this


└[~]> journalctl -xeu thermald
Sep 24 16:30:24 sabbath thermald[1680]: [1695558624][WARN][/sys/devices/platform/thinkpad_acpi/dytc_lapmode] present: Thermald can't run on this platform
Sep 24 16:30:24 sabbath thermald[1680]: [1695558624][MSG]Unsupported cpu model, use thermal-conf.xml file or run with --ignore-cpuid-check
Sep 24 16:30:24 sabbath thermald[1680]: [1695558624][MSG]22 CPUID levels; family:model:stepping 0x6:a5:2 (6:165:2)
Sep 24 16:30:24 sabbath thermald[1680]: [1695558624][WARN][/sys/devices/platform/thinkpad_acpi/dytc_lapmode] present: Thermald can't run on this platform
Sep 24 16:30:24 sabbath thermald[1680]: [1695558624][MSG]Using config file /nix/store/av45nr81fkz3hxy160wflq6rg02lypqw-thermald-2.5.3/etc/thermald/thermal-conf.xml
Sep 24 16:30:24 sabbath thermald[1680]: [1695558624][MSG]Unsupported cpu model, use thermal-conf.xml file or run with --ignore-cpuid-check
Sep 24 16:30:24 sabbath thermald[1680]: [1695558624][MSG]THD engine init failed
Sep 24 16:30:24 sabbath thermald[1680]: [1695558624][MSG]Polling mode is enabled: 4
Sep 24 17:49:25 sabbath thermald[1680]: [1695563365][MSG]Terminating ...
Sep 24 17:49:25 sabbath systemd[1]: Stopping Thermal Daemon Service...

After running dptfxtract I've got some configs (in attach) and was able to manually start it with sudo thermald --no-daemon --ignore-cpuid-check --dbus-enable --adaptive --loglevel=debug | tee thermald.log and the log is attached yet I do not know if the generated config does make any sense or difference

thermald.log thermald.zip

spandruvada commented 11 months ago

I see a condition set matched and correct tables are loaded. I suggest just use and report if you find issues

anpin commented 11 months ago

Thanks I'll try that. What would be the approach to merge these auto-generated files into one single configuration? Just copy all the ThermalZones into one file and that's it?

spandruvada commented 10 months ago

With --adaptive and --ignore-cpuid-check they will be used, you don't have to do anything special.