Bug#913029: gnome-shell high CPU usage ( sometimes it reaches 80% )

nima0102 nima0102 at gmail.com
Tue Nov 6 08:23:57 GMT 2018


Package: gnome-shell
Version: 3.30.1-2
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

*note: sometimes it slow down the entire gnome ( laggy )

root at Nima-Laptop:~# uname -a
Linux Nima-Laptop 4.18.0-2-amd64 #1 SMP Debian 4.18.10-2 (2018-10-07) x86_64
GNU/Linux

Nvidia Driver:
390.87-2 ( installed via apt )
Nvidia packages:

ii  libegl-nvidia0:amd64                  390.87-2
amd64        NVIDIA binary EGL library
ii  libgl1-nvidia-glvnd-glx:amd64         390.87-2
amd64        NVIDIA binary OpenGL/GLX library (GLVND variant)
ii  libgles-nvidia2:amd64                 390.87-2
amd64        NVIDIA binary OpenGL|ES 2.x library
ii  libglx-nvidia0:amd64                  390.87-2
amd64        NVIDIA binary GLX library
ii  libnvidia-cfg1:amd64                  390.87-2
amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-egl-wayland1:amd64          390.87-2
amd64        NVIDIA binary Wayland EGL external platform library
ii  libnvidia-eglcore:amd64               390.87-2
amd64        NVIDIA binary EGL core libraries
ii  libnvidia-glcore:amd64                390.87-2
amd64        NVIDIA binary OpenGL/GLX core libraries
ii  libnvidia-ml1:amd64                   390.87-2
amd64        NVIDIA Management Library (NVML) runtime library
ii  nvidia-alternative                    390.87-2
amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-driver                         390.87-2
amd64        NVIDIA metapackage
ii  nvidia-driver-bin                     390.87-2
amd64        NVIDIA driver support binaries
ii  nvidia-driver-libs:amd64              390.87-2
amd64        NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii  nvidia-egl-common                     390.87-2
amd64        NVIDIA binary EGL driver - common files
ii  nvidia-egl-icd:amd64                  390.87-2
amd64        NVIDIA EGL installable client driver (ICD)
ii  nvidia-egl-wayland-common             390.87-2
amd64        NVIDIA binary Wayland EGL external platform - common files
ii  nvidia-egl-wayland-icd:amd64          390.87-2
amd64        NVIDIA Wayland EGL external platform library (ICD)
ii  nvidia-installer-cleanup              20151021+8
amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                  20151021+8
amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                    390.87-2
amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-kernel-support                 390.87-2
amd64        NVIDIA binary kernel module support files
ii  nvidia-legacy-check                   390.87-2
amd64        check for NVIDIA GPUs requiring a legacy driver
ii  nvidia-modprobe                       390.25-1
amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-persistenced                   390.25-1
amd64        daemon to maintain persistent software state in the NVIDIA driver
ii  nvidia-settings                       390.67-1
amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-support                        20151021+8
amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64             390.87-2
amd64        Video Decode and Presentation API for Unix - NVIDIA driver
ii  nvidia-vulkan-common                  390.87-2
amd64        NVIDIA Vulkan driver - common files
ii  nvidia-vulkan-icd:amd64               390.87-2
amd64        NVIDIA Vulkan installable client driver (ICD)
ii  xserver-xorg-video-nvidia             390.87-2
amd64        NVIDIA binary Xorg driver



GDM daemn.conf:
[daemon]
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false



xrandr output:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected (normal left inverted right x axis y axis)
   1920x1080    120.00 +
DP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis)
598mm x 336mm
   1920x1080     60.00 + 144.00*  119.98    99.93    84.90
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)


output of strace:

root at Nima-Laptop:~# strace -p 23850 -c
strace: Process 23850 attached
^Cstrace: Process 23850 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 77.48    0.598292           1    449297           clock_gettime
  7.46    0.057612          39      1496           ioctl
  3.37    0.026033           3      7842      6532 recvmsg
  3.19    0.024607          10      2565        63 futex
  2.53    0.019528           5      3573           poll
  1.78    0.013706           1      9609           mprotect
  0.95    0.007304           3      2598           write
  0.94    0.007274           2      4296           getpid
  0.80    0.006181           4      1483           writev
  0.79    0.006104           2      3948           sched_yield
  0.36    0.002800           3      1019           read
  0.12    0.000934           5       198           mmap
  0.06    0.000480           5        96           nanosleep
  0.06    0.000438          11        40        13 openat
  0.04    0.000319           2       198           getrusage
  0.02    0.000166           3        48           fstat
  0.02    0.000125           5        27           close
  0.01    0.000064          21         3           madvise
  0.01    0.000058           3        21           fcntl
  0.01    0.000046          46         1           restart_syscall
  0.00    0.000031           0        68        50 stat
  0.00    0.000027           5         6           lseek
  0.00    0.000017           2         8           brk
  0.00    0.000005           1         4           recvfrom
  0.00    0.000000           0         1           uname
