-
Notifications
You must be signed in to change notification settings - Fork 40
Description
Environment
AFC Version: 3.15.0
OS: Arch Linux with Kernel 6.15.9-arch1-1
CPU: 11th gen i7-1165G7
It does not work
Getting acpi call failed with 'Error: AE_NOT_FOUND' as expected. I know this is completely expected, but there are other things I want to discuss.
Additional context
This model is very similar to UX3402ZA (#151) as in, fan control is done through the Asus AIPT ACPI interface. With the asus-nb-wmi kernel patches, changing fan mode works perfectly using the /sys/class/platform-profile/platform-profile-0/profile interface. However, this change only affects the fan control policy. As mentioned in #151, to get any real performance you have to modify rapl-mmio power limits. In the suggested fix, RAPL limits are set to some arbitrary value, which sort of works, but is far from optimal. Investigating the behavior on Windows suggests a much more complicated dynamic tuning algorithm that sets some base limits according to the fan profile, and adjusts dynamically by usage. Without such tuning, you either get suboptimal performance or overheating issues, as a single limit simply will not work for all workloads.
To fix this issue, the obvious solution is thermald, but thermald completely fails in setting any usable limits, and I haven't been able to find any other solutions. This problem is possibly affecting lots of devices using similar thermal management, so I've put a lot of time into investigating the Windows stack. I've posted more details and some results in a thermald issue for anyone interested.
I know this probably doesn't directly relate to this project (feel free to close), but I honestly don't know any other community to try and get some awareness on the whole problem and possibly get some feedback on possible fixes.
Thanks for the amazing project!