Open kleest opened 4 years ago
I am having the exact same issue, also with an R9 390 (from sapphire if that helps) though I find it weird because if I try to ls /sys/class/drm/card0/device/hwmon/hwmon1/
I can see fan1_input
listed
Edit to say that if I start it with systemctl (sudo systemctl start amdgpu-fan.service
) it looks like it run without issues
For the time being, I fixed it with:
--- a/amdgpu_fan/lib/amdgpu.py
+++ b/amdgpu_fan/lib/amdgpu.py
@@ -48,7 +48,7 @@ class Card:
def fan_speed(self):
try:
return int(self.read_endpoint('fan1_input'))
- except KeyError: # better to return no speed then explode
+ except: # better to return no speed then explode
return 0
@property
Of course, this is no permanent solution.
Using an R9 390, reading the current fan speed results in a program crash:
This is due to
cat /sys/class/drm/card0/device/hwmon/hwmon1/fan1_input: No such device
System information: