Brand spanking new fresh installation of 15.3 and I installed amdgpu-fan from this repsitory:
http://download.opensuse.org/repositories/home:/alois/openSUSE_Leap_15.3/.
It went in fine with some dependencies that I didn’t pay attention to and don’t remember precisely. Mostly related to python I think. It appeared in the services manager in Yast where I enabled it and set it to start on boot it but it failed both times. After that I tried running /usr/bin/amdgpu-fan from the cli and this is what I got:
scott@localhost:~> /usr/bin/amdgpu-fan
/usr/lib/python3.6/site-packages/amdgpu_fan/controller.py:44: YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return yaml.load(f)
starting amdgpu-fan
Traceback (most recent call last):
File “/usr/bin/amdgpu-fan”, line 11, in <module>
load_entry_point(‘amdgpu-fan==0.0.6’, ‘console_scripts’, ‘amdgpu-fan’)()
File “/usr/lib/python3.6/site-packages/amdgpu_fan/controller.py”, line 78, in main
FanController(config).main()
File “/usr/lib/python3.6/site-packages/amdgpu_fan/controller.py”, line 35, in main
logger.debug(f’{name}: Temp {temp}, Setting fan speed to: {speed}, fan speed{card.fan_speed}, min:{card.fan_min}, max:{card.fan_max}’)
File “/usr/lib/python3.6/site-packages/amdgpu_fan/lib/amdgpu.py”, line 50, in fan_speed
return int(self.read_endpoint(‘fan1_input’))
File “/usr/lib/python3.6/site-packages/amdgpu_fan/lib/amdgpu.py”, line 37, in read_endpoint
return e.read()
OSError: [Errno 22] Invalid argument
I tried this both as my regular user and as root and got the same error.
I really need this app…um service but reading this stuff much less understanding it and knowing what to do with it is way beyond me.
I used this in 15.2 and it worked perfectly.
Thanks.