New feature : CPU fan manual selection for Linux platforms
On Linux platforms, the CPU fan is often controlled by the motherboard unlike the GPU fan.
Because of that, it does not contain cpu
in the sensor name, and cannot automatically detected.
E.g. with an AMD CPU on an Asus motherboard: the CPU fan sensor is managed by nct6798
Nuvoton's Super I/O Controller
>$ sensors
nct6798-isa-0290
Adapter: ISA adapter
fan1: 707 RPM (min = 0 RPM) #
fan2: 906 RPM (min = 0 RPM) # One of those is the CPU fan, but which one?
fan3: 691 RPM (min = 0 RPM) #
fan4: 657 RPM (min = 0 RPM) #
fan5: 0 RPM (min = 0 RPM)
fan6: 0 RPM (min = 0 RPM)
fan7: 0 RPM (min = 0 RPM)
amdgpu-pci-0800
Adapter: PCI adapter
fan1: 825 RPM (min = 0 RPM, max = 3200 RPM) # GPU fan is clearly identified
On previous releases, when CPU fan could not be automatically detected, it was ignored with the following warning on logs:
20/02/2024 18:05:13 [WARNING] Your CPU Fan Speed is not supported yet
With this new release, there is now a new field in the config.yaml
configuration file:
# CPU fan
# For Linux/MacOS platforms, the CPU fan is amongst all fan sensors gathered from the motherboard chipset
# If value is AUTO the system monitor will try to auto-select the CPU fan
# If auto-detection fails, it might be necessary to manually indicate which fan is the CPU fan
# Value must be 'controller/fan' e.g. 'nct6798/fan2'. Use configuration wizard for help in selection
CPU_FAN: AUTO
And the CPU fan can be manually selected in the configuration wizard:
A tooltip also indicates which package to install in order to detect hardware sensors from the motherboard:
What's Changed
- Fix sensor names for Intel GPU, avoid exception when fan speed is None by @mathoudebine in #479
- Add GPU frequency sensor by @mathoudebine in #480
- ⬆️ Update pillow requirement from ~=10.2.0 to ~=10.3.0 by @dependabot in #496
- Add LHM robustness for sensors None values by @mathoudebine in #507
- Check if theme is valid for Configuration Wizard by @mathoudebine in #506
- ⬆️ Update babel requirement from ~=2.14.0 to ~=2.15.0 by @dependabot in #511
- Add CPU fan selection for Python libraries on Linux by @mathoudebine in #484
Full Changelog: 3.4.0...3.4.1