[RESPONDED] Framework and PopOS

I cannot speak for everyone, but I should would read it!

Curious if anyone else here is running Pop!_OS 21.10 beta? I testing it again today after they updated to kernel 5.15 and am running into an issue where the system can’t recover from sleep. Syslog shows it reached target Sleep and then immediately after log is filled with this line

Nov  5 01:34:43 framework-pop systemd[1]: Reached target Sleep.
Nov  5 01:34:43 framework-pop systemd[1]: Starting Suspend...
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Nov  5 0

I don’t remember this being an issue with kernel 5.13

1 Like

just setup pop to use wayland and ahhhhh… it’s worth it just for the improved scrolling in firefox.

1 Like

Been using Pop on my framework since I got it last month. Hardly any complaints. However I have noticed a bug with closing the laptop and entering sleep/hibernate-- when I open the lid again and wake the computer the mouse moves extremely fast and there are other minor issues with scrolling and sometimes the trackpad will not work at all. Perhaps a bug with Wayland? I have experienced it with X, although to be fair I only used X for about a day before switching over to Wayland.

1 Like

I also experience this and I haven’t switched over to Wayland. I haven’t looked but there might be a bug reported in the GitHub

1 Like

Have you experienced any issues using Wayland vs X

So far the only big problem is crashing Firefox on waking, but I haven’t investigated or done any troubleshooting. And it’s worth it (for me) for the scrolling behavior… almost as good as on mbp except that scrolling doesn’t stop if you fling the page and then later rest two fingers on the trackpad… you have to move your fingers after resting. Not sure how common it is for people to scroll that way, but it’s really common for me personally and this is a slight annoyance. But still, the behavior is so much better than in X, where there seems to be a minimum scroll amount when using two fingers to scroll in Firefox.

1 Like

I just noticed that you can stop the “flung” scrolling with a one finger tap (but not two as that brings up a contextual menu)… will just require some time to retrain my muscle memory. nice.

Anyone else having issues with accidental touch pad hits registering? I have the touchpad disabled while typing set in the settings menu, it doesn’t seem to work in practice however.

I have that solved in mine with syndaemon which I’ve been using for some years now.

Just chiming in to say this is also my current setup. 21.10 beta on Wayland. I’m a relative Linux noob, and this just feels so good. I’m loving the snappiness of the framework and Pop combo. I came here looking for answers on the battery drain during sleep issue, so I’ve implemented the mentioned changes in the initial post and hope this resolves it.

Welcome in! I have been debating on implementing hibernation on my framework but just haven’t had time. I’d say the sleep issue is still there for me, be it not as bad, even with the changes in the initial post.

Implemented the fix from the original post and over ~13 hours, the battery drained from 80% to 0%. Not great.

If you figure it out, be sure to report back. I’ve been trying practically everything I can find in these forums on linux deep sleep and/or hibernation and am not having much luck. I did find this: How to disable sleep and configure lid power settings for Ubuntu or Red Hat Linux 7 for Dell laptops | Dell Canada, and tried out the steps near the bottom, and I think when I set it to hibernate, it actually just shuts off. I also end up in a login loop when I try to restart systemd-logind, requiring a hard reboot.

@captainnapalm - I was able to get it working following these pages:

I have my system set up to multi-boot (although truth be told I should have done it slightly differently so that it would be easier to run some of the other OSes in VMs), but the basic setup relevant to Pop!_OS is an EFI partition, a rescue partition, and an encrypted luks partition(?) that is broken up into three partitions - one for the os, one for VM storage setup with nocow, and finally one for swap. I used the excellent guide here:

as a starting point and adapted it to what I wanted to do.

It did take some fiddling around, but now I have things set up to suspend for 120 minutes, then flip to hibernation, and so far, so good. Good luck!

3 Likes

@lbkNhubert thanks for the links! I’ll have to set aside some time to work through that all. Crazy that there isn’t just a simple way to get it working, but such is the Linux experience sometimes.

1 Like

Thanks for this post. I am new to Linux, but I bought a new framework computer and installed POP on it. I’ve been trying to get used to it. I like it, but there are some very frustrating things. The thing that makes it almost unusable for me is that when I type something, such as this comment or something in Libre office, my palm touches the trackpad and takes my cursor all over the place and my sentences get totally jumbled. I have gone into the settings and turned on the “Disable while typing” but this does not seem to be working or it doesn’t work well. This is the kind of thing that makes an awesome product totally unusable.

2 Likes

I know very well what you mean.
In my case, I have a solution but, unfortunately, it requires a small tinkering and maybe the command line.
It revolves around using a tool called syndaemon
There is no graphical interface for it but you can create a startup entry for it (I don’t know how that is done in POP, I can’t help you there :slightly_frowning_face:)
The settings I usually recommend people are:

syndaemon -i 1  -K -t -R

This means:

  1. 1s for touchpad disable
  2. -k Means to ignore modifier keys (Ctrl, Alt, etc…). I recommend you keep this one
  3. -t Means to allow the mouse to move but don’t allow it to touch click. You can remove this to keep the mouse in place while touching is disabled. I think keeping or not is heavily preferential to you.
  4. -R Keep it. It’s technical but explained in the manual (command: man syndaemon)

To test if you like it:

  1. turn off the option “Disable while typing”
  2. open a terminal (Press Ctrl+Alt+T in your keyboard)
  3. paste the command there by pressing (Press Ctrl+Alt+V)
  4. Press Enter to start the program

Terminal can be scary but it is an area where linux has a common ground between distros. for me, I have no idea how the POP control panel looks like.

I hope it helps

4 Likes

Thank you. Before I try this, can you tell me how to undo it if it doesn’t work right? Thanks!

1 Like

If it doesn’t seem to work, you can try using the argument -m with -m 0.2 as an example. Here’s a complete argument example with this alternative:
syndaemon -i 1 -m 0.2 -K -t

If that still doesn’t work, here’s how to undo/remove:

Easiest way:
Remove the entry from POP!_OS autostart list and reboot

Harder way:
Remove the entry from POP!_OS autostart list and execute killall syndaemon

3 Likes