Ubuntu 24.04 on the Framework Laptop 13

Not necessary anymore. This is the behavior upstream now.

1 Like

Yeah I was curious about this comment too. I had the recommended TLP setup on my FW13-12th with Ubuntu 23.10, and it was fine. Since I upgraded to 24.04 now, I removed the TLP stuff and enabled default PPD again. Iā€™ve had heard that PPD was getting some improvements in 24.04 and so far it does feel like Iā€™m getting way better battery life, I havenā€™t tested it properly or anything, just noticing on regular use.

TLP is recommended for Intel users, however, for those Intel users, TuneD offers greater flex in profiling working configurations. Iā€™m not ready to promote much on this yet, however, it has a lot going for it.

For now, TLP on Intel is perfectly good.

A question. I am on the AMD Ryzen 7040 Series currently running Ubuntu 22.04LTS.

I am prepping for installing 24.04 LTS on a fresh new larger SSD.

Do I just need to follow the guide here? Ubuntu 24.04 LTS Installation on the Framework Laptop 13 - Framework Guides

I shouldnā€™t need to worry about installing a custom kernel or re-updating the firmware again should I?

Tldr: no need to do anything.

BIOS firmware: itā€™s totally OS indipendent, so no need to do anything when you reinstall. amdgpu driver firmware: version shipped with 24.04 have the vp9 issue solved, so no need to upgrade it either.

Kernel: no custom kernel has been provided by framework, using default kernel 6.8 is fine. There are some patches from 6.9 and 6.10 that are related to AMD framework laptop but Iā€™d advice you to use the default kernel (unless you are accustomed to building your own kernel).

1 Like

Iā€™ve installed Ubuntu 24.04 on my FW 13 AMD and this is maybe the best out of box experience Iā€™ve had with Linux outside of a Thinkpad though I do have three remaining issues.

  1. Did a couple test runs with sleep and have yet to wake the laptop up once. Iā€™ve done three quick tests, the first had a frozen display at the login screen, second time it woke up but restarted itself after a couple of seconds, and a 3rd the display was black with the power button pulsing and had to hold the power button to force restart
    Edit: Did a mainline kernel install and this seems to be really solid. So maybe something funky with my Ubuntu install or its OEM kernel?
  2. The sensitivity when two finger scrolling is quite extreme. Are there any changes I can make? Edit: This was really only a problem in Firefox and the fix here worked
    Edit2: Scratch that still an issue in anything Chromium/Electron
  3. 6Ghz WiFi 6E seems to be having issues - Iā€™ll keep testing this one.

Aside from that the usual issues I have had in the past with running Linux are not a problem anymore. Hardware acceleration is working with no issues, battery life seems to be on par if not better than Windows, no screen tearing.

I have been one of those people complaining about the display requiring fractional scaling and the reason for this install was to prepare for me getting a batch 1 high res display that Iā€™m very excited for. The workaround I have settled on in the meantime to avoid fractional scaling is to have the display set at 1920x1200 16:10. So I lose a few pixels top and bottom but the display still remains sharp at 1x scaling with Wayland. I wish I had thought of this one sooner.

Lastly I just want to say Matt, youā€™re awesome! Thank you and everyone else at Framework for your efforts to make Linux run on the Framework laptops as smoothly as they do.

image

2 Likes

I have also been trying to figure out the right balance of display settings. 2x is clearly too much zoom, but 1x is too small, at least out of the box.

Here are some dconf settings Iā€™m using to make things a little easier on my eyes at 1x, and slightly improve the touchpad experience:

[org/gnome/desktop/interface]
cursor-size=44
monospace-font-name='Ubuntu Mono Medium 11 @wght=500'
text-scaling-factor=1.5

[org/gnome/shell/extensions/dash-to-dock]
dash-max-icon-size=64

[org/gnome/desktop/peripherals/touchpad]
accel-profile='adaptive'
click-method='fingers'
speed=0.6
two-finger-scrolling-enabled=true

I also use a default 110% zoom in Chrome.

My next goal is to get hibernate/hybrid sleep working.

1 Like

I ended up just switching the display to use 1920x1200 resolution at 1x. I lose some pixels at the top and bottom of the screen but I can use 1x without problems and everything still looks fairly sharp. If I could easily add a custom resolution I could probably use 1920x1280 for 3:2 and it would be fine. Iā€™ve got the new display on pre-order so Iā€™ll just wait for that.

My biggest problem right now is the trackpad. I have no idea how no one else has complained about the scroll sensitivity in 24.04 yet. I fixed it for Firefox but now its too slow when I have a mouse plugged in. Gnome needs to expose some more libinput controls but they are stubborn about it.

1 Like

