Eraden / amdgpud

MIT License
191 stars 11 forks source link

1.0.6 regression #27

Closed VitaliyKulikov closed 2 years ago

VitaliyKulikov commented 2 years ago

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

Zile995 commented 2 years ago

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

Screenshot ![Screenshot](https://user-images.githubusercontent.com/32335484/143615135-88c1bb1f-24b8-4aa1-8337-6657da4d5924.png)
VitaliyKulikov commented 2 years ago

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