Screen freeze and high CPU when a second monitor of different scaling factor is attached (but only if DING is active)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
New
|
Unknown
|
|||
OEM Priority Project |
Fix Released
|
Critical
|
Andy Chi | ||
gnome-shell-extension-desktop-icons-ng (Ubuntu) |
Fix Released
|
High
|
Daniel van Vugt | ||
Jammy |
Fix Released
|
High
|
Sergio Costas | ||
mutter (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
[Summary]
The system will run into freeze if I connect the external monitor through DP/HDMI with dongle DA310 or Docking WD19TB
Per further check, it will freeze only if the built-in and external display has different scale factors.
[Steps to reproduce]
1. Attact DA310 or WD19TB to DUT
2. Cold Boot into OS
3. Plug the DP/HDMI cable to DA310 or WD19TB
4. Check the external monitor has signal
5. Click keyboard or move mouse to check system can work well
[Expected result]
System won't be freeze with external monitor.
[Actual result]
Screen will freeze, but ssh can still reach out DUT. Keyboard and mouse
don't work during the screen freeze.
It can be recovered after unplug the external monitor sometime.
[gnome-shell stack trace]
五 27 22:12:31 ubuntu-XPS-9320 gnome-shell[1998]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
五 27 22:12:31 ubuntu-XPS-9320 gnome-shell[1998]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
五 27 22:12:31 ubuntu-XPS-9320 gnome-shell[1998]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
五 27 22:12:31 ubuntu-XPS-9320 gnome-shell[1998]: meta_window_
五 27 22:12:55 ubuntu-XPS-9320 sudo[2916]: ubuntu : TTY=pts/2 ; PWD=/home/ubuntu ; USER=root ; COMMAND=
五 27 22:12:55 ubuntu-XPS-9320 sudo[2916]: pam_unix(
五 27 22:12:55 ubuntu-XPS-9320 sudo[2916]: pam_unix(
五 27 22:12:56 ubuntu-XPS-9320 gnome-shell[1998]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
五 27 22:12:56 ubuntu-XPS-9320 gnome-shell[1998]: == Stack trace for context 0x56156f8f04a0 ==
五 27 22:12:56 ubuntu-XPS-9320 gnome-shell[1998]: == Stack trace for context 0x56156f8f04a0 ==
五 27 22:12:56 ubuntu-XPS-9320 gnome-shell[1998]: The offending signal was window-added on MetaWorkspace 0x56156f916640.
五 27 22:12:56 ubuntu-XPS-9320 gnome-shell[1998]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
五 27 22:12:56 ubuntu-XPS-9320 gnome-shell[1998]: The offending signal was window-added on MetaWorkspace 0x56156f916640.
五 27 22:12:56 ubuntu-XPS-9320 gnome-shell[1998]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
This system is using OLED (3456x2160) panel, and I can't reproduce this issue on FHD panel.
[What could go wrong]
This 2 line bugfix maximizes the desktop icons window avoiding an infinite loop. This is a workaround for an apparent bug in mutter but fixing mutter is much more complicated.
The Desktop Icons NG GNOME Shell extension is enabled by default on Ubuntu 22.04 LTS so a bug here could make desktops unusable.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-03-17 (75 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220313)
Package: gnome-shell 42.1-0ubuntu0.1
PackageArchitec
ProcVersionSign
RelatedPackageV
Tags: jammy wayland-session
Uname: Linux 5.15.0-35-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
tags: | added: oem-priority originate-from-1967530 somerville |
Changed in oem-priority: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Andy Chi (andch) |
tags: | added: jellyfish-edge-staging |
description: | updated |
summary: |
- Screen freeze + Screen freeze if a 4K monitor is added to a 4K laptop while DING is + active |
Changed in gnome-shell (Ubuntu): | |
importance: | Undecided → High |
Changed in mutter (Ubuntu): | |
importance: | Undecided → High |
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu): | |
importance: | Undecided → High |
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu): | |
status: | New → Opinion |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu): | |
status: | Opinion → In Progress |
importance: | Undecided → High |
tags: | added: fixed-in-ding-47 fixed-upstream |
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in mutter: | |
status: | Unknown → New |
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu Jammy): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Sergio Costas (rastersoft-gmail) |
no longer affects: | mutter (Ubuntu Jammy) |
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu Jammy): | |
status: | Triaged → In Progress |
description: | updated |
description: | updated |
Changed in oem-priority: | |
status: | Confirmed → Fix Committed |
Changed in mutter (Ubuntu): | |
assignee: | Daniel van Vugt (vanvugt) → nobody |
importance: | High → Medium |
status: | In Progress → Triaged |
tags: | removed: fixed-upstream |
Changed in oem-priority: | |
status: | Fix Committed → Fix Released |
apport information