cpu_temp using Chipset temperature
Kagukara opened this issue · 4 comments
Kagukara commented
Describe the bug
The cpu_temp metric in the mangohud overlay is using my Chipset temperature instead of the CPU Tctl temperature.
List relevant hardware/software information
- Linux Distribution: Archlinux
- MangoHud version: v0.7.2-rc3-11-g31f2ca5
- GPU: AMD Radeon RX 7900 XTX
To Reproduce
Steps to reproduce the behavior:
- In the terminal run
mangohud glxgears
- Open a new terminal and run
sensors
- Check if the CPU temperature is correct
Expected behavior
For the cpu_temp metric in the mangohud overlay to show the correct metric.
flightlessmango commented
can you get a tree
of the hwmon folder for asusec?
Kagukara commented
$ tree /sys/class/hwmon/hwmon4/
/sys/class/hwmon/hwmon4/
├── curr1_input
├── curr1_label
├── device -> ../../../asus-ec-sensors
├── fan1_input
├── fan1_label
├── fan2_input
├── fan2_label
├── in0_input
├── in0_label
├── name
├── power
│ ├── autosuspend_delay_ms
│ ├── control
│ ├── runtime_active_time
│ ├── runtime_status
│ └── runtime_suspended_time
├── subsystem -> ../../../../../class/hwmon
├── temp1_input
├── temp1_label
├── temp2_input
├── temp2_label
├── temp3_input
├── temp3_label
└── uevent
Let me know if this is correct.
flightlessmango commented
Yes that's correct, thank you.
can you also get the output of awk '{print FILENAME ": " $0}' *_label
in the same folder?
Kagukara commented
Here you go:
$ awk '{print FILENAME ": " $0}' *_label
curr1_label: CPU
fan1_label: VRM HS
fan2_label: Chipset
in0_label: CPU Core
temp1_label: Chipset
temp2_label: T_Sensor
temp3_label: VRM