High cpu usage on alt-tab-ing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Expired
|
Low
|
Unassigned | ||
mutter (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Switching between apps was feeling extremely laggy and unsmooth after some days of keeping the laptop on and just alt-tab-ing between apps would keep the cpu consistently at 100% when hitting it more than 8-9 times per second and *not* letting go of Alt (meaning I stay at the same app).
Some investigation (1) led me to try out restarting the gnome-shell instance (killall followed by manually starting it in the terminal), upon which everything seemed zippy again. No lagginess. The restart was a supposed fix for a memory leak bug (2), but according to the comments a bug fix was supposed to have landed in 18.04 long ago. So either this has not been fixed or this bug is about something else - probably the latter, as the reported memory usage in htop was nowhere near the gigabytes of memory reported in the bug issue for 16722297.
Another thing worth mentioning perhaps, based on comments in (3) found through (4), is that I have disabled all extensions. I used to use the Coverflow extension.
Expected behaviour:
There should be no percieved lag or stuttering in the interface when switching between applications.
Actual behaviour:
Switching between applications causes a noticable lag/stuttering when the computer has been running for an extended period of time (weeks, but where it has mostly been suspended, meaning actual usage is limited to 3-4 days).
1. https:/
2. https:/
3. https:/
4. https:/
System info:
------------
Running Wayland.
Description: Ubuntu 18.04.1 LTS
Release: 18.04
gnome-shell:
Installert: 3.28.3-
Kandidat: 3.28.3-
Versjonstabell:
*** 3.28.3-
500 http://
100 /var/lib/
3.
500 http://
edit: removed info on high cpu usage when using mouse. supposedly unrelated.
tags: | added: bionic performance |
Changed in gnome-shell (Ubuntu): | |
status: | Expired → New |
Changed in mutter (Ubuntu): | |
status: | Expired → New |
Changed in gnome-shell (Ubuntu): | |
importance: | Undecided → Low |
Changed in mutter (Ubuntu): | |
importance: | Undecided → Low |
Performance of window previews is significantly improved in mutter 3.28.4 (which doesn't exist yet :) due to:
https:/ /gitlab. gnome.org/ GNOME/mutter/ commit/ d81dcd13e4e14a8 c80b7c9d475feb5 8c258babc0
But I think 18.04 will get that fix soon as part of the proposed update:
https:/ /launchpad. net/ubuntu/ +source/ mutter/ 3.28.3+ git20190124- 0ubuntu18. 04.1
Gnome 3.30 (Ubuntu 18.10) onward already contains that fix. So could you please test one of:
* Ubuntu 18.10
* Ubuntu 19.04
* Ubuntu 18.04 with proposed updates enabled
and tell us the version of the 'mutter' package you are testing.