b00t0x / ROG-Zephyrus-G14-GA402-Hackintosh

Hackintosh for ASUS ROG Zephyrus G14 (GA402) 2022.
105 stars 15 forks source link

CPU not fully utilized during all-core load #17

Closed nocchijiang closed 1 year ago

nocchijiang commented 1 year ago

As title said.

At first i thought this could a power limit issue, so i set all power limit to 80W using ryzenadj. Unfortunately CPU still only draws 34W during all-core load (reported by AMD Power Gadget).

nocchijiang commented 1 year ago

Update: After setting --apu-slow-limit to 1250000 CPU can finally draw more than 34W, however it is thermal throttled now (96C all the time). I think the fan curve is not reflecting the settings i used in Windows (ultimate in armoury crate).

b00t0x commented 1 year ago

I haven't explored performance yet, but GPU power management doesn't seem to work on this build, so I'm guessing that GPU heat is throttling the CPU power. ( This PC has a dGPU, but the cooling components are shared by the CPU and dGPU. )

nocchijiang commented 1 year ago

Thanks for your reply!

I think that dGPU is not affecting the thermals that much. From my personal feeling (comparing the fan noise between Windows and MacOS) I still think it is a fan curve issue. The fan is definitely louder in Windows when setting performance profile to Ultimate in Armoury Crate and CPU can draw ~60W during an extended load; ~53W in MacOS after applying --apu-slow-limit=125000, although it is fair to say that 7W won't bring that much difference in terms of performance. One other thing I noticed is that the settings applied with ryzenadj will be reset when awaken up from sleep.

Btw this machine actually feels painfully slower compared to my Apple Silicon MacBook Pro. I am working on a patch and testing a debug build of Swift, which needs more than 1 hour to finish the bootstrapping steps (single-threaded) on this hackintosh. On the Apple Silicon MacBook Pro the same steps takes no more than 10 minutes. Guess something else is wrong because the thermal should not be a problem for single-threaded tasks.

nocchijiang commented 1 year ago
image

After updating to the latest version from your August updates the CPU can now run at 96C with 60W power draw. I think some changes affect the fan curve to allow it to spin at the fastest speed.

BTW, may I ask why did you choose MacPro7,1 for smbios? Or have you tried something like iMac17,1 or so? I want to enable Sidecar for the system, and the only possible solution seems to be an iMac smbios for AMD dGPU-only systems.