GitHub - Leyukaka/fancontrol-rs: Windows fan control and monitoring for GPU, CPU and RAM activity, written in Rust. Inspired by FanControl (Rem0o), not affiliated. PawnIO only . No WinRing0.

GitHub

8 min read Original article ↗

fancontrol-rs logo

Windows fan control and monitoring for GPU, CPU and RAM activity, written in Rust.
Open-source option next to tools like FanControl and Argus Monitor.
Inspired by FanControl (Rem0o). Not affiliated.
PawnIO only (no WinRing0) · profiles & curves · AIO fans on motherboard headers · live UI

Rust License Version PawnIO Windows

fancontrol-rs: temperature graph, GPU/CPU panels, Activity deck

GPU panel: NVIDIA core temp, power, utilization, VRAM CPU panel: package power, temperature, load

Curve editor: temperature-to-duty profiles

Features

  • Fan control: curves, profiles, live duty sliders, multi-sensor temperature graph. A curve can follow the hottest of several sensors (CPU, GPU, SSD...) and slow fans down only after a response time. Works for case fans and AIO fans on motherboard headers (not a pump/RGB vendor app)
  • Activity deck: CPU load history + top processes (CPU % and RAM), filter and sort (default on; toggle from the top bar or Options)
  • Security: PawnIO only for Super I/O / EC. Never ships WinRing0 or other known-vulnerable ring-0 drivers
  • Host sensors: NVIDIA GPU multi-metric via fixed-path nvidia-smi (temp, power W, util, clocks, VRAM, fan %) + GPU detail panel; SSD/NVMe temps via DeviceIoControl (no PowerShell); DDR5 DIMM temps via PawnIO SMBus (host.dimm{N}.temp, owner-validated on AMD)
  • Metrics: graph multi-kind series (GPU power/util/…; CPU package W via PawnIO MSR on AMD + Intel; optional DRAM/limit on Intel RAPL), optional local SQLite store + CSV export, optional OTLP/HTTP export; see docs/METRICS_AND_OTEL.md
  • Updates: manual only - Options → Check for updates (GitHub Releases API link). No background check, no auto-download, no silent install
  • Start with Windows: Options + first-run prompt (current-user Run key, no admin)
  • Admin elevation: Needs-admin dialog + top bar Restart as Administrator (UAC via runas; no silent elevation)
  • UI: egui 0.37 desktop app, Neon theme by default plus light / dark, Windows fonts (Segoe UI), system tray, first-run write consent, 8 languages (en/fr/de/es/it/zh/ja/lb)
  • CLI: sample, list-sensors, list-controls, test-duty, sample-storage, …
  • Optional fun: shader graph styles (wgpu) in Options
  • Spec-driven design: decisions live under specs/

Motherboard support

Every desktop motherboard with a Super I/O / EC HWM path should be able to work - we aim for broad chip coverage (Nuvoton NCT668x, banked NCT679x, ITE IT87, and friends) via PawnIO.

What we still need from the community is logs so we can certify each model (read sensors, fan RPM, and optional PWM write). Without a report, we will not mark a board as certified even if the code path exists.

Certified so far NCT6687D-class EC HWM · ASUS ROG STRIX B550-A GAMING (banked NCT / NCT6798-class) - full read + PWM write on maintainer hardware
Help wanted Any other board (ASUS / MSI / Gigabyte / ASRock / …). Paste detect + list-sensors + list-controls and open a Hardware report
How Install PawnIO, run as Administrator, follow docs/SUPPORTED_HARDWARE.md

Binaries are unsigned (SmartScreen may warn). PWM writes are on by default after first-run consent - use --read-only if you only want sensors.

Compared to other tools

Not affiliated with FanControl, Argus Monitor, LibreHardwareMonitor, or any OEM brand.
Rough map of the Windows landscape. Support always depends on your board and EC.

