Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Magicbook-Art14-kernel-patches

The goal of this patchset is to improve battery life on Honor Magicbook Art 14, but some part of it can be used for other Intel laptops with P and E cores.

Patchset contains:

  1. Set of efficient schedulers/governors designed by Masahito S ( https://github.com/firelzrd )
  2. Full Huawei WMI patch from Ayman Bagabas to replace old limited in-kernel version - required by Art14 fan daemon (https://github.com/aymanbagabas/Huawei-WMI)
  3. Acpi call by Michal Kottman (patch taken from cachy OS kernel repository https://github.com/CachyOS/kernel-patches)
  4. Set of patches to force EAS (Energy Aware Scheduling) and tweak energy model so EAS will try to avoid P-cores unless the really heavy task is executed.

Those patches most likely will affect the top performance and responciveness in games, so if you are gamer - avoid them. But for my daily office/browsing tasks I feel absolutely comfortable with how it works.

Additional sysfs tweaks required

  1. Activate governors

echo nap >/sys/devices/system/cpu/cpuidle/current_governor

echo reflex | tee /sys/devices/system/cpu/cpufreq/*/scaling_governor

  1. Switch nap to power efficient mode

echo 360 >/sys/devices/system/cpu/nap/overshoot_pctl

  1. Activate GPU power saving

echo power_saving > /sys/class/drm/card0/gt/gt1/slpc_power_profile

echo power_saving > /sys/class/drm/card0/gt/gt0/slpc_power_profile

Please use i915 driver, xe2 is designed for xe2 GPU's but ARL/MTL used in Magicbook Art are xe1. Xe2 driver can (if forced) operate with xe1 chips but in my experience it consumes more power than old i915.

Additionally you can add irqaffinity="6-15"(for 2025 model) to re-route more interrupt handlers from P cores to E/LP.

All patches are experimental so use ot own risc. I use them with drm-tip kernel, but can be applied over 7.0-rc* vanilla

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors