High CPU usage by gnome-shell when using Google Chrome

Bug #1773528 reported by Hayk Baghdasaryan
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Usually 40% or more CPU usage. May be related to AMD GPU. Problem disappears while using XFCE.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.28.1-0ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat May 26 16:59:28 2018
DisplayManager: gdm3
InstallationDate: Installed on 2018-04-28 (27 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hayk Baghdasaryan (hayk-s-b) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

What specific app do you find triggers gnome-shell's high CPU usage?

tags: added: performance
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Hayk Baghdasaryan (hayk-s-b) wrote :

I've noticed that playing videos on youtube affects it the most. The bigger is resolution the higher is CPU usage. But it's
also high while using WebStorm or VmWare.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

When "playing videos on youtube", what browser (and version) are you using?

Remember to focus on the CPU usage of the gnome-shell process only.

Revision history for this message
Hayk Baghdasaryan (hayk-s-b) wrote :

Google Chrome Version 66.0.3359.181 (Official Build) (64-bit).
By [CPU usage] in my previous letter I refer to CPU usage of gnome-shell.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks.

Can you please also run 'lspci -k' and send us the output?

summary: - High CPU usage by gnome-shell.
+ High CPU usage by gnome-shell when using Google Chrome
Revision history for this message
Hayk Baghdasaryan (hayk-s-b) wrote :

Sure. Here is it.

00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 08)
 Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
 Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)
 Subsystem: Lenovo Skylake GT2 [HD Graphics 520]
 Kernel driver in use: i915
 Kernel modules: i915
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
 Subsystem: Lenovo Sunrise Point-LP USB 3.0 xHCI Controller
 Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
 Subsystem: Lenovo Sunrise Point-LP Thermal subsystem
 Kernel driver in use: intel_pch_thermal
 Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
 Subsystem: Lenovo Sunrise Point-LP CSME HECI
 Kernel driver in use: mei_me
 Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
 Subsystem: Lenovo Sunrise Point-LP SATA Controller [AHCI mode]
 Kernel driver in use: ahci
 Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
 Kernel driver in use: pcieport
 Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
 Kernel driver in use: pcieport
 Kernel modules: shpchp
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
 Kernel driver in use: pcieport
 Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
 Subsystem: Lenovo Sunrise Point-LP LPC Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
 Subsystem: Lenovo Sunrise Point-LP PMC
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
 Subsystem: Lenovo Sunrise Point-LP HD Audio
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
 Subsystem: Lenovo Sunrise Point-LP SMBus
 Kernel modules: i2c_i801
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
 Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
 Kernel driver in use: r8169
 Kernel modules: r8169
02:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth (rev 99)
 Subsystem: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth
 Kernel driver in use: iwlwifi
 Kernel modules: iwlwifi
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev 83)
 Subsystem: Lenovo Radeon R5 M330
 Kernel driver in use: radeon
 Kernel modules: radeon, amdgpu

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Do you find any significant difference in performance between Xorg and Wayland sessions?

Is this bug the same?

tags: added: radeon
Revision history for this message
Hayk Baghdasaryan (hayk-s-b) wrote :

Not actually. But mouse pointer moves are not smooth in Wayland session. So I guess that counts.

Revision history for this message
Hayk Baghdasaryan (hayk-s-b) wrote :

I mean the performance is mostly the same.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes, I am aware of the mouse pointer being less efficient in Wayland sessions. That's covered by bug 1690719.

Changed in gnome-shell (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1772365, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.