

I wonder if that's possible just to set pwm1_enable to 1 and pwm1 to 255? Looks like the suggested method should be working, but Ubuntu 20.04 security limitations are more restrictive than other distros' ones. I'd like to avoid using scripts like fancontrol The question itself

I'm using amdgpu-pro drivers, Ubuntu 20.04. I don't want fancy curves, I'm simply trying to force lock static RPM (full-on mode).

In Windows, it's possible to tune fans directly from the AMD Radeon driver GUI app. Maybe override kernel-defined values during boot? It seems that there has to be another way around, like some amdgpu config or something like that.

To sum up: seems that I can't edit /sys/ amdgpu-related entries at all Part 2 Systemd: rvice: Failed with result 'exit-code'. Systemd: rvice: Main process exited, code=exited, status=1/FAILURE usr/sbin/fancontrol: line 649: echo: write error: Invalid argumentĮrror writing PWM value to /sys/class/hwmon/hwmon1/pwm1ĭaemon (service) also doesn't work: fancontrol: MAXPWM=255įancontrol: Enabling PWM on fans.įancontrol: Starting automatic fan control.įancontrol: /usr/sbin/fancontrol: line 649: echo: write error: Invalid argumentįancontrol: Error writing PWM value to /sys/class/hwmon/hwmon1/pwm1įancontrol: Aborting, restoring fans.įancontrol: Verify fans have returned to full speed Loading configuration from /etc/fancontrol. Sudo fancontrol doesn't work as well: $ sudo fancontrol Python amdgpu-fan package also doesn't work for me. Neither does sudo sh -c: sudo sh -c 'echo 225 > /sys/class/drm/card1/device/hwmon/hwmon1/pwm1'Īrchilinux Wiki states it should be possible though They edit values directly with echo and looks like it works for them.Īnother guide also recommends configuring fans this way I have also tried sysfs config to edit these params but it didn't work: $ cat /etc/nfĬlass/drm/card1/device/hwmon/hwmon1/pwm1 = 255Ĭlass/drm/card1/device/hwmon/hwmon1/pwm1_enable = 1 $ echo 255 > /sys/class/drm/card1/device/hwmon/hwmon1/pwm1īash: echo: write error: Invalid argument Obviously, it doesn't work due to missing permissions (even with sudo/ root) because it is /sys: $ sudo su I'm trying to lock RPM of my AMD Radeon videocard fans at the full speed: echo 1 > /sys/class/hwmon/hwmon1/pwm1_enable
