Lag on showing Activities

When I press [Super] to show the Activities Overview, it will take many seconds to actually show.

This doesn’t happen when I first start my computer. Not sure if it is a problem of having open windows that have complicated rendering, or a problem of running many applications that altogether use a lot of memory. In all cases, there is a smooth operation in general, but suffer a big lag when showing the Activities Overview.

Are Gnome devs aware of the issue? Are many people experiencing the same?

Thanks!
Ernesto

Probably this.

What does free -m command in terminal say when lag happens?

If swap is being used in above output, chances are your system is overloaded and lag is expected.

Yes, swap is in use, as I typically work with many browser tabs open and IDEs.

However, my system is not overloaded; no application that I use is lagging. From my point of view, the Activities Overview definitely shouldn’t lag, it being a high priority for responsiveness.

What version of GNOME Shell is this, on what graphics driver, on what type of session (presumably Wayland)?

I’m currently running Wayland, though the problem also happens on Xorg.

Gnome 48, also happened in previous versions.

Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
Subsystem: Dell Device 0a5c
Kernel driver in use: i915
Kernel modules: i915, xe

If this happens with all extensions disabled (you may need to logout and log back in to make sure), you want to install all -debuginfo packages for gnome-shell, mutter, etc. and profile with Sysprof to figure out what’s going on, which would be helpful in a bug report, because it’s been butter-smooth for me here since 46-47 and particularly 48. Check out this guide about Sysprof…

2 Likes

Hi. I have captured one of those delays in Sysprof. I have no experience in Linux system calls, but the names seem to indicate a delay in the graphics driver fetching virtual memory pages. My guess is that those contain the current snapshots of my open windows.

I use a 3840 x 2160 resolution, and I notice much improvement when lowering display resolution to 2048 x 1152.

I also notice the delay when switching window with Alt+Tab, probably for the same reasons.