I have a Framework 13 running Ubuntu 23.04. I have been using TLP and it really improved battery life. I followed the original (and updated) Optimization Guide. Everything works great, except…
When I’m on battery mode, the “change workspace” gesture in Gnome+Wayland becomes _painfully slow_. Using the arrow keys to change workspaces behaves normally, but specifically the three-fingered swipe to change workspaces is stuttery and slow. This only happens with TLP enabled and on battery. I’ve modified Graphics, PCIe, and Processor settings to no avail; I have even created exceptions for the ven:id in USB settings. It seems like the system requirements to perform that animation requires too much scaling for a single thread!
Any suggested workarounds? Anyone else experiencing this? It isn’t a big deal, just a bummer.
Thanks!
Frankly, regardless of what the optimization guide says, I would not use TLP. TLP is widely known in the Linux community for being very troublesome in this respect. Your CPU scheduler very likely does a much better job anyway, and TLP needs to be specifically fine-tuned for a machine to work well. Personally, I think the performance penalty you pay for TLP is not worth the battery life advantage. Sure, my laptop lasts longer on TLP, but it’s also slower - not rocket science, right? If you put the brakes on your CPU, it will run slower and draw less power. Seems about right.
I would try one of the following options:
power-profiles-daemons
pluspowertop
and go work on some of the tunables to turn off features you don’t need to gain more powerAlso, make sure you are starting up Linux with
mem_sleep_default=deep
to minimize power drain during standby; although, as with all modern laptops except MacBooks nowdays, you should standby as little as you can and prefer a full shutdown whenever feasible.Performance has been great, honestly: on battery or AC! TLP has made a massive difference for me, providing far greater battery life at very little cost to performance. That said, this is the only noticeable issue I’ve really had (besides for other Wayland annoyances).
I do have Intel, and PPD provided subpar performance IMO. That said, I might go back to it as a test.