I second that question. Especially since I didnā€™t come here to check for anything right away, but followed the recommended Guide how to optimize battery life under Ubuntu ā€“ thinking I could trust the set-up instructions were up-to-date. However, I finally came here, because Ubuntu 24.04 doesnā€™t let me install the TLPUI. It is unable to locate it at the given URL. I donā€™t know how to fix it. (And this is after I figured out how to set the repo as a trusted source, since Ubuntu doesnā€™t like anyone not using anything besides whatā€™s in their snap storeā€¦)
So, is the optimizing ubuntu battery life guide not current, despite it being from July 09? (Just to be clear: I was able to install TLP, just not the GUI, and I donā€™t have the time to do anything after looking up what the terminal commands may be.)

And what errors you get when trying to install the tlpui?

I get errors about linuxuprising repo not having TLPUI ā€“ which seems to be correct, as I followed the link and thereā€™s no TLPUI version (yet) for Numbat. But, Iā€™m also trying to figure out what the comment re TuneD means. Are we supposed to try that program? Compare? How are we supposed to do that even? Is TuneD meant to be better than TLP? Is TLP no good for Intel 13th gen CPUs? It would be nice if Matt, or someone else, could elaborate more.

I have a question regarding battery life tweaking in 24.04. Since 22.04 (when I first got my Framework 13) I followed the advice in the Linux Battery Life tuning thread which advised setting a GRUB default parameter (nvme.noacpi=1), and all involved suggested at the time that it made a significant improvement to battery life.
The current guide for Ubuntu 24.04 battery life tweaking only talks about using TLP.

Is the nvme GRUB setting now obsolete, or superseded by TLP settings described, orā€¦? In other words, is it still a good idea to put that setting into GRUB, along with using TLP?
Or is there a conflict?

Weā€™ve updated the guides for Ubuntu and Fedora (battery optimization) to reflect the recommended change from TLP to tuneD based on internal testing.

Intel 11th thru 13th gen are reflected in the markdown doc linked within the guide.

Recommendation is to skip TLP (or not, up to you) and use tuneD which is a bit easier to navigate. I am also working on custom profiles as well, but as is, this will get you going.

5 Likes

Thanks @Matt_Hartley but what about the GRUB noacpi parameter? Is this covered by tuneD, or is still worth doing in addition to tuneD tweaking?

2 posts were merged into an existing topic: Ubuntu 24.04 on the Framework Laptop 16

Using noacpi which disables power management, itā€™s a last resort and certainly not something I have ever used or needed on Framework Laptops.

If you are referring to nvme.noacpi=1 which is not needed and has not been needed for a long time, itā€™s not something I would use. Always defer to docs vs forum threads as often threads are dated, and a bit out of sync.

For AMD and Intel, current implementations of PPD works great for both.

Using tuneD is optional and mostly for those who want more granular control.

1 Like

Thank you for clarifying

Yes, but this is also a problem in 22.04. An annoying one.

This is on a 12th-gen Intel, firmware 03.04 and kernel version 6.10.7. Moving from 23.10 to 24.04.1, Iā€™ve noticed a substantial slowdown in video playback above 1080p, both when attempting to play 4K content (locally via ā€œmpvā€ or in browser e.g. youtube) or when playing smaller content full-screen on the internal display (when set above 1080p) or an external display. What once was mostly smooth playback with the occasional tearing on an external display (USB-C->HDMI 2.2) is now glitchy, rendering 10 fps or even 1 fps at times. Itā€™s less pronounced on 25fps than 60fps content but still noticeable. HEVC vs x264 doesnā€™t seem to make a difference. I had initially also noticed some sluggishness with other GUI effects (opening menu bars, new tabs, apps being slow in general) but switching to Wayland and adding ā€œi915.tuxedo_disable_psr2=1 i915.enable_psr=0ā€ to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub seemed to mostly fix those, but the video performance issue remains. As this is a regression Iā€™m not sure itā€™s just because the graphics card is too slow. I made sure that fractional scaling was turned off for both monitors and power mode is set to ā€œbalancedā€. But even typing into a web window like this still feels sluggish.

I looked through the guide to battery life tuning as well as the 12-gen post-install guide and other docs and didnā€™t quite see any ways to debug GUI performance issues like this.

Oddly, I used to get the fan coming on a lot prior to the upgrade, now it rarely does - which is a nice change, but I wonder if thereā€™s some CPU throttling now on by default that wasnā€™t before? Other tips or ideas?

Hi there,

I have a framework 13 with Ryzen 5 7640u and the original RZ616 wifi chip.

I recently upgraded to Ubuntu 24.04.1 LTS and since then i lose wifi connection. The card is still detected in lspci as mediatek MT7922 (yeah RZ616 is a MT7921, but itā€™s the closest driver i found back when i installed 23.10). Problem is I canā€™t find any other network when it happens and i donā€™t know what to do to upgrade or verify that itā€™s the correct driver installed.