I'm seeing something very similar.
Did a fresh install of 20.04 a week ago.

After being logged in half a day things really start slowing down.
Alt+Tab takes a few seconds to pop up, then you tab through to e.g. an
open Calculator instance and that takes 8 seconds to come to the
foreground.  gnone-shell using 50% of one CPU.

Have tried your suggestions to no avail.

attaching the logs requested.  journalctl shows a tone of javascript errors
e.g.
JS ERROR: TypeError: null has no properties
                                          
_onFocusChanged@resource:///org/gnome/shell/ui/closeDialog.js:135:9


$ sudo strace -c -p 7087
strace: Process 7087 attached
^Cstrace: Process 7087 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 34.73    0.215539           2     98592           sendmsg
 23.99    0.148891           2     70929     36904 recvmsg
 22.68    0.140739           2     68317           poll
 16.42    0.101903           2     34030           writev
  1.21    0.007527           4      1716           ioctl
  0.46    0.002841           3       932       138 futex
  0.25    0.001521           5       300       260 stat
  0.10    0.000590           0       656           mprotect
  0.06    0.000362           0      1165           write
  0.04    0.000278           5        54           munmap
  0.03    0.000205           0       305           getpid
  0.01    0.000089           0       383           read
  0.00    0.000022           1        13           timerfd_create
  0.00    0.000017           1        13           close
  0.00    0.000017           1        10           mmap
  0.00    0.000017           1        13           timerfd_settime
  0.00    0.000002           2         1           restart_syscall
  0.00    0.000000           0         2           getrusage
------ ----------- ----------- --------- --------- ----------------
100.00    0.620560                277431     37302 total


Your journalctl command produced a 1.5Gb file.  I have attached the last 100K 
lines.  Let me know if you need more.

** Attachment added: "journal-tail.txt"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1880723/+attachment/5393304/+files/journal-tail.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1880723

Title:
  gnome-shell high CPU usage on Ubuntu 20.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1880723/+subscriptions

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to