Eraden/amdgpud

1.0.6 regression

Closed this issue · 2 comments

Version 1.0.5 was working flawlessly and thank you for such practical service.
But, with version 1.0.6 i have following issue:

$ amdfand
 ERROR amdfand > No hwmod has been found in sysfs

$ amdfand available
Available cards
 * card0 -

$ cat /sys/class/hwmon/hwmon4/name
amdgpu

$ cat /sys/class/hwmon/hwmon4/temp1_input
26000

let me know, if you need more info

I can confirm, I have the same problem on my Polaris GPU.

Screenshot

Screenshot

i have seen in code this path usage: /sys/class/drm.
so, here is my sysfs

$ cat /sys/class/drm/card0/device/hwmon/hwmon5/name 
amdgpu
$ cat /sys/class/drm/card0/device/hwmon/hwmon5/temp1_input
29000
$ inxi -SG
System:    Host: dulia Kernel: 5.15.2-2-MANJARO x86_64 bits: 64 Desktop: Xfce 4.16.0 Distro: Manjaro Linux
Graphics:  Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] driver: amdgpu v: kernel
           Display: x11 server: X.Org 1.21.1.1 driver: loaded: amdgpu,ati unloaded: modesetting resolution: 1920x1080~60Hz
           OpenGL: renderer: AMD Radeon RX 550 / 550 Series (POLARIS12 DRM 3.42.0 5.15.2-2-MANJARO LLVM 13.0.0)
           v: 4.6 Mesa 21.2.5