[RESPONDED] Latency and touchpad instabillity

Hello to the community,

I bought a framework computer a month ago and installed Ubuntu on it. I regularly experience minor yet extremely annoying issues that I can’t seem to pinpoint the source of. These issues include slight slowdowns, for example, when switching between two Chrome tabs.

Twice, my touchpad has also exhibited strange behavior, severe enough that I couldn’t work and considered buying a mouse after restarting multiple times. (Eventually, I left the computer off for an hour, and upon my return, it was working fine.)

Obviously, it’s very difficult for me to understand the origin of these problems, but what I do know is that the user experience is unbearable and sometimes completely prevents me from working. I’m wondering if this is an issue related to the computer or the Ubuntu OS.

Any advice ?

Thank you

(I also send a direct message to the support, don’t know which process is the most relevant)

Welcome to the community, @Guillaume_Soto.

I do have a few questions to get a better idea of what may be happening.

If you did not receive a link to this guide via email, please let me know as this should have happened.

Thank You Matt,
I have the release 22.04.3

As a matter of fact, I hadn’t finish the process regarding the kernel.
I’m not sure I did the process well.
I open a terminal, copy paste this line

sudo apt update && sudo apt upgrade -y && sudo snap refresh && sudo apt-get install linux-oem-22.04c -y

Then I reboot, and copy paste this line

latest_oem_kernel=$(ls /boot/vmlinuz-* | awk -F"-" '{split($0, a, "-"); version=a[3]; if (version>max) {max=version; kernel=a[2] "-" a[3] "-" a[4]}} END{print kernel}')
sudo sed -i.bak '/^GRUB_DEFAULT=/c\GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux '"$latest_oem_kernel"'"' /etc/default/grub
sudo sed -i 's/^GRUB_CMDLINE_LINUX_DEFAULT.*/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash module_blacklist=hid_sensor_hub"/g' /etc/default/grub
sudo update-grub && sudo apt install zenity && mkdir -p ~/.config/autostart && [ ! -f ~/.config/autostart/kernel_check.desktop ] && echo -e "[Desktop Entry]\nType=Application\nExec=bash -c \"latest_oem_kernel=\$(ls /boot/vmlinuz-* | grep '6.1.0-10..-oem' | sort -V | tail -n1 | awk -F'/' '{print \\\$NF}' | sed 's/vmlinuz-//') && current_grub_kernel=\$(grep '^GRUB_DEFAULT=' /etc/default/grub | sed -e 's/GRUB_DEFAULT=\\\"Advanced options for Ubuntu>Ubuntu, with Linux //g' -e 's/\\\"//g') && [ \\\"\\\${latest_oem_kernel}\\\" != \\\"\\\${current_grub_kernel}\\\" ] && zenity --text-info --html --width=300 --height=200 --title=\\\"Kernel Update Notification\\\" --filename=<(echo -e \\\"A newer OEM C kernel is available than what is set in GRUB. <a href='https://github.com/FrameworkComputer/linux-docs/blob/main/22.04-OEM-C.md'>Click here</a> to learn more.\\\")\"\nHidden=false\nNoDisplay=false\nX-GNOME-Autostart-enabled=true\nName[en_US]=Kernel check\nName=Kernel check\nComment[en_US]=\nComment=" > ~/.config/autostart/kernel_check.desktop

and I reboot again.

Is it enough ? How can I know I did the process well ?

I typed this :
more ~/.config/autostart/kernel_check.desktop

And got this result :

[Desktop Entry]
Type=Application
Exec=bash -c "latest_oem_kernel=$(ls /boot/vmlinuz-* | grep '6.1.0-10..-oem' | s
ort -V | tail -n1 | awk -F'/' '{print \$NF}' | sed 's/vmlinuz-//') && current_gr
ub_kernel=$(grep '^GRUB_DEFAULT=' /etc/default/grub | sed -e 's/GRUB_DEFAULT=\"A
dvanced options for Ubuntu>Ubuntu, with Linux //g' -e 's/\"//g') && [ \"\${lates
t_oem_kernel}\" != \"\${current_grub_kernel}\" ] && zenity --text-info --html --
width=300 --height=200 --title=\"Kernel Update Notification\" --filename=<(echo 
-e \"A newer OEM C kernel is available than what is set in GRUB. <a href='https:
//github.com/FrameworkComputer/linux-docs/blob/main/22.04-OEM-C.md'>Click here</
a> to learn more.\")"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Kernel check
Name=Kernel check
Comment[en_US]=
Comment=

Is it OK ?

Everything looks perfect. Let’s make sure the uname -r is reflecting the correct kernel, please paste the output here.

Also, can you walk me through any applications or if browser tabs open?

1 Like