| Crates.io | amdfand |
| lib.rs | amdfand |
| version | 1.0.14 |
| created_at | 2021-07-02 11:37:30.641293+00 |
| updated_at | 2023-11-22 09:45:27.260515+00 |
| description | AMDGPU fan control service |
| homepage | https://github.com/Eraden/amdgpud |
| repository | https://github.com/Eraden/amdgpud |
| max_upload_size | |
| id | 417777 |
| size | 68,973 |
Available commands:
service - 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 cardsOptional arguments:
cargo install amdfand
sudo amdfand monitor # print current temperature, current fan speed, min and max fan speed
sudo amdfand service # check amdgpu temperature and adjust speed from config file
# /etc/amdfand/config.toml
log_level = "Error"
temp_input = "temp1_input"
update_rate = 4000 # time between checks in milliseconds
# GPU temperature to fan speed matrix
[[temp_matrix]]
temp = 4.0
speed = 4.0
[[temp_matrix]]
temp = 30.0
speed = 33.0
[[temp_matrix]]
temp = 45.0
speed = 50.0
[[temp_matrix]]
temp = 60.0
speed = 66.0
[[temp_matrix]]
temp = 65.0
speed = 69.0
[[temp_matrix]]
temp = 70.0
speed = 75.0
[[temp_matrix]]
temp = 75.0
speed = 89.0
[[temp_matrix]]
temp = 80.0
speed = 100.0
# GPU usage to fan speed matrix
[[usage_matrix]]
usage = 30.0
speed = 34.0
[[usage_matrix]]
usage = 65.0
speed = 60.0