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.61k stars 266 forks source link

USBC power CPU power limits not set #3130

Closed daveholland86 closed 1 month ago

daveholland86 commented 1 month ago

Rules

What's wrong?

When USBC power delivery is used, CPU power limits are not set and standard power limits from Asus are used.

How to reproduce the bug?

Attach USBC power and stress test the CPU changing power limits.

Logs

log.txt

Device and Model

zephyrus G14 GA403UI

Additional information.

No response

Armoury Crate

Uninstalled

Asus Services

None

Version

0.190.0

OS

Windows 11 24H2

daveholland86 commented 1 month ago

Power limits work both on battery and with the Asus adapter. USBC PD seems to not set power limits but appears everything else is working.

seerge commented 1 month ago

@daveholland86 hello, from the log i see that app sets everything as it’s supposed to :)

9/18/2024 7:54:50 AM: PowerLimit A3 = 30 : OK
9/18/2024 7:54:50 AM: PowerLimit A0 = 30 : OK
9/18/2024 7:54:50 AM: PowerLimit C1 = 30 : OK
9/18/2024 7:54:51 AM: PowerLimit TGP (GPU VAR) = 5 : OK
9/18/2024 7:54:51 AM: PowerLimit C0 (GPU BOOST) = 5 : OK
9/18/2024 7:54:51 AM: PowerLimit C2 (GPU TEMP) = 80 : OK
9/18/2024 7:54:51 AM: UV: -20 OK

If 30W is not working (how do you measure that btw?) Most likely firmware is intervening.

How does same settings work on USB-C if you set them using Armoury?

daveholland86 commented 1 month ago

I don't know, I have it completely removed. I rarely use USBC but I was today and noticed the CPU not running my lower power limits. It does seem like something is overriding it, I will stick to the official power adapter as everything does run better with it. Seems like USBC PD on the G14 is a makeshift solution that they don't expect people to really use.

When launching a game, set to run on the 780m I was getting 48w power draw observed through HWiNFO. When unplugged power dropped to 15-12w as I have set in silent. I then ran CPUZ on USBC power and manually set 20w CPU limit and it boosted to 28w verifying that USBC power limits settings are being overridden.

Its probably a bug from Asus because they don't expect people to be running USBC power for anything other than light office work. Seems like they never tested it.

seerge commented 1 month ago

@daveholland86 what kind of power draw metric are you looking at ? Is it CPU / APU only or something else ?

As for how power limits work : for each mode and for each plugged in / usb-c / battery power state there are some hard limits set in BIOS that you can't overcome moving upwards. So for example you most likely can't set CPU limit to 80W on battery.

daveholland86 commented 1 month ago

I am looking at CPU package draw. I have 12w set on Silent and 35w set on custom. I am seeing 50w draw when running on USBC meaning it's bypassing my 35w limit set.

seerge commented 1 month ago

@daveholland86 i see. Then it's extremely likely firmware issue. Can you try to set custom power limits using Turbo as base ? (as in Armoury Crate it's Manual mode is actually Turbo under the good + fan curves + limits on top)

seerge commented 1 month ago

@daveholland86 any updates here ? did you had a chance to try custom limits using Turbo as a base mode and did you had a chance to check if AC behaves same?

seerge commented 1 month ago

I assume this is abandoned now + in any case it's some firmware limitation that app won't overcome. If you will have new updates feel free to reopen

daveholland86 commented 1 month ago

Not sure what changed but running 191 USBC power limits all work to whatever is set on Standard and Custom profiles.

seerge commented 1 month ago

@daveholland86 what is "191 USBC" ?

daveholland86 commented 1 month ago

Phone keyboard, it's just USBC power.