https://bugs.freedesktop.org/show_bug.cgi?id=110641
Bug ID: 110641 Summary: lm_sensors reports "ERROR: Can't get value of subfeature in0_input: Can't read" Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: bong.cosca@gmail.com
Alex Deucher alexander.deucher@amd.com 2017-03-08 18:25:15 -0500 drm/amdgpu: expose GPU sensor related information commit 5ebbac4b5c9159130046bf7c56b7f4c71ca7d1b7
This particular commit introduced this error.
$ sensors -j
{ "amdgpu-pci-0008":{ "Adapter": "PCI adapter", "vddgfx":{ ERROR: Can't get value of subfeature in0_input: Can't read
}, "vddnb":{ ERROR: Can't get value of subfeature in1_input: Can't read
}, "temp1":{ "temp1_input": 12.000, "temp1_crit": 120.000, "temp1_crit_hyst": 90.000 } }, "it8603-isa-0290":{ "Adapter": "ISA adapter", "CPU Fan":{ "fan1_input": 2509.000, "fan1_min": 200.000, "fan1_alarm": 0.000 }, "Mobo Fan":{ "fan2_input": 0.000, "fan2_min": 600.000, "fan2_alarm": 1.000 }, "AMD A6-7400K Radeon R5":{ "temp1_input": 44.000, "temp1_max": 127.000, "temp1_min": -45.000, "temp1_alarm": 0.000, "temp1_type": 4.000, "temp1_offset": 0.000 }, "Asus A68HM-K Mobo":{ "temp2_input": 45.000, "temp2_max": -33.000, "temp2_min": 53.000, "temp2_alarm": 1.000, "temp2_type": 4.000, "temp2_offset": 0.000 } } }
https://bugs.freedesktop.org/show_bug.cgi?id=110641
--- Comment #1 from Alex Deucher alexdeucher@gmail.com --- That commit just exposes the temperature via an ioctl interface. It doesn't affect the hwmon sysfs API. How did you determine that that was the problematic one?
https://bugs.freedesktop.org/show_bug.cgi?id=110641
--- Comment #2 from Bong Cosca bong.cosca@gmail.com --- It wasn't the case before when VDDGFX and VDDNB were not exposed. Are these (and the missing in0_input/in1_input probes) present on APUs?
https://bugs.freedesktop.org/show_bug.cgi?id=110641
--- Comment #3 from Alex Deucher alexdeucher@gmail.com --- What chip do you have? Voltage hwmon is not implemented on all APUs.
https://bugs.freedesktop.org/show_bug.cgi?id=110641
--- Comment #4 from Bong Cosca bong.cosca@gmail.com --- AMD A6-7400K Radeon R5
https://bugs.freedesktop.org/show_bug.cgi?id=110641
--- Comment #5 from Alex Deucher alexdeucher@gmail.com --- (In reply to Bong Cosca from comment #4)
AMD A6-7400K Radeon R5
No hwmon support for voltage on that family.
https://bugs.freedesktop.org/show_bug.cgi?id=110641
--- Comment #6 from Bong Cosca bong.cosca@gmail.com --- So does it make sense to expose VDDGFX and VDDNB at all? Or should this be fixed in lm_sensors?
https://bugs.freedesktop.org/show_bug.cgi?id=110641
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #7 from Martin Peres martin.peres@free.fr --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/779.
dri-devel@lists.freedesktop.org