Cinnamon takes a lot of CPU Usage

Bug #1880438 reported by benjie madolin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cinnamon (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Command: top

Tasks: 200 total, 1 running, 157 sleeping, 0 stopped, 0 zombie
%Cpu(s): 87.7 us, 4.0 sy, 0.0 ni, 8.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 7404376 total, 2785440 free, 2398044 used, 2220892 buff/cache
KiB Swap: 7559676 total, 7559676 free, 0 used. 4578112 avail Mem

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 2119 benjie 20 0 3031316 204520 110980 S 157.8 2.8 15:30.16 cinnamon
 1275 root 20 0 656500 98772 79104 S 14.0 1.3 1:44.51 Xorg
 4364 benjie 20 0 502468 49692 35972 S 5.6 0.7 0:02.08 gnome-system-mo
 4232 benjie 20 0 5829036 128100 80672 S 3.0 1.7 0:16.53 chromium-browse
 3888 benjie 20 0 5794480 110352 78356 S 1.0 1.5 0:11.93 chromium-browse
 3493 benjie 20 0 5990116 250328 116964 S 0.7 3.4 2:40.81 chromium-browse
   10 root 20 0 0 0 0 I 0.3 0.0 0:01.19 rcu_sched
 3159 benjie 20 0 1470124 88148 60168 S 0.3 1.2 0:14.45 chromium-browse
 4074 benjie 20 0 603436 39580 28040 S 0.3 0.5 0:01.46 gnome-terminal-
 4089 benjie 20 0 41928 3724 3120 R 0.3 0.1 0:02.14 top
 4220 benjie 20 0 5554356 149580 84916 S 0.3 2.0 0:12.17 chromium-browse
    1 root 20 0 160280 9596 6788 S 0.0 0.1 0:02.06 systemd
    2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
    3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
    4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp
    6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:0H-kb
    8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_wq
    9 root 20 0 0 0 0 S 0.0 0.0 0:00.10 ksoftirqd/0
   11 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
   12 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/0
   14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
   15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
   16 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/1
   17 root rt 0 0 0 0 S 0.0 0.0 0:00.30 migration/1
   18 root 20 0 0 0 0 S 0.0 0.0 0:00.14 ksoftirqd/1
   20 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1:0H-kb
   21 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
   22 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 netns
   23 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_tasks_kthre
   24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kauditd
   26 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khungtaskd
   27 root 20 0 0 0 0 S 0.0 0.0 0:00.00 oom_reaper
benjie@benjie-MS-7721 ~ $

=====
Command: ubuntu-bug linux

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
................

*** Problem in linux-image-5.3.0-53-generic

The problem cannot be reported:

This is not an official Linux package. Please remove any third party package and try again.

Press any key to continue...

No pending crash reports. Try --help for more information.

=====
benjie@benjie-MS-7721 ~ $ cat /proc/version_signature > version.log
benjie@benjie-MS-7721 ~ $ sudo lspci -vnvn > lspci-vnvn.log
[sudo] password for benjie:
pcilib: sysfs_read_vpd: read failed: Input/output error

=====
benjie@benjie-MS-7721 ~ $ lsb_release -rd
Description: Linux Mint 19.3 Tricia
Release: 19.3

=====
benjie@benjie-MS-7721 ~ $ apt-cache policy 5.3.0-53-generic
linux-image-5.3.0-53-generic:
  Installed: 5.3.0-53.47~18.04.1
  Candidate: 5.3.0-53.47~18.04.1
  Version table:
 *** 5.3.0-53.47~18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
linux-modules-extra-5.3.0-53-generic:
  Installed: 5.3.0-53.47~18.04.1
  Candidate: 5.3.0-53.47~18.04.1
  Version table:
 *** 5.3.0-53.47~18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
linux-modules-nvidia-430-5.3.0-53-generic:
  Installed: (none)
  Candidate: 5.3.0-53.47~18.04.1+1
  Version table:
     5.3.0-53.47~18.04.1+1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages
linux-buildinfo-5.3.0-53-generic:
  Installed: (none)
  Candidate: 5.3.0-53.47~18.04.1
  Version table:
     5.3.0-53.47~18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
linux-headers-5.3.0-53-generic:
  Installed: 5.3.0-53.47~18.04.1
  Candidate: 5.3.0-53.47~18.04.1
  Version table:
 *** 5.3.0-53.47~18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
