amdgpu_fan

Gem Version Verify Maintainability

A Ruby CLI to read and set fan speed, power profiles, and more for AMD Radeon graphics cards running on the AMDGPU Linux driver.

amdgpu_fan aims to provide a more user friendly interface on top of sysfs for displaying statistics and interacting with AMD Radeon graphics hardware running on the AMDgpu driver.

Further reading

e

Installation

The amdgpu_fan CLI command can be installed in Arch Linux from the AUR, from RubyGems, or run from the source code.

Arch User Repository

Use your favorite tool such as paru to install ruby-amdgrpu_fan from the AUR.

paru -S ruby-amdgpu_fan

From RubyGems

gem install amdgpu_fan

From Source

git clone https://github.com/HarlemSquirrel/amdgpu-fan-rb.git
cd amdgpu-fan-rb
bundle install
bin/amdgpu_fan

Usage

Dependencies

Building a binary

Ruby Packer provides a convenient way to compile this into a single executable. For the best results, compile Ruby Packer from source from the lastest master branch.

rubyc amdgpu_fan --output amdgpu_fan