gnome-shell uses high CPU when simply moving windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Fix Released
|
Unknown
|
|||
gjs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned | ||
gnome-shell (Ubuntu) |
Invalid
|
Medium
|
Daniel van Vugt | ||
mutter (Ubuntu) |
Fix Released
|
Medium
|
Daniel van Vugt |
Bug Description
After doing a stock install Ubuntu 18.04.1 LTS on an imac 27" 2010
8G ram, Intel® Core™ i7 CPU 870 @ 2.93GHz × 8
Simply moving a window around on the screen increases the cpu usage
by gnome-shell to 44%. When displaying a movie, totem takes 10%, gnome-shell takes 22%.
etc etc
System: Host: oldie Kernel: 4.15.0-36-generic x86_64 bits: 64 Desktop: Gnome 3.28.3
Distro: Ubuntu 18.04.1 LTS
Machine: Device: desktop System: Apple product: iMac11 3 v: 1.0 serial: N/A
Mobo: Apple model: Mac-F2238BAE v: iMac11 3 serial: N/A
UEFI: Apple v: IM112.88Z.
CPU: Quad core Intel Core i7 870 (-MT-MCP-) cache: 8192 KB
clock speeds: max: 2927 MHz 1: 1271 MHz 2: 1206 MHz 3: 1374 MHz 4: 1271 MHz 5: 1377 MHz 6: 1266 MHz
7: 1693 MHz 8: 1279 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Broadway PRO [Mobility Radeon HD 5850]
Display Server: x11 (X.Org 1.19.6 ) driver: radeon Resolution: 2560x1440@59.95hz
OpenGL: renderer: AMD JUNIPER (DRM 2.50.0 / 4.15.0-36-generic, LLVM 6.0.0) version: 3.3 Mesa 18.0.5
Audio: Card-1 Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel
Card-2 Advanced Micro Devices [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]
driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network: Card-1: Broadcom Limited NetXtreme BCM5764M Gigabit Ethernet PCIe driver: tg3
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: c4:2c:03:30:ce:8e
Card-2: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) driver: ath9k
IF: wls1 state: down mac: d8:30:62:67:2a:19
Drives: HDD Total Size: 2500.5GB (38.0% used)
ID-1: /dev/sda model: WDC_WD1001FALS size: 1000.2GB
ID-2: USB /dev/sdb model: MK1059GSM size: 1000.2GB
ID-3: USB /dev/sdd model: Elements_10B8 size: 500.1GB
Partition: ID-1: / size: 226G used: 125G (58%) fs: ext4 dev: /dev/sda2
ID-2: /home size: 701G used: 876M (1%) fs: btrfs dev: /dev/sda4
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 56.0C mobo: N/A
Fan Speeds (in rpm): cpu: 936
Info: Processes: 342 Uptime: 3:07 Memory: 2087.3/7967.4MB Client: Shell (bash) inxi: 2.3.56
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.28.3-
ProcVersionSign
Uname: Linux 4.15.0-36-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 22 19:09:59 2018
DisplayManager: gdm3
GsettingsChanges:
b'org.gnome.shell' b'disable-
b'org.gnome.shell' b'app-picker-view' b'uint32 1'
b'org.gnome.shell' b'favorite-apps' redacted by apport
b'org.
InstallationDate: Installed on 2018-10-22 (0 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gnome-shell (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | Confirmed → In Progress |
Changed in mutter (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | New → In Progress |
Changed in gjs (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | New → In Progress |
summary: |
- gnome-shell uses 44% cpu when simply moving windows + gnome-shell uses high CPU when simply moving windows |
Changed in mutter: | |
status: | Unknown → New |
Changed in gnome-shell (Ubuntu): | |
milestone: | none → ubuntu-20.03 |
Changed in mutter (Ubuntu): | |
milestone: | none → ubuntu-20.03 |
tags: | added: champage focal |
tags: |
added: champagne removed: champage |
Changed in gnome-shell (Ubuntu): | |
importance: | Undecided → Medium |
Changed in mutter (Ubuntu): | |
importance: | Undecided → Medium |
Changed in gnome-shell (Ubuntu): | |
status: | In Progress → Invalid |
Changed in mutter (Ubuntu): | |
status: | In Progress → Triaged |
tags: | added: fixed-in-3.35.90 fixed-upstream |
Changed in mutter (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in mutter: | |
status: | New → Fix Released |
Changed in gnome-shell (Ubuntu): | |
milestone: | ubuntu-20.03 → none |
Thanks for the bug report.
I happen to be working on fixes for this right now, and had not yet created a bug for it. So let's use this bug.
The relevant fixes I have so far are: /gitlab. gnome.org/ GNOME/mutter/ merge_requests/ 189 /gitlab. gnome.org/ GNOME/gjs/ merge_requests/ 236 /gitlab. gnome.org/ GNOME/gnome- shell/merge_ requests/ 265 /gitlab. gnome.org/ GNOME/mutter/ merge_requests/ 270
https:/
https:/
https:/
https:/