Software License Focus Curves / profiles Notes Maturity
FanControl (Rem0o) Free Fan control + plugins Strong multi-curve setup Large community; default pick for many desktops Mature
Argus Monitor Paid (trial) Monitoring suite + fans Strong; synthetic temps, AIO, etc. Closed source; also drive/SMART oriented Mature
LibreHardwareMonitor Open source Sensors / monitoring Not a full fan-control app Often used under other tools Mature (monitor)
HWiNFO Free / Pro Logging & sensors Not for PWM curves Pair with a fan app if you need control Mature (monitor)
SpeedFan Free (legacy) Old all-in-one Dated UI Often fails on modern boards Legacy
NBFC (and forks) Open source Laptops Per-model configs Desktop Super I/O is a different problem Mature niche
MSI Afterburner Free GPU OC + GPU fans GPU fan curve Not a full motherboard fan suite Mature (GPU)
OEM apps (Armoury Crate, Gigabyte CC, …) Free with board Vendor board / RGB / fans Varies Heavy; brand-locked Mature
AIO / case apps (iCUE, CAM, …) Free / freemium Their pumps, fans, RGB Good inside that ecosystem Weak for random mobo headers Mature niche
fancontrol-rs (this repo) MIT / Apache-2.0 Fans + GPU / CPU / RAM monitoring Curves, profiles, sliders, domain panels, multi-sensor graph, metrics store PawnIO only (no WinRing0); AIO fans via mobo headers; egui UI; all boards welcome - certified list is short until you send logs; binaries unsigned Early (v0.5.x)

Quick pick

You want… Often a fit
Max features and plugins, battle-tested FanControl
Paid all-in-one (fans + disks + polish) Argus Monitor
Sensors / logging only LibreHardwareMonitor, HWiNFO
Laptop EC control NBFC
GPU fans only Afterburner
Brand AIO / RGB ecosystem iCUE, CAM, etc.
Open source, PawnIO-only I/O, fan UI + GPU/CPU/RAM activity (including AIO fans on mobo headers); help certify more boards with logs fancontrol-rs

Specs

Document Description
00-overview Vision & principles
01-product Product requirements
02-architecture Architecture & crates
03-hardware-backend PawnIO & hardware access
04-ui UI requirements
05-plugins Plugin system
06-roadmap Development phases

Docs

Document Description
CONTRIBUTING.md Bugs, PRs, AI contribution policy
docs/SUPPORTED_HARDWARE.md Chip matrix, prerequisites, validation
docs/SIGNING_AND_DISTRIBUTION.md Signing options, release checklist, CI notes
docs/SECURITY.md Reporting, CodeQL/audit, SHA256 verify, signing/auto-update status

Status

v0.7.4. Lower RAM use: memory is released when the window is hidden to the tray, the renderer only starts DirectX 12 (no Vulkan or OpenGL driver loaded next to it), and the CJK font is only loaded for Chinese and Japanese. Tray "Open" now also brings back a window that was minimized before it was hidden. v0.7.3: security update: rustls-webpki 0.103.16 and webpki-roots 1.0.10 (RUSTSEC-2026-0381, 0382), egui 0.37, release builds carry a GitHub build provenance attestation. v0.7.2: rustls 0.23.46 (RUSTSEC-2026-0346 to 0349). v0.7.1: Options > About with project links. v0.7.0 Neon edition: Neon theme by default (own title bar, animated RGB border; classic look in Options > Theme), Windows fonts, curves that follow several sensors, curve response time, duplicate / delete curves, DirectX 12 rendering on Windows (fixes the window freezing after a resize on NVIDIA), plus the v0.6.2 fixes. NCT668x + banked NCT (ROG B550-A) certified; other boards should work - send logs to certify. Domain panels (Sensors / GPU / CPU), Activity toggle in the top bar, UI card/table padding, multi-kind graph, CPU package power (AMD + Intel RAPL), DDR5 DIMM temps (SMBus, no experimental label), Activity deck, metrics store, opt-in OTLP/HTTP, Start with Windows, Restart as Administrator (UAC), tray-icon 0.26 with a frozen Windows GUID. Updates are manual only.
Public source of truth: this repo (Releases, issues, PRs).

