[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-22 Thread Daniel van Vugt
The same bug can occur with app windows if the scale is high enough to make them larger than the monitor. So DING really isn't to blame - it's just a likely trigger given the size of the window. ** No longer affects: gnome-shell-extension-desktop-icons-ng (Ubuntu) ** Summary changed: - Screen

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-22 Thread Daniel van Vugt
I can reproduce the bug with a 1080p laptop + 1080p monitor now. The trick is to configure the laptop screen with a different scaling factor to whatever the external monitor will get by default. When the two screens have the same resolution but different scales, windows will jump between the

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-22 Thread Daniel van Vugt
I also have hardware that exhibits the bug. That's why I started digging into it this week. No guarantees I will have a solution any time soon, so don't assume I've totally taken over. I just assigned it to myself because Seb thought nobody was working on it when I already was. -- You received

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-21 Thread TreviƱo
Oh, I see you're taking the bug. I should receive an affected laptop in few days, so if you want I can continue with this. As debugging via SSH wasn't the best thing. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu.

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-21 Thread Andy Chi
Tried with the newest mutter (42.2-0ubuntu1) and gnome-shell (42.2-0ubuntu0.2), the screen freeze after I plug external monitor. ** Attachment added: "gnome-shell-20220621.log" https://bugs.launchpad.net/oem-priority/+bug/1976204/+attachment/5598650/+files/gnome-shell-20220621.log -- You

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-21 Thread Daniel van Vugt
More progress: The cause is meta_window_wayland_update_main_monitor() constantly changing which monitor the window (presumably DING because there aren't any others) prefers. The toggle is happening on the last line of meta_window_wayland_update_main_monitor() and if you remove that line then the

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-21 Thread Daniel van Vugt
There is a corresponding number of meta_workspace_add_window() calls, also from set_workspace_state(). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1976204 Title: Screen freeze

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-21 Thread Daniel van Vugt
Small progress trying to trace the root cause today: I don't yet see gnome-shell doing anything wrong. It is reacting to an infinite flood of workspace 'window-removed' signals. That signal can only come from one function in mutter, and during the infinite flood I see 'on_all_workspaces' is

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-21 Thread Daniel van Vugt
mutter!2413 is in version 42.2 which I am using already, and the bug is still present, confirming comment #14. ** Changed in: gnome-shell (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: mutter (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) **

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-21 Thread jeremyszu
Daniel, Thus, does the PPA from comment#14 can fix your case? if it doesn't, then probably there are two issues or other patch(s) are needed. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu.

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-20 Thread Daniel van Vugt
The bug doesn't happen if I build mutter/gnome-shell from git. The bug still doesn't happen if I build the Ubuntu 42.1 tags (jammy) from salsa, with all Ubuntu patches. Using the jammy release binaries the bug still occurs consistently. I am not getting any results from gjs_dumpstack anymore

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-18 Thread Daniel van Vugt
Good news: I can reproduce the bug now using an HP Skylake laptop with built-in 4K panel. Everything freezes if I add an external 4K display. The freeze does NOT occur if I have DING disabled. If I use both monitors without DING, then only enabling DING makes the freeze happen again. -- You

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-17 Thread Andy Chi
All the 4k eDP laptops will have this issue, I tried on HP ZBook (which includes nv card) and switch to wayland. Plug external 4k monitor can reproduce too. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to mutter in Ubuntu.

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-17 Thread Daniel van Vugt
I've just finished testing 2x4K on i7-9750H with jammy and it works perfectly. All default settings with DING enabled. I tested both HDMI and USB-C. So something about this bug seems to be hardware-specific as you keep mentioning. It would be really annoying if an OLED XPS was the minimum

[Bug 1976204] Re: Screen freeze if a 4K monitor is added to a 4K laptop while DING is active

2022-06-16 Thread Daniel van Vugt
** Summary changed: - 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: