-
Notifications
You must be signed in to change notification settings - Fork 65
Remove hardcoded hwmon0 value and dynamically search for valid cards #1
Comments
Do you know if there is any documentation on this online? |
Okay, so I have a few suggestions
|
|
I will write a more generic way to retrieve sensors paths. For now, as a work around, edit the paths in plot.py and GPU.py to the correct values. |
I also had to edit the paths in handler.py in order to get the script to successfully load (in addition to GPU.py and plot.py). Just in case others are having trouble. I also have a Vega64 like @urbenlegend |
My Vega56 on Arch Linux 4.18 had a similar issue of not being at the hardcoded path. It was at the following: I edited the files as described above but wanted to give you some more data. |
My RX 480 was under "hwmon3" |
Please try the generic-sensors branch and let me know if that fixed this problem. |
I won't be able to test that till Tuesday night, the flickering from turning on the mask makes gaming impossible, but I will try the latest code on Tuesday night for you no problem |
Just switched to generic-sensors branch. Seems like it's working for me with |
Working fine for me too with a 580 on hwmon1, thanks. |
Worked for me with Vega56 on hwmon1. Thanks @BoukeHaarsma23! |
Yup, works now! :D |
Failed to install:
|
@greevar I don't know if you found the answer to your issue, but you just need to install the
|
Ideally you should search: And /sys/class/drm/card*/device/hwmon/hwmon*/ When looking for the appropriate cards and hwmon interfaces. You should check the PCI-ID information of the associated device numbers for these branches (./device) to find the appropriate locations. This will also cover additional cards that aren't the primary boot card. One could also check other info data in the proc tree for those files for validation that it is indeed the appropriate interface instead, as this will give ALL devices registered with the DRM video interface module. |
[kzlosnik@kgrCentos WattmanGTK-master]$ python3 run.py what now? |
Trying to read /sys/class/hwmon/hwmon1/in0_label I am using an r9 280, with the amdgpu open source driver, and my cpu is the ryzen 5 2400g with integrated vega 11 graphics. I am unsure what to do at the moment as I am not great at decifering these sorts of messages, any and all help is greatly appreciated. |
This app expects to read values from
/sys/class/drm/card0/device/hwmon/hwmon0
but this could change depending on the hardware configuration. For example, my Vega 64 card in Arch is located at/sys/class/drm/card0/device/hwmon/hwmon2
Also there are many places that use
/hwmon/hwmon0/subsystem/hwmon0/
but I believe subsystem is just a symlink. You can access the same info via `/hwmon/hwmon0', but I may be wrong on this.The text was updated successfully, but these errors were encountered: