diff --git a/contrib/thermald/surface_pro_7/README.md b/contrib/thermald/surface_pro_7/README.md new file mode 100644 index 000000000..3f9c63d14 --- /dev/null +++ b/contrib/thermald/surface_pro_7/README.md @@ -0,0 +1,11 @@ +# Using thermald to avoid thermal throttling +1. Install `thermald` for your distro, on many distros it might be installed by default +2. Place thermal-conf.xml into the `/etc/thermald/` directory +3. Depending on your ambient temperature you might want to lower the `` line to make thermald kick in more aggressively. (65000 = 65°C) +4. Place thermal-cpu-cdev-order.xml into the `/etc/thermald/` directory +5. `sudo systemctl restart thermald` + +# Making Fedora respect your config files +Fedora uses the `--adaptive` option by default, thus ignoring your config files. This might also apply to some other distros. + +Edit `/usr/lib/systemd/system/thermald.service` and remove `--adaptive` from the `ExecStart=` line. Then do a `systemctl daemon-reload` so systemd realizes the change. Thermald should then respect your configuration files. diff --git a/contrib/thermald/surface_pro_7/thermal-conf.xml b/contrib/thermald/surface_pro_7/thermal-conf.xml new file mode 100644 index 000000000..4cf0da183 --- /dev/null +++ b/contrib/thermald/surface_pro_7/thermal-conf.xml @@ -0,0 +1,27 @@ + + + + Surface Pro 7 Thermal Workaround + * + QUIET + + + cpu + + + x86_pkg_temp + 65000 + passive + SEQUENTIAL + + 1 + rapl_controller + 100 + 10 + + + + + + + diff --git a/contrib/thermald/surface_pro_7/thermal-cpu-cdev-order.xml b/contrib/thermald/surface_pro_7/thermal-cpu-cdev-order.xml new file mode 100644 index 000000000..e690c5a26 --- /dev/null +++ b/contrib/thermald/surface_pro_7/thermal-cpu-cdev-order.xml @@ -0,0 +1,18 @@ + + + + + + rapl_controller + intel_pstate + intel_powerclamp + cpufreq + Processor + +