linux-surface/contrib/thermald
ceckertz b9e33d7b4b
New example_config for SL1
The surface Laptop 1 immediately throttles to 400MHz if the GEN1 sensors reaches 52°C. Every time my Surface Laptop was under heavy load for more than a few minutes my performance hit a brick wall. 
This config fixes this, it caps the CPU temp at 90°C and more importantly keeps GEN1 cooler than 50°C. 
I have stress tested this config extensively and have had no thermal throttling and stable temps. 
If you have any questions or concerns feel free to contact me. 

Kind regards,
jo
2021-07-03 22:50:34 +02:00
..
example_config_SL1.xml New example_config for SL1 2021-07-03 22:50:34 +02:00
README.md Add example thermald configuration 2021-04-20 15:48:57 +02:00
thermal-conf.xml Add example thermald configuration 2021-04-20 15:48:57 +02:00
thermal-cpu-cdev-order.xml Add example thermald configuration 2021-04-20 15:48:57 +02:00

Example Thermald Configuration

This is a minimal thermald configuration, which sets the maximum sustained CPU temperature to about 65°C. Modify the <Temperature>65000</Temperature> value to adapt that to your liking.

Tested on a Surface Book 2, other devices may need adapting, see e.g. the thermald man page.

Installation

Both XML files need to be placed in the /etc/thermald/ directory.

Newer thermald versions attempt to automatically load the configuration from ACPI. If you want to use a manual configuration with such a version, you may need to remove the --adaptive option from the systemd service ExecStart line. You can do so by running sudo systemctl edit thermald.service.