linux-tools-5.3.0-53-generic:
  Installed: (none)
  Candidate: 5.3.0-53.47~18.04.1
  Version table:
     5.3.0-53.47~18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
linux-modules-nvidia-440-5.3.0-53-generic:
  Installed: (none)
  Candidate: 5.3.0-53.47~18.04.1+1
  Version table:
     5.3.0-53.47~18.04.1+1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages
linux-modules-5.3.0-53-generic:
  Installed: 5.3.0-53.47~18.04.1
  Candidate: 5.3.0-53.47~18.04.1
  Version table:
 *** 5.3.0-53.47~18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
linux-cloud-tools-5.3.0-53-generic:
  Installed: (none)
  Candidate: 5.3.0-53.47~18.04.1
  Version table:
     5.3.0-53.47~18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
linux-modules-nvidia-435-5.3.0-53-generic:
  Installed: (none)
  Candidate: 5.3.0-53.47~18.04.1+1
  Version table:
     5.3.0-53.47~18.04.1+1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages
linux-image-unsigned-5.3.0-53-generic:
  Installed: (none)
  Candidate: 5.3.0-53.47~18.04.1
  Version table:
     5.3.0-53.47~18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
linux-modules-nvidia-390-5.3.0-53-generic:
  Installed: (none)
  Candidate: 5.3.0-53.47~18.04.1+1
  Version table:
     5.3.0-53.47~18.04.1+1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages

=====
What you expected to happen: Lower CPU usage for cinnamon

=====
What happened instead: Super high CPU usage for cinnamon

=====
benjie@benjie-MS-7721 ~ $ inxi -Fxz
System: Host: benjie-MS-7721 Kernel: 5.3.0-53-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: Cinnamon 4.4.8
           Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Machine: Type: Desktop Mobo: MSI model: A55M-E33 (MS-7721) v: 7.0 serial: <filter> BIOS: American Megatrends v: 32.0
           date: 11/14/2013
CPU: Topology: Dual Core model: AMD A4-4000 APU with Radeon HD Graphics bits: 64 type: MCP arch: Piledriver rev: 1
           L2 cache: 1024 KiB
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 11977
           Speed: 1811 MHz min/max: 1400/3000 MHz Core speeds (MHz): 1: 1422 2: 1426
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7480D] vendor: Micro-Star MSI driver: radeon
           v: kernel bus ID: 00:01.0
           Display: x11 server: X.Org 1.19.6 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz
           OpenGL: renderer: llvmpipe (LLVM 9.0 128 bits) v: 3.3 Mesa 19.2.8 direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio vendor: Micro-Star MSI driver: snd_hda_intel
           v: kernel bus ID: 00:01.1
           Device-2: Advanced Micro Devices [AMD] FCH Azalia vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
           bus ID: 00:14.2
           Device-3: Z-Star Micro Venus USB2.0 Camera type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-5:3
           Sound Server: ALSA v: k5.3.0-53-generic
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI driver: r8169 v: kernel
           port: e000 bus ID: 01:00.0
           IF: enp1s0 state: down mac: <filter>
           Device-2: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k v: kernel port: e000 bus ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives: Local Storage: total: 931.51 GiB used: 434.81 GiB (46.7%)
           ID-1: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB temp: 41 C
Partition: ID-1: / size: 631.23 GiB used: 217.40 GiB (34.4%) fs: ext4 dev: /dev/sda5
           ID-2: swap-1 size: 7.21 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-0
Sensors: System Temperatures: cpu: 44.9 C mobo: N/A gpu: radeon temp: 30 C
           Fan Speeds (RPM): N/A
Info: Processes: 204 Uptime: 59m Memory: 7.06 GiB used: 2.53 GiB (35.8%) Init: systemd runlevel: 5 Compilers: gcc: 7.5.0
           Shell: bash v: 4.4.20 inxi: 3.0.32

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1880438/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → cinnamon (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cinnamon (Ubuntu):
status: New → Confirmed
Revision history for this message
php4fan (php4fan) wrote :

Is there any workaround to this crap?

Revision history for this message
Fantu (fantonifabio) wrote :

unfortunately those data are not sufficient to understand the cause

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.