Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Error applying settings #59

Open
jpinnekamp opened this issue Feb 23, 2019 · 7 comments
Open

Error applying settings #59

jpinnekamp opened this issue Feb 23, 2019 · 7 comments

Comments

@jpinnekamp
Copy link

I think it has issues accessing the fan control which causes unexpected behavior when exporting it.
Log below:

1 AMD GPU(s) found. Checking if correct kernel driver is used for this/these.
0c:00.0 uses amdgpu kernel driver
Searching for sysfs path...
/sys/devices/pci0000:00/0000:00:03.1/0000:0a:00.0/0000:0b:00.0/0000:0c:00.0 belongs to 0c:00.0 with symbolic link to /sys/class/drm/card0/device
Sysfs path found in /sys/devices/pci0000:00/0000:00:03.1/0000:0a:00.0/0000:0b:00.0/0000:0c:00.0
amdgpu card found in /sys/class/hwmon/hwmon1 hwmon folder
Checking which device this hwmon path belongs to
/sys/class/hwmon/hwmon1 belongs to /sys/devices/pci0000:00/0000:00:03.1/0000:0a:00.0/0000:0b:00.0/0000:0c:00.0 (Tul Corporation / PowerColor Vega 10 XT [Radeon RX Vega 64])
Found sensor in0_input
Trying to read /sys/class/hwmon/hwmon1/in0_input
Found sensor temp1_crit
Trying to read /sys/class/hwmon/hwmon1/temp1_crit
Found sensor pwm1_enable
Trying to read /sys/class/hwmon/hwmon1/pwm1_enable
Found sensor pwm1
Trying to read /sys/class/hwmon/hwmon1/pwm1
Found sensor temp1_crit_hyst
Trying to read /sys/class/hwmon/hwmon1/temp1_crit_hyst
Found sensor power1_cap_min
Trying to read /sys/class/hwmon/hwmon1/power1_cap_min
Found sensor power1_cap
Trying to read /sys/class/hwmon/hwmon1/power1_cap
Found sensor pwm1_min
Trying to read /sys/class/hwmon/hwmon1/pwm1_min
Found sensor power1_average
Trying to read /sys/class/hwmon/hwmon1/power1_average
Found sensor power1_cap_max
Trying to read /sys/class/hwmon/hwmon1/power1_cap_max
Found sensor fan1_input
Trying to read /sys/class/hwmon/hwmon1/fan1_input
Found sensor temp1_input
Trying to read /sys/class/hwmon/hwmon1/temp1_input
Found sensor pwm1_max
Trying to read /sys/class/hwmon/hwmon1/pwm1_max
Found sensor in0_label
Trying to read /sys/class/hwmon/hwmon1/in0_label
Reading clock states and limits.
No fan control





------------------ CAUTION ---------------
This version does not support applying settings from the GUI yet, this will be a future addition. 
!!!This also gives you the opportunity to look over the settings generated by this program!!!
You can find the settings that would be written in "Set_WattmanGTK_Settings.sh" file. 
To apply this file you first have to make it executable, by using "chmod +x Set_WattmanGTK_Settings.sh" (without quotes)
Then to actually apply the settings type in the terminal here "sudo ./Set_WattmanGTK_Settings.sh" (without quotes) 
Please note that this may damage your graphics card, so use at your own risk!
------------------ CAUTION ---------------





Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/WattmanGTK/handler.py", line 562, in apply
    if Fan_mode == "auto" and not all(self.GPU.fan_control_value[:] == 2):
TypeError: 'bool' object is not iterable


@malasip
Copy link
Contributor

malasip commented Mar 1, 2019

What GPU? It states that there is no fan control, so trying to change the fan speed crashes the program.

@jpinnekamp
Copy link
Author

Its a Powercolor Red Devil Vega 64.

@malasip
Copy link
Contributor

malasip commented Mar 1, 2019

Could you post the results of
ls /sys/class/hwmon/hwmon1/pwm1_enable && cat /sys/class/hwmon/hwmon1/pwm1_enable

@jpinnekamp
Copy link
Author

ls /sys/class/hwmon/hwmon1/pwm1_enable && cat /sys/class/hwmon/hwmon1/pwm1_enable
/sys/class/hwmon/hwmon1/pwm1_enable
2

@malasip
Copy link
Contributor

malasip commented Mar 1, 2019

Alright, since the fan control is not yet implemented other than setting it to auto or manual, there's nothing I can do for it now. The crashing however is a bug. I'll get back to this

@malasip
Copy link
Contributor

malasip commented Mar 1, 2019

Could you give me the output of
ls /sys/class/drm/card0/device/hwmon/hwmon1

@jpinnekamp
Copy link
Author

device in0_label power1_average power1_cap_min pwm1_max temp1_crit uevent
fan1_input name power1_cap pwm1 pwm1_min temp1_crit_hyst
in0_input power power1_cap_max pwm1_enable subsystem temp1_input

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants