admin管理员组文章数量:1565283
简单点说就是通过设置 /sys/class/drm/card0/device/hwmon/hwmon0 下面的pwm1_enable 来确定是否启动自动控制 1为手动 2为自动,然后设置pwm1来控制速度百分比值从(0~255)255为100%
AMDGPU sysfs fan control
AMDGPU kernel driver offers fan control for graphics cards via hwmon in sysfs.
Configuration of manual control
To switch to manual fan control from automatic, run
echo “1” > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable
Set up fan speed to e.g. 50% (100% are 255 PWM cycles, thus calculate desired fan speed percentage by multiplying its value by 2.55):
echo “128” > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1
To reset to automatic fan control, run
echo “2” > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable
Warning: Resetting fan speed to auto may not work due to a driver bug and instead a restart of the driver may be required as a workaround.
版权声明:本文标题:amd显卡风扇调节_amd显卡风扇速度设置linux版本 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1726769505a1083693.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论