------ ----------- ----------- --------- --------- ----------------
100.00    0.772151                488445      6658 total










-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.30.0-1
ii  evolution-data-server                        3.30.2-2
ii  gir1.2-accountsservice-1.0                   0.6.45-1
ii  gir1.2-atspi-2.0                             2.30.0-4
ii  gir1.2-freedesktop                           1.58.0-1
ii  gir1.2-gcr-3                                 3.28.0-1
ii  gir1.2-gdesktopenums-3.0                     3.28.1-1
ii  gir1.2-gdm-1.0                               3.30.1-1
ii  gir1.2-geoclue-2.0                           2.5.1-1
ii  gir1.2-glib-2.0                              1.58.0-1
ii  gir1.2-gnomebluetooth-1.0                    3.28.2-2
ii  gir1.2-gnomedesktop-3.0                      3.30.1-1
ii  gir1.2-gtk-3.0                               3.24.1-2
ii  gir1.2-gweather-3.0                          3.28.2-1
ii  gir1.2-ibus-1.0                              1.5.19-1
ii  gir1.2-mutter-3                              3.30.1-2
ii  gir1.2-nm-1.0                                1.14.4-2
ii  gir1.2-nma-1.0                               1.8.18-2
ii  gir1.2-pango-1.0                             1.42.4-3
ii  gir1.2-polkit-1.0                            0.105-21
ii  gir1.2-rsvg-2.0                              2.40.20-3
ii  gir1.2-soup-2.4                              2.64.1-3
ii  gir1.2-upowerglib-1.0                        0.99.9-1
ii  gjs                                          1.52.4-1
ii  gnome-backgrounds                            3.30.0-1
ii  gnome-settings-daemon                        3.30.0-1
ii  gnome-shell-common                           3.30.1-2
ii  gsettings-desktop-schemas                    3.28.1-1
ii  libatk-bridge2.0-0                           2.30.0-2
ii  libatk1.0-0                                  2.30.0-1
ii  libc6                                        2.27-8
ii  libcairo2                                    1.16.0-1
ii  libcanberra-gtk3-0                           0.30-6
ii  libcanberra0                                 0.30-6
ii  libcroco3                                    0.6.12-2
ii  libecal-1.2-19                               3.30.2-2
ii  libedataserver-1.2-23                        3.30.2-2
ii  libgcr-base-3-1                              3.28.0-1
ii  libgdk-pixbuf2.0-0                           2.38.0+dfsg-6
ii  libgirepository-1.0-1                        1.58.0-1
ii  libgjs0g                                     1.52.4-1
ii  libglib2.0-0                                 2.58.1-2
ii  libglib2.0-bin                               2.58.1-2
ii  libgstreamer1.0-0                            1.14.4-1
ii  libgtk-3-0                                   3.24.1-2
ii  libical3                                     3.0.4-1
ii  libjson-glib-1.0-0                           1.4.4-1
ii  libmutter-3-0                                3.30.1-2
ii  libnm0                                       1.14.4-2
ii  libpango-1.0-0                               1.42.4-3
ii  libpangocairo-1.0-0                          1.42.4-3
ii  libpolkit-agent-1-0                          0.105-21
ii  libpolkit-gobject-1-0                        0.105-21
ii  libpulse-mainloop-glib0                      12.2-2
ii  libpulse0                                    12.2-2
ii  libsecret-1-0                                0.18.6-3
ii  libstartup-notification0                     0.12-5
ii  libsystemd0                                  239-11
ii  libx11-6                                     2:1.6.7-1
ii  libxfixes3                                   1:5.0.3-1
ii  mutter                                       3.30.1-2
ii  python3                                      3.6.7-1

Versions of packages gnome-shell recommends:
ii  bolt                  0.5-1
ii  chrome-gnome-shell    9-1
ii  gdm3                  3.30.1-1
ii  gkbd-capplet          3.26.0-3
ii  gnome-control-center  1:3.28.2-1
ii  gnome-user-docs       3.30.1-1
ii  iio-sensor-proxy      2.4-2
ii  switcheroo-control    1.2-1
ii  unzip                 6.0-21

Versions of packages gnome-shell suggests:
ii  gir1.2-telepathyglib-0.12   0.24.1-2
ii  gir1.2-telepathylogger-0.2  0.8.2-3

-- no debconf information



More information about the pkg-gnome-maintainers mailing list