BoukeHaarsma23 / WattmanGTK

A Wattman-like GTK3+ GUI
GNU General Public License v2.0
374 stars 61 forks source link

VegaM does not seem to have fan control/readings #10

Closed jeanblanchard closed 5 years ago

jeanblanchard commented 5 years ago

I have a Hades Canyon NUC (Kaby Lake CPU with VegaM integrated GPU)

It does not seem to have any fanX_input or pwmX endpoint, so the app does not start.

$ lspci | grep Vega
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Polaris 22 [Radeon RX Vega M GH] (rev c0)
$ ls -1 /sys/class/drm/card1/device/hwmon/hwmon?/subsystem/hwmon?
/sys/class/drm/card1/device/hwmon/hwmon3/subsystem/hwmon0:
name
power
subsystem
temp1_crit
temp1_input
temp2_crit
temp2_input
uevent

/sys/class/drm/card1/device/hwmon/hwmon3/subsystem/hwmon1:
device
name
power
subsystem
temp1_crit
temp1_crit_alarm
temp1_input
temp1_label
temp1_max
temp2_crit
temp2_crit_alarm
temp2_input
temp2_label
temp2_max
temp3_crit
temp3_crit_alarm
temp3_input
temp3_label
temp3_max
temp4_crit
temp4_crit_alarm
temp4_input
temp4_label
temp4_max
temp5_crit
temp5_crit_alarm
temp5_input
temp5_label
temp5_max
uevent

/sys/class/drm/card1/device/hwmon/hwmon3/subsystem/hwmon2:
name
power
subsystem
temp1_input
uevent

/sys/class/drm/card1/device/hwmon/hwmon3/subsystem/hwmon3:
device
in0_input
in0_label
name
power
power1_average
power1_cap
power1_cap_max
power1_cap_min
subsystem
temp1_crit
temp1_crit_hyst
temp1_input
uevent

PS: after commenting out the fan stuff, the UI started and showed data, but was unresponsive to user inputs. Not sure if i broke something, or if it really doesn't like VegaM...

BoukeHaarsma23 commented 5 years ago

Please check if the empty sensor branch currently fixes your issue.

jeanblanchard commented 5 years ago

Yep, that seems to solve the issue with the missing fan, thanks.

About the unresponsive UI bit, it appears it's not actually unresponsive, just incredibly slow: about 5 to 10 seconds to react to mouse events... Although I should probably have opened another ticket for this issue...

BoukeHaarsma23 commented 5 years ago

Please do open a new issue for that