gnome-shell is wasting CPU repainting unchanging panels
Bug #1743976 reported by
Daniel van Vugt
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
Fix Released
|
Medium
|
|||
gnome-shell (Ubuntu) |
Fix Released
|
Medium
|
Daniel van Vugt | ||
Bionic |
Fix Released
|
Medium
|
Unassigned | ||
gnome-shell-extension-ubuntu-dock (Ubuntu) |
Fix Released
|
Medium
|
Daniel van Vugt | ||
Bionic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
gnome-shell is wasting CPU repainting an unchanging panel and dock. Every time an app window changes all visible actors including the panel get repainted. But the panels mostly doesn't change, so should be cached via offscreen-redirect instead.
[ Impact ]
Ubuntu dock repaints the dock when a window changes
[ Test case ]
- Maximize a window
- Change its content, by acting on it
- Monitor gnome-shell CPU usage, and it should be lower than using previous dock version
[ Possible regression ]
The dock isn't repainted properly or it could produce artifacts in some scenarios
Related branches
lp://staging/~3v1n0/gnome-shell/bionic-patches-add-gpu-cached-texture
- Jeremy Bícha: Approve
-
Diff: 162 lines (+142/-0)3 files modifieddebian/changelog (+8/-0)
debian/patches/js-ui-Choose-some-actors-to-cache-on-the-GPU.patch (+133/-0)
debian/patches/series (+1/-0)
summary: |
- gnome-shell is wasting CPU repainting an unchanging panel + gnome-shell is wasting CPU repainting unchanging panels |
description: | updated |
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in gnome-shell: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gnome-shell: | |
status: | Confirmed → Incomplete |
Changed in mutter (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in gnome-shell (Ubuntu): | |
status: | Confirmed → Fix Committed |
no longer affects: | mutter (Ubuntu) |
Changed in gnome-shell: | |
status: | Incomplete → Fix Released |
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Bionic): | |
milestone: | none → ubuntu-18.04.2 |
no longer affects: | gnome-shell-extension-ubuntu-dock (Ubuntu Bionic) |
Changed in gnome-shell (Ubuntu Bionic): | |
status: | New → Fix Released |
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Bionic): | |
status: | New → Fix Released |
Changed in gnome-shell (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Bionic): | |
importance: | Undecided → Medium |
no longer affects: | gnome-shell (Ubuntu Cosmic) |
no longer affects: | gnome-shell-extension-ubuntu-dock (Ubuntu Cosmic) |
To post a comment you must log in.
See also upstream: https:/ /github. com/micheleg/ dash-to- dock/pull/ 675