seerge / g-helper

Lightweight Armoury Crate alternative for Asus laptops and ROG Ally. Control tool for ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix, Scar and other models
https://g-helper.com
GNU General Public License v3.0
7.7k stars 267 forks source link

CPU temperature not showing near fan speed #2089

Closed skipster1337 closed 9 months ago

skipster1337 commented 9 months ago

Rules

What's wrong?

The CPU temperature is not showing near the fan speed as expected. I believe an update to G-Helper broke it. 2024-02-19 15_23_33-G-Helper — ASUS TUF Gaming A15 FA506IU Untitled

How to reproduce the bug?

  1. Have TUF A15 FA506IU
  2. Update G-Helper around this week
  3. See CPU temperature missing

Logs

log.txt

Device and Model

ASUS TUF A15 FA506IU

Additional information.

No response

Armoury Crate

Never installed

Asus Services

None

Version

0.151.0

OS

Windows 10 22H2

seerge commented 9 months ago

@skipster1337 hello, that part is unchanged in the app for like a year.

It tries to take temperature from Bios sensor, and if it's bot supported there - just from windows.

Dis you update any drivers recently?

Did you try rebooting? may be it's some hiccup in windows metrics

skipster1337 commented 9 months ago

I powered off completely and started the laptop again and it still has the same problem. I don't remember updating any drivers recently, the rest of the app works just fine and apps like Afterburner and HWInfo can read the CPU temperature.

seerge commented 9 months ago

@skipster1337 you say its after some update, can you just download older version from Releases page and check if it's visible there for a sake of experiment?

skipster1337 commented 9 months ago

I tried 0.149 and 0.145 and they also have the same issue, even though the temperature displayed fine some versions ago. I guess it's not a G-Helper-specific issue then, although I am confused at why it doesn't work anymore.

ChitaJazz commented 9 months ago

I also encountered a similar problem, when the cpu temperature is about 60 degrees, the fan speed will reach the maximum speed set, and it will return to normal speed after about 15 minutes.My device and model is the ROG strix G713PV.

seerge commented 9 months ago

@skipster1337 well, then i honestly don't know what to offer here

Try to run following command in powershell as admin

Invoke-CimMethod (Get-CimInstance -Namespace root/wmi -ClassName AsusAtkWmi_WMNB) -MethodName DSTS -Arguments @{Device_ID= 0x00120094}

It's a CPU temp reading from bios (via asus driver)

Btw, mb try to reinstall Asus System Control Interface as explained in Troubleshooting section?

seerge commented 9 months ago

@ChitaJazz i don't think that your situation has anything common with the issue here :)

Fans are always controlled by BIOS, and it could be programmed to behave like that for your model

skipster1337 commented 9 months ago

@skipster1337 well, then i honestly don't know what to offer here

Try to run following command in powershell as admin

Invoke-CimMethod (Get-CimInstance -Namespace root/wmi -ClassName AsusAtkWmi_WMNB) -MethodName DSTS -Arguments @{Device_ID= 0x00120094}

It's a CPU temp reading from bios (via asus driver)

Btw, mb try to reinstall Asus System Control Interface as explained in Troubleshooting section?

I ran the command, here's the output: 2024-02-19 20_13_34-Administrator_ Windows PowerShell

I also tried reinstalling the Asus System Control Interface Driver and it didn't do anything.

seerge commented 9 months ago

@skipster1337 oke, it means that bios sensor is not there at all (probably cause you have old device)

App has a fallback to windows readings

Can you check what Performance Monitor app reports as shown on screenshots?

Values there are in Kelvins :) so will be 300+

Screenshot 2024-02-19 192902 Screenshot 2024-02-19 193057

skipster1337 commented 9 months ago

2024-02-19 20_59_52-Window

(i just realized i turned off all the data in the graph but the blue temperature line sits at the top of the graph because it is over 300)

skipster1337 commented 9 months ago

Also I'm not sure if this is useful in any way but I can see the CPU temperature and voltage in the BIOS.

2024-02-19 21_05_46-20240219_210337 jpg (JPEG Image, 4624 × 3468 pixels) — Scaled (27%) — Mozilla Fi

seerge commented 9 months ago

@skipster1337 one, can you check this build and post a log from it

GHelper.zip

skipster1337 commented 9 months ago

@skipster1337 one, can you check this build and post a log from it

GHelper.zip

log.txt

skipster1337 commented 9 months ago

Ok, I fixed it. Looks like something broke the performance counters on my system somehow? I googled the error and found a Microsoft article which showed how to rebuild the counters. Now the CPU temp displays fine. What a weird issue. https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/manually-rebuild-performance-counters 2024-02-19 21_18_02-G-Helper — ASUS TUF Gaming A15 FA506IU

Thanks a lot for your time by the way. I realize the issue was not in the program and you made an effort to help :D

seerge commented 9 months ago

@skipster1337 it says 19/02/2024 21:12:28: Failed reading CPU temp :Cannot load Counter Name data because an invalid index '' was read from the registry. Performance counters on the machine may need to be repaired.

So something is broken in windows try to run restore as explained here https://github.com/seerge/g-helper/wiki/Troubleshooting#repair-corrupted-system-fails

seerge commented 9 months ago

@skipster1337 ok, great