Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't appear to do anything #15

Open
jp1995 opened this issue Jan 22, 2020 · 2 comments
Open

Doesn't appear to do anything #15

jp1995 opened this issue Jan 22, 2020 · 2 comments

Comments

@jp1995
Copy link

jp1995 commented Jan 22, 2020

So I tried to get the advertised functionality out of the card, which is the fans not running under 60 degrees.

Config file:

#Fan Control Matrix. [<Temp in C>,<Fanspeed in %>]
speed_matrix:
- [0, 0]
- [30, 0]
- [45, 0]
- [60, 0]
- [61, 30]
- [65, 50]
- [70, 70]
- [75, 89]
- [80, 100]

# optional
cards:  # can be any card returned from `ls /sys/class/drm | grep "^card[[:digit:]]$"`
- card0

running amdgpu-fan as sudo results in:

/usr/lib/python3.8/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

watch sensors reports fan speed steady at 1200 RPM at 41 degrees. Visually the fans are still clearly running. Running amdgpu-fan as a service doesn't result in different behavior either. card0 exists in /sys/class/drm

GPU: AsRock RX 570 8GB
Distro: Manjaro

@fuzunspm
Copy link

same issue here

@psy-q
Copy link

psy-q commented Nov 4, 2021

It never manages to read the config file so it doesn't know what to do. This has been fixed by various people in different pull requests but the right fix depends on the version of PyYAML that gets installed.

I have a pull request open that also specifies the PyYAML version so it should fix this on modern systems: #23

If this doesn't get merged, you could try my fork via python setup.py install: https://github.com/psy-q/amdgpu-fan/tree/yaml_fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants