Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

MX 17/18 Repository: The TLP and TLPUI Thread

Post Reply
User avatar
Stevo
Developer
Posts: 20158
Joined: Fri Dec 15, 2006 8:07 pm

MX 17/18 Repository: The TLP and TLPUI Thread

#1

Post by Stevo » Thu May 09, 2019 4:30 pm

TLP is an advanced power management tool for optimizing battery life on laptops running Linux. Its default configuration is usually enough to to see an improvement in battery life, however, TLP offers a wide range of configuration options which can be changed by editing its configuration file. MX ships with version 1.1 currently.
We also have a GUI for configuring it in the test repos called tlpui.

Image

We now have the latest tlp 1.2.2 in the test repo, as well as a newer git pull of tlpui there that is compatible with 1.2.2's new settings.

Please let us know how they install and perform if you give them a try. You may need to reboot before any changes take hold, though. Changes from the 1.1 release:
+++ 1.2.2 --- 04.05.2019 +++

* Bugfixes
Battery Features, tlp-stat -b:
- Show data for batteries named other than BAT0/BAT1 (non-ThinkPads)
- Issue #395: ThinkPad X1C6 discharge malfunction
- Separate checks for charge thresholds and recalibration
- Intelligible recommendation for tp-smapi on ThinkPad X220/T420 et al.
- Explain "Battery Features: Charge Thresholds and Recalibrate"
Disks:
- Fix type determination
Operation Mode AC/BAT:
- MacBookPro 5.3: workaround for false AC offline status
Processor, tlp-stat -p:
- Fix read of /sys/devices/system/cpu/cpufreq/boost
- x86_energy_perf_policy: detect unsupported CPUs in newer versions
Radio Devices:
- Issue #404: make RESTORE_DEVICE_STATE_ON_STARTUP=1 persistent again

+++ 1.2.1 --- 18.03.2019 +++

* Bugfix
- Issue #391: unknown command "chargeonce"

+++ 1.2 --- 11.03.2019 +++

