
Workaround for overheating MacBooks and laptops with activated Intels "Turbo 
Boost", "Speed Step" or "AMD Turbo Core" where the UEFI/BIOS is not available 

With activated Boost- or Turbomode some devices will run with high 
cpu-frequencies (3Ghz or more) that overheat the CPU (more than 75 degrees 
Celsius ). Normally these modes can be disabled in UEFI/BIOS. But if the 
device has an unknown UEFI/BIOS-password or the device is a MacBook these 
settings are not available. This workaround reduces the maximal cpu-frequency 
to prevent overheating the cpu. It is recommended to check that the fan is not 
polluted or blocked with dirt.

--------------------------------------------------------------------------------

Dependencies:

cpupower-gui stress yad psensor

If they are not installed they can be installed in the terminal:

sudo apt install stress yad psensor

cpupower-gui.deb is inside the workaround-folder and can be installed with Gdebi

--------------------------------------------------------------------------------

This workaround has the following steps:

- installation of cpupower-gui, a program that shows the cpu-frequencies and 
  the used governor. It allows to change this values to check out the best 
  maximal cpu-frequency and the best governor
  
- installation of yad, a program for graphical dialogues for scripts  

- run the temperature_workaround.sh script and determine the best maximal 
  cpu-frequency and the governor with psensor and cpupower-gui
  
  
The available governors and CPUs maxfreq depend on the devices. Useful governors
(if available) are "schedutil" or "powersave", for the CPU maxfreq 1,8 to 2,6
Ghz. 

--------------------------------------------------------------------------------

These files should be in the folder temperature_workaround:

- this README

- Howto_Installation

- temperature_workaround.sh

- the startupscript cpu_max.sh

- the systemd-script cpu_max.service

- the installation package cpupower-gui_*.deb in at least version 1.0 . Tested 
  with *buntu 22.04 therefore may not be installable on older systems !!!! In 
  that case use the version from the repo of the respective distro.


Download für cpupower-gui:

https://software.opensuse.org/download.html?project=home%3Aerigas%3Acpupower-gui
&package=cpupower-gui
 
Download /Ubuntu/binary_packages/cpupower-gui_1.0.0-1.deb

The older versions e.g. from the repo of Ubuntu-Mate may not show all desired 
values !

Follow the steps in Howto_Installation carefully !!!
