# Ubuntu 21.04 on the Framework Laptop

**URL:** https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722
**Category:** Linux
**Created:** [July 19, 2021, 3:26am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722 "2021-07-19T03:26:47Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![malachid](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/malachid/32/1475_2.png) [@malachid](https://community.frame.work/u/malachid)
#### Post date: [August 9, 2021, 3:15pm UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/22 "2021-08-09T15:15:08Z")

</div>

> [@jeshikat](#):
>
> Is it showing `[s2idle] deep` or `s2idle [deep]`? Just double-checking because someone in the Fedora thread got it backwards.

You’re right! I was looking at the words and not which ones were in brackets. It was showing `[s2idle] deep`. Thanks for that!

---

<div class="post-metadata">

### Author: ![tombo](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@tombo](https://community.frame.work/u/tombo)
#### Post date: [August 9, 2021, 8:07pm UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/23 "2021-08-09T20:07:40Z")

</div>

Updating with my findings: after **disabling** deep and letting it go back to s2idle, I no longer have issues with resume.

Unfortunately the battery drain issue is back when disabling [deep]. It sounds like I’ll just have to keep it plugged in while asleep until this bug is fixed.

---

<div class="post-metadata">

### Author: ![Jeremy\_Schneider](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/jeremy_schneider/32/1724_2.png) [@Jeremy\_Schneider](https://community.frame.work/u/Jeremy_Schneider)
#### Post date: [August 10, 2021, 2:49am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/24 "2021-08-10T02:49:54Z")

</div>

> [@jeshikat](#):
>
> `[s2idle] deep` or `s2idle [deep]`

Right, I got it backwards, and people were polite and helpful in correcting me. For the uninitiated, it’s not obvious how to interpret that string. Here’s how I understand it now:

example of deep sleep disabled:

```auto
[jeremy@fwfedora ~]$ cat /sys/power/mem_sleep
[s2idle] deep
[jeremy@fwfedora ~]$

```

example of deep sleep enabled:

````auto
[root@fwfedora ~]# cat /sys/power/mem_sleep 
s2idle [deep]
[root@fwfedora ~]# ```
````

---

<div class="post-metadata">

### Author: ![ezhik](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/ezhik/32/4577_2.png) [@ezhik](https://community.frame.work/u/ezhik)
#### Post date: [August 10, 2021, 2:55am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/25 "2021-08-10T02:55:28Z")

</div>

Deep sleep does not seem to be working with encryption enabled.

---

<div class="post-metadata">

### Author: ![Atul\_Ingle](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/atul_ingle/32/2202_2.png) [@Atul\_Ingle](https://community.frame.work/u/Atul_Ingle)
#### Post date: [August 10, 2021, 4:06am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/26 "2021-08-10T04:06:40Z")

</div>

Kubuntu 21.04 kernel 5.11.0-25 Wifi and Bluetooth worked out of the box. Although I was able to install `libfprint` and `fprintd` from source and register my fingerprint with `fprintd-enroll`, I could not get fingerprint auth to work for login. (I think this has something to do with lack of fingerprint auth support with KDE plasma?)

I’m also using Windows 10 as a guest OS in a VMWare virtual machine that’s working well so far.

---

<div class="post-metadata">

### Author: ![A\_L](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@A\_L](https://community.frame.work/u/A_L)
#### Post date: [August 10, 2021, 5:23am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/27 "2021-08-10T05:23:23Z")

</div>

@tombo @nebkor On Mint xfce 20.2 I’ve noticed something a little odd about waking from suspend, that almost all of the time when I drag my finger across the touchpad while it is awakening there is some sort of random issue with it when it is awake (all the way from non-responsive to responsive but not registering multi-touch to wrong speed), but when I leave it untouched it comes back on with a normally functioning touchpad (hopefully this does not jinx it…). Maybe there is something about receiving input while coming back online that confuses it?

---

<div class="post-metadata">

### Author: ![nebkor](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/nebkor/32/1505_2.png) [@nebkor](https://community.frame.work/u/nebkor)
#### Post date: [August 10, 2021, 5:37am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/28 "2021-08-10T05:37:56Z")

</div>

Hmmm, although I haven’t done more looking into this, I don’t think I was giving input while it was waking any time that I’ve run into this.

---

<div class="post-metadata">

### Author: ![jeshikat](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jeshikat](https://community.frame.work/u/jeshikat)
#### Post date: [August 10, 2021, 10:39am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/29 "2021-08-10T10:39:01Z")

</div>

> [@Jeremy\_Schneider](#):
>
> For the uninitiated, it’s not obvious how to interpret that string.

Agreed! It could be formatted better for sure.

> [@ezhik](#):
>
> Deep sleep does not seem to be working with encryption enabled.

Does it sleep with high battery drain or not sleep at all? I have encryption enabled on mine.

---

<div class="post-metadata">

### Author: ![ezhik](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/ezhik/32/4577_2.png) [@ezhik](https://community.frame.work/u/ezhik)
#### Post date: [August 10, 2021, 12:44pm UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/30 "2021-08-10T12:44:06Z")

</div>

> [@jeshikat](#):
>
> Does it sleep with high battery drain or not sleep at all? I have encryption enabled on mine.

The system does not resume properly after sleep in my case, throwing endless errors about read-only file system.

Example:

`systemd-journald[585]: Failed to write entry (22 items, 752 bytes), ignoring: Read-only file system`

---

<div class="post-metadata">

### Author: ![jeshikat](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jeshikat](https://community.frame.work/u/jeshikat)
#### Post date: [August 10, 2021, 1:04pm UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/31 "2021-08-10T13:04:35Z")

</div>

21.04 with kernel 5.11 and default partitioning? What SSD?

---

<div class="post-metadata">

### Author: ![ezhik](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/ezhik/32/4577_2.png) [@ezhik](https://community.frame.work/u/ezhik)
#### Post date: [August 10, 2021, 1:23pm UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/32 "2021-08-10T13:23:15Z")

</div>

> [@jeshikat](#):
>
> 21.04 with kernel 5.11 and default partitioning? What SSD?

1. Yes
2. Yes (LVM with Encryption)
3. Sabrent Rocket 4.0 Plus 1TB NVMe (PCIe 4.0)

---

<div class="post-metadata">

### Author: ![jeshikat](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jeshikat](https://community.frame.work/u/jeshikat)
#### Post date: [August 10, 2021, 3:25pm UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/33 "2021-08-10T15:25:47Z")

</div>

> [@ezhik](#):
>
> Sabrent Rocket 4.0 Plus

The Phoronix review mentions a firmware update that improves Linux performance: [https://www.phoronix.com/scan.php?page=article&item=sabrent-rocket4-plus&num=1](https://www.phoronix.com/scan.php?page=article&item=sabrent-rocket4-plus&num=1)

But you’ll need Windows to update the firmware.

---

<div class="post-metadata">

### Author: ![ezhik](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/ezhik/32/4577_2.png) [@ezhik](https://community.frame.work/u/ezhik)
#### Post date: [August 10, 2021, 3:45pm UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/34 "2021-08-10T15:45:17Z")

</div>

It is running the latest v1.2.

---

<div class="post-metadata">

### Author: ![jeshikat](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jeshikat](https://community.frame.work/u/jeshikat)
#### Post date: [August 10, 2021, 6:24pm UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/35 "2021-08-10T18:24:09Z")

</div>

That’s tricky then. I may be able to borrow a 2TB version of that drive, if I can I’ll test it.

---

<div class="post-metadata">

### Author: ![ezhik](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/ezhik/32/4577_2.png) [@ezhik](https://community.frame.work/u/ezhik)
#### Post date: [August 11, 2021, 1:21am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/36 "2021-08-11T01:21:32Z")

</div>

> [@jeshikat](#):
>
> That’s tricky then. I may be able to borrow a 2TB version of that drive, if I can I’ll test it.

Much appreciated. Not sure it is the drive that is the issue.

Here are simple steps to follow:

1. Download the latest Ubuntu 21.04 image from [https://releases.ubuntu.com](https://releases.ubuntu.com)
2. Install and partition using LVM with encryption (encrypt free space too)
3. Install all latest updates: `sudo apt update && sudo apt dist-upgrade -y`
4. Reboot
5. Enable deep sleep
6. Reboot.
7. Put computer to sleep
8. Resume and give it a few minutes after logging in, try opening firefox or a terminal

* * *

---

<div class="post-metadata">

### Author: ![jeshikat](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jeshikat](https://community.frame.work/u/jeshikat)
#### Post date: [August 12, 2021, 1:07am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/37 "2021-08-12T01:07:52Z")

</div>

@ezhik So got my hands on the drive and actually it’s a 1TB Rocket 4 Plus.

Did a clean install of 21.04, left everything at the default except LVM w/ encryption (including free space). Updated, rebooted, enabled deep sleep, rebooted, and put to sleep.

I did a few tests of 5-15 minutes each and it resumed with no obvious issues. Checking journalctl shows no “read-only” errors. Does it matter how long it is asleep for you?

---

<div class="post-metadata">

### Author: ![ezhik](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/ezhik/32/4577_2.png) [@ezhik](https://community.frame.work/u/ezhik)
#### Post date: [August 12, 2021, 1:30am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/38 "2021-08-12T01:30:46Z")

</div>

@jeshikat , I think the key configuration here is LVM with Encryption. Your test is not a 1:1 repro at this point.

When doing the install, can you click on advanced and select LVM and encrypt the drive? It is really trivial to do.

NOTE: Genuinely appreciate your engagement, assistance and efforts here.

---

<div class="post-metadata">

### Author: ![tombo](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@tombo](https://community.frame.work/u/tombo)
#### Post date: [August 12, 2021, 1:42am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/39 "2021-08-12T01:42:26Z")

</div>

@ezhik Possibly, although I’m running ZFS on root with zfs native encryption. Totally different layout and underlying impl.

---

<div class="post-metadata">

### Author: ![jeshikat](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jeshikat](https://community.frame.work/u/jeshikat)
#### Post date: [August 12, 2021, 10:34am UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/40 "2021-08-12T10:34:12Z")

</div>

@ezhik ah, I worded that badly. I meant that I changed from the default partitioning (Ext4 no encryption) to LVM with encryption (and erase full disk), but otherwise everything is at the default.

---

<div class="post-metadata">

### Author: ![ezhik](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/ezhik/32/4577_2.png) [@ezhik](https://community.frame.work/u/ezhik)
#### Post date: [August 12, 2021, 12:55pm UTC](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722/41 "2021-08-12T12:55:45Z")

</div>

> [@jeshikat](#):
>
> @ezhik ah, I worded that badly. I meant that I changed from the default partitioning (Ext4 no encryption) to LVM with encryption (and erase full disk), but otherwise everything is at the default.

When you resumed, were you able to proceed as expected? Meaning open new applications such as firefox and terminal and go on ?

The issue I ran into, I was able to login back after resume, but everything else would barf a few mins after when I tried to open new applications.

[Previous page](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722.md?page=1)

[Next page](https://community.frame.work/t/ubuntu-21-04-on-the-framework-laptop/2722.md?page=3)
