Ubuntu – Ubuntu 18.04 -> 20.04 alt-tab gets slow / laggy after a while

20.04gnome

I recently updated to 20.04 LTS from 18.04 LTS.
When my system is up for like a day, alt-tab starts to lag. Not the window switcher panel, but when I select the window I want and release keys, it takes maybe a second to switch.

Rebooting or restarting gnome with killall -SIGQUIT gnome-shell fixes it back.
I also noticed gnome-shell was constantly at ~10% CPU while after restart, it's ~3%. Not sure if related.

I couldn't find anything about this problem. Any ideass on how can I fix, or further troubleshoot this?

GNOME Shell 3.36.2
nvidia-driver-440
5.5.13-050513-generic

Best Answer

I just had the same issue after migrating from 18.04 to 20.04, but I am using lightdm. Downgrading the nvidia-driver to 390 and restarting my machine solved the issue.

You can follow this link on how to update your drivers, but instead of the newest, choose an older one.

I only tried 390 so far, but a newer version might work as well.

Related Question