amdgpu-fan

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.

Hi
The package needs updating… The maintainer has posted a couple of fixes for those errors…

https://github.com/chestm007/amdgpu-fan

Suggest you contact the openSUSE Build Service maintainer and ask to pull the updates to fix.

I tried what was on that page you linked to too and it didn’t work either. Different error though.

Sorry I don’t understand. What do you mean by “contact the openSUSE build maintainer and ask to pull the updates to fix” and how do I do that?

Hi
Check the installed package changelog, it will have their email address, just send it direct. The user needs to either pull the git release, or create a patch to update the existing package.

Ok thank you I think I understand, but I wouldn’t have to install it to get the changelog would I? Never mind If I have a problem I’ll ask back.

Oh…

My brain hurts… You were talking about the rpm package version not the github one.