.cargo | ||
.github/workflows | ||
amdfand | ||
amdgpu | ||
amdvold | ||
examples | ||
services | ||
.gitignore | ||
build.sh | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE.APACHE2.txt | ||
LICENSE.md | ||
README.md |
AMDGPU Fan control service
Available commands:
monitor
- Print current temp and fan speedservice
- Set fan speed depends on GPU temperatureset-automatic
- Switch to GPU automatic fan speed controlset-manual
- Switch to GPU manual fan speed controlavailable
- Print available cards
amdfand set-automatic | set-manual [OPTIONS]
Optional arguments:
- -h, --help Help message
- -c, --card CARD GPU Card number
Usage
cargo install argonfand
sudo argonfand monitor # print current temperature, current fan speed, min and max fan speed
sudo argonfand service # check amdgpu temperature and adjust speed from config file
Config file
# /etc/amdfand/config.toml
log_level = "Error"
temp_input = "temp1_input"
[[speed_matrix]]
temp = 4.0
speed = 4.0
[[speed_matrix]]
temp = 30.0
speed = 33.0
[[speed_matrix]]
temp = 45.0
speed = 50.0
[[speed_matrix]]
temp = 60.0
speed = 66.0
[[speed_matrix]]
temp = 65.0
speed = 69.0
[[speed_matrix]]
temp = 70.0
speed = 75.0
[[speed_matrix]]
temp = 75.0
speed = 89.0
[[speed_matrix]]
temp = 80.0
speed = 100.0
🔖 License
This work is dual-licensed under Apache 2.0 and MIT. You can choose between one of them if you use this work.
SPDX-License-Identifier: Apache-2.0 OR MIT