* Features
Disks:
- Support for NVMe devices
- Support for removable drives e.g. USB / IEE1394 devices
- Improve support for multi queue I/O schedulers (blk-mq)
General:
- tlp bat/ac: keep manual power settings until tlp start (Issue #349)
- Remove all pm-utils scripts (Issue #363)
- tlp/tlp-stat: Temporarily overwrite configuration for one program
invocation only: -- PARAM=value ...
- Document intrinsic defaults in config file (Issue #353)
- Code verified with ShellCheck
Graphics:
- INTEL_GPU_MIN_FREQ_ON_AC/BAT, INTEL_GPU_MAX_FREQ_ON_AC/BAT,
INTEL_GPU_BOOST_FREQ_ON_AC/BAT: Intel GPU frequency limits
Radio Devices:
- tlp-rdw: new command to disable RDW actions temporarily (until reboot)
- Support ThinkPad Pro Dock CS18 (17ef:306f)
- USB_BLACKLIST_WWAN: disable by default
- Retire compatibility with Network Manager 0.9.8 (Ubuntu 14.04 EOL)
PCI(e) devices:
- RUNTIME_PM_BLACKLIST: add mei_me, pcieport
ThinkPad Battery:
- New native kernel API for battery features "natacpi" (Issue #321);
requires kernel 4.17; enabled by default
- NATACPI_ENABLE, TPACPI_ENABLE, TPSMAPI_ENABLE: make all battery feature
drivers switchable
- tlp discharge/recalibrate: exclude multiple simultaneous invocations
- Support ThinkPad 25, *80 (Coffee Lake) and all newer models
tlp-stat:
- Check systemd-rfkill.socket masked status
- Disks: show all configured devices (consider default)
- Intel GPU: show frequency limits and available frequencies
- Rename "Suggestions" section to "Recommendations"
- Remove invocation via 'tlp stat'
USB:
- Exclude scanners managed by libsane from autosuspend
- Remove long deprecated level/autosuspend attributes

* Bugfixes
- Issue #193: do not try to start NetworkManager (systemd)
- Issue #319: get_disk_dev logic is not compatible with NVMe devices
- Issue #320: AC mode not detected with USB charger
- Issue #331: Process '/usr/bin/tlp auto' failed with exit code 4
- Issue #332: zsh parse error in tlp diskid
- Issue #343, #362, #375: circumvent broken AC/charger detection
- Issue #344: keep ASPM default to enable deeper C-states on AC
- Issue #356: fix writing sequence for start/stop charge thresholds
- Issue #368: recognize Think*p*ad P50
- tlp-stat: filter HWP lines from x86_energy_perf_policy output

Kulmbacher
Forum Regular
Forum Regular
Posts: 175
Joined: Fri Apr 27, 2018 2:47 pm

Re: MX 17/18 Repository: The TLP and TLPUI Thread

#2

Post by Kulmbacher » Fri May 10, 2019 4:30 am

MXPI hung up while notification "tlp conf" has changed, what will you choose, or i`ve been impatiently.

After reboot synaptic shows me 18 updates, started.
Notification: You have to reconfigure dpkg list..., done and everything is working.

tlpui is working, after first short look:
Can`t edit Disk: Disk_Devices_ID, Button has no function

-> Lenovo T520
they called him, the fish!

rs55
Forum Regular
Forum Regular
Posts: 289
Joined: Sun Feb 24, 2019 4:24 pm

Re: MX 17/18 Repository: The TLP and TLPUI Thread

#3

Post by rs55 » Fri May 10, 2019 3:08 pm

Kulmbacher wrote:
Fri May 10, 2019 4:30 am
MXPI hung up while notification "tlp conf" has changed, what will you choose, or i`ve been impatiently.

After reboot synaptic shows me 18 updates, started.
Notification: You have to reconfigure dpkg list..., done and everything is working.

tlpui is working, after first short look:
Can`t edit Disk: Disk_Devices_ID, Button has no function

-> Lenovo T520
I have W520 and x230. I had tlp on initially - have since uninstalled it - not sure it really adds anything. And I dont need several competing pieces of code ( xfce power manager etc) - all fiddling with turning things on and off according their own algorithms. If things fail - its harder to track down what is causing what.

User avatar
Stevo
Developer
Posts: 20158
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17/18 Repository: The TLP and TLPUI Thread

#4

Post by Stevo » Fri May 10, 2019 9:17 pm

I mainly use it to disable my CPU's turbo mode on battery (up to 4.1 GHz), which means the top speed is 2.2 GHz.

But I do tweak a few of the other powersaving features, too.

TJ Hoye
Forum Regular
Forum Regular
Posts: 227
Joined: Thu Dec 18, 2014 11:21 pm

Re: MX 17/18 Repository: The TLP and TLPUI Thread

#5

Post by TJ Hoye » Sat May 18, 2019 8:56 am

Greetings to all on this tpl thread.

By way of introduction, I have backed into being a staunch tpl fan.
I've been an MX LiveUSB fan ever since I met BitJam a few years back.

Recently, my trusty old Dell 1545 Win7-era laptop developed a bad keyboard.
With this lame excuse I bought a bright shiny new Dell 5570 with a lot of new
bells and whistles. Also one prominent, unfamiliar new problem: 32 dmesg
"ACPI Errors", all or mostly all related to "Cooling" and 8 unhappy cpus.

I think these ACPI Errors are likely the result of someone's syntax screw up
on the uefi/acpi program for the 5570's uefi bios in regard to using the 5570's
cpus at least for some "Cooling" function.

I have not been able to extinguish the occurence of the 32 ACPI Errors, but
I have to my own satisfaction decided that tpl corrects for the missing
"Cooling" function using all 8 of 5570's cpus. I do not use acpi=off as
a boot command, since that part of the acpi code seems to be ok for
such tasks as are related to Battery, Adapter and Thermal tasks, just
not Cooling according to acpi -Vf.

I installed tlp with synaptic and added sudo tlp start as a session start command.
sudo tpl stat -f | less then shows that all 8 cpus now are assigned some
Cooling activities. watch sensors -f gives a nice display of tolerable
temperatures during a 3.2 minute remastering job on my MX-18.2 64-bit LiveUSB.

My LiveUSB is my desktop, I hardly ever operate on battery power, so
I'm not currently inquisitive what happens in that case.
Also, Matthew Garrett has an opinion of interest for this situation.
https://lwn.net/Articles/281629/

TJH
Last edited by TJ Hoye on Tue May 21, 2019 4:37 pm, edited 1 time in total.
64-bit MX -18.2 or -19.beta Samsung LiveUSB on Dell quad-core laptop

User avatar
Stevo
Developer
Posts: 20158
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17/18 Repository: The TLP and TLPUI Thread

#6

Post by Stevo » Sat May 18, 2019 8:21 pm

Kulmbacher wrote:
Fri May 10, 2019 4:30 am
MXPI hung up while notification "tlp conf" has changed, what will you choose, or i`ve been impatiently.

After reboot synaptic shows me 18 updates, started.
Notification: You have to reconfigure dpkg list..., done and everything is working.

tlpui is working, after first short look:
Can`t edit Disk: Disk_Devices_ID, Button has no function

-> Lenovo T520
It was not a hang, it was waiting for you to answer the question it asked about the change in the tlp file. If in doubt, just hit Enter, which is to keep the present file configuration.

Kulmbacher
Forum Regular
Forum Regular
Posts: 175
Joined: Fri Apr 27, 2018 2:47 pm

Re: MX 17/18 Repository: The TLP and TLPUI Thread

#7

Post by Kulmbacher » Mon May 20, 2019 3:05 am

I chose to save new configuration, after this, no reaction.
they called him, the fish!

skidoo
Forum Regular
Forum Regular
Posts: 1448
Joined: Tue Sep 22, 2015 6:56 pm

Re: MX 17/18 Repository: The TLP and TLPUI Thread

#8

Post by skidoo » Tue Jul 02, 2019 3:39 pm


Post Reply

Return to “Package Requests/Status - MX 17/18”