linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.51k stars 129 forks source link

EPP doesn't get set on connect/disconnect from the wall, doesn't set the user setting on battery power [ubuntu 22.04(tlp 1.5.0), kernel 6.4] [T14 gen3] [amd-pstate-epp] #704

Closed ghost closed 9 months ago

ghost commented 10 months ago

[x] I've read and accepted the Bug Reporting Howto [x] I've provided all required tlp-stat outputs via Gist (see below)

Describe the bug

EPP is kept at "Performance at all times"

Expected behavior

Just like scalling_governor, the setting gets set.

To Reproduce

Steps to reproduce the unexpected behavior:

  1. Install ubuntu 22.04 and 6.4 kernel (used liquorix kernel), add amd_pstate=active in /etc/default/grub, grub-mkconfig.
  2. Uncommented EPP setting from /etc/tlp.conf
  3. Connect/disconnect the power.

Additional context /etc/tlp.conf tlp.conf

tlp-state -p https://gist.github.com/NavyPurpleVeil/01927371fee1800a683983fdaf89e079

linrunner commented 10 months ago

Your issue will not be processed without complete tlp-stat outputs for AC and BAT as required by the template.

Provide them via https://gist.github.com/ please.

ghost commented 10 months ago

connected to AC it just had the governor flipped to performance. Overall uhm I need to get this used unit repaired, because it charged up to 60% and is now doscharging.

Sent from Proton Mail mobile

-------- Original Message -------- On 22 Aug 2023, 18:11, linrunner wrote:

Your issue will be processed without complete tlp-stat outputs for AC and BAT as described in the issue template.

Provide them via https://gist.github.com/ please.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

linrunner commented 10 months ago

Unfortunately I just realized that you are using amd-pstate. CPU_ENERGY_PERF_POLICY_ON_AC/BAT in TLP 1.5 does not support amd-pstate. This cannot work. Sorry.

Please install 1.6-beta.1 and check again -> https://download.linrunner.de/packages/

I still want the full tlp-stat outputs for AC and battery (for the beta) via https://gist.github.com/ please.

linrunner commented 9 months ago

Due to inactivity I'll close here. Please let know if 1.6. works for you.