Crate Role
fancontrol-core Models, curves, profiles, channel map, control loop
fancontrol-plugins Traits, mock, host sensors, CPU activity
fancontrol-pawnio PawnIO FFI + LpcIO + NCT668x / banked NCT HWM
fancontrol-ui egui app
fancontrol-rs CLI + binary entry

Validated hardware:

  • Nuvoton NCT6687D-class EC (id 0xD5 rev 0x92 @ 0x0A20)
  • Banked NCT on ASUS ROG STRIX B550-A GAMING (id 0xD4 rev 0x2B @ 0x2E / HWM 0x0290) - PWM OK

Details: docs/SUPPORTED_HARDWARE.md.

Download

Verify the binary

Releases built after build provenance was added (newer than v0.7.2) carry a GitHub attestation that proves the exe was built by this repo's release workflow. With the GitHub CLI:

gh attestation verify fancontrol-rs.exe --repo Leyukaka/fancontrol-rs

The SHA256 check still works for every release:

Get-FileHash .\fancontrol-rs.exe -Algorithm SHA256
Get-Content .\fancontrol-rs.exe.sha256

The hex digests must match (case-insensitive). More in docs/SECURITY.md.

Binaries are not code-signed yet. Expect SmartScreen and occasional Defender false positives. Signing plan: docs/SIGNING_AND_DISTRIBUTION.md.

Prerequisites (hardware)

  1. PawnIO is required for Super I/O / EC access. Not bundled: install the official package first. Without it the app still starts (mock / config / host sensors); the UI explains if the backend cannot open.
  2. Administrator: live HWM / pawnio_open needs elevation. In the UI, use Restart as Administrator (UAC prompt) when the Needs-admin dialog appears, or right-click the exe → Run as administrator.
  3. Compatible board: NCT668x EC is the validated path; see docs/SUPPORTED_HARDWARE.md.

Building

cargo build --release
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings

Release binary: target/release/fancontrol-rs.exe.

Windows Defender / SmartScreen / VirusTotal

The app talks to PawnIO (kernel I/O), may spawn nvidia-smi for GPU temps, and reads SSD temps via native storage APIs (no PowerShell). Unsigned builds that touch hardware drivers often get heuristic flags (same class of tools as FanControl / LibreHardwareMonitor).

  • Prefer official Releases and verify SHA256: docs/SECURITY.md.
  • PWM writes are on by default; --read-only is quieter for scanners and safer for diagnostics.

Do not disable Defender. For local builds, exclude the folder:

  1. Windows Security → Virus & threat protection → Manage settings
  2. Exclusions → Add exclusion → Folder
  3. Add C:\projet\fancontrol-rs\target (or the whole repo if needed)
  4. If quarantined: Protection history → restore fancontrol-rs.exe

Use an elevated terminal for real hardware, or PawnIO open fails with access denied.

Safety

  • Never WinRing0 or known-vulnerable ring-0 drivers.
  • PWM writes are on by default (UI + curve control). Use --read-only when you only want sensors.
  • Prefer sample / list-sensors / list-controls before writing casually.

CLI

cargo run -- list-sensors
cargo run -- list-controls
cargo run -- sample
cargo run -- sample-storage --times 3
cargo run -- map-init
cargo run -- backend-status
cargo run -- init-profile --hw

UI

Bare exe (or no subcommand) opens the UI with PWM writes and curve control on (first-run confirmation). Mock channels need --mock.

cargo run --release
# same as: cargo run --release -- ui

cargo run -- --mock --no-hw ui
cargo run -- --hw-only ui
cargo run -- --read-only ui

Rename channels: channel-map.json in the app config dir (map-init creates it).

Contributing

Bug reports and PRs welcome. Read CONTRIBUTING.md first (issue-first for non-trivial work, quality gates, hardware safety, AI disclosure).

License

MIT OR Apache-2.0

Credits

  • Inspired by Rémi Mercier (@Rem0o) and LibreHardwareMonitor.
  • PawnIO by namazso.

Support

Buy Me A Coffee