flightlessmango/MangoHud

cpu_temp using Chipset temperature

Kagukara opened this issue · 4 comments

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:

  1. In the terminal run mangohud glxgears
  2. Open a new terminal and run sensors
  3. Check if the CPU temperature is correct

Expected behavior
For the cpu_temp metric in the mangohud overlay to show the correct metric.

Screenshots
capture_2024-05-10_23-09-51
capture_2024-05-10_23-16-09
capture_2024-05-10_23-16-17

can you get a tree of the hwmon folder for asusec?

$ 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.

Yes that's correct, thank you.
can you also get the output of awk '{print FILENAME ": " $0}' *_label in the same folder?

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