
Lastly, rebooting after disabling the service should restore everything to normal. Which should restore hardware control (although it seems to result in the fans running higher by default), or alternatively you can manually restore it with: sudo echo "2" > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable Then you can either stop the running service with: sudo systemctl stop rvice If something weird happens and you want to quickly restore hardware fan control, first disable the service so it doesn't start on next boot: sudo systemctl disable rvice This works well on my machine, which is running a Sapphire RX 580 Nitro under Ubuntu 20.04, but I am not sure what issues could occur with different setups. Start the service: sudo systemctl start rvice The two paths get joined together with the card names, for example: /sys/class/drm/card0/device/hwmon/hwmon0. Default is 30.Ĭards = measurement_window = 30 cards_path = "/sys/class/drm" endpoint_path = "device/hwmon/hwmon0" monitoring_path = "/sys/kernel/debug/dri/0/amdgpu_pm_info"

If you want to adjust the window used to decide whether the fan can adjust downwards, you can specify it in seconds. In theory multiple cards are supported, but I don't own multiple cards, so bon chance. You can find your cards (on Ubuntu/Debian, at least), at: /sys/class/drm/. To build and install this under Ubuntu/Debian, you will first need Rust installed, then run: cargo deb -installĬonfigure your card if needed at: /etc/amdgpu-fancontrol/config.toml. You will need to add your own systemd service or equivalent, and point it to a valid config file. On each release there is also a pre-built binary attached, which can be used, in theory, on otherĭistributions. Then install it with: sudo dpkg -i amdgpu-fancontrol_0.1.2_b

#Does it work?įor Ubuntu/Debian you can download a. A fan controller daemon for Linux to control your AMD graphics cards, built in Rust.
