Hi,
Whenever I update my system with pacman -Syyuu I see tlp get uninstalled, tlp.conf gets moved to tlp.conf.pacman, and the message ==> Uninstalling redundant 'tlp' package...
For me it i not redundant. I use it to keep my RockPi4B in performance mode.
I put the following entry in /etc/pacman.conf but it had no effect
IgnorePkg = tlp
As I workaround, I tried installing tlp-git from AUR, and IgnorePkg = tlp tlp-git.
I did not realise tlp-rdw-git was still installed. Not sure if that was the problem (as I don’t think I would have installed unless already getting problems with the package version) but anyway I uninstalled it and will see what happens with the next upgrade.
# Uninstall TLP because it provides no benefits, hogs the CPU, and even causes issues,
# e.g. kernel panics with SATA drives off a PCI Express SATA card in a RockPro64
if has_package "tlp"; then
echo "==> Uninstalling redundant 'tlp' package..."
db_unlock
systemctl disable --now --quiet tlp
pacman -R tlp --noconfirm
fi
Thanks for tracking that down. OK it has problems, but I would strongly disagree with the “provides no benefit” part. And “hogs the cpu”? It only runs for 2 seconds to change the settings, then doesn’t even run in the background
I just installed power-profiles-daemon but it doesn’t have a performance mode on my machine (RockPi4B+). I will try running without it or TLP and see if I notice any diffference in desktop latency (When I originally installed TLP I wasn’t using ananicy, maybe it will be enough to have a useable desktop while compiling in the background…)