[Bug 1927948] Re: Windows switch monitor after resuming from sleep
Looks like there are too many issues - old ones getting closed and new getting created. From the two threads linked earlier 1. The issue is with USB-C delay, using HDMI cable is a reliable workaround (finally after over year of agony). 2. @irox mentioned a software workaroundfor cinnamon/mint ? but I can't find corresponding setting for Ubuntu 24.04 + GNOME + Wayland. $ sudo vi /etc/xdg/autostart/cinnamon-settings-daemon-xrandr.desktop and change: Exec=csd-xrandr to: Exec=csd-xrandr --exit-time 5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
Can also add that sometimes the windows are moved off-screen, or partly off-screen. The Eizo screen is placed on the left, and vertically in the middle compared to the Samsung screen. The windows are usually moved upwards, seemingly to the top compared to the Samsung screen. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
john@chimera:~$ xrandr Screen 0: minimum 8 x 8, current 5520 x 2160, maximum 16384 x 16384 DVI-I-0 disconnected (normal left inverted right x axis y axis) DVI-I-1 disconnected (normal left inverted right x axis y axis) HDMI-0 connected primary 3840x2160+1680+0 (normal left inverted right x axis y axis) 608mm x 345mm 3840x2160 60.00*+ 59.9450.0029.9725.0023.98 2560x1440 59.95 1920x1080 60.0059.9450.0029.9723.98 1680x1050 59.95 1600x900 60.00 1440x900 59.89 1280x1024 75.0260.02 1280x800 59.81 1280x720 60.0059.9450.00 1152x864 75.00 1024x768 75.0370.0760.00 800x600 75.0072.1960.3256.25 720x576 50.00 720x480 59.94 640x480 75.0072.8159.94 DP-0 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) DVI-D-0 connected 1680x1050+0+552 (normal left inverted right x axis y axis) 474mm x 297mm 1680x1050 59.88*+ 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.32 640x480 59.94 HDMI-A-1-0 disconnected (normal left inverted right x axis y axis) DisplayPort-1-0 disconnected (normal left inverted right x axis y axis) None-2-1 connected (normal left inverted right x axis y axis) 3840x2160 60.00 + -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
john@chimera:~$ sudo lshw -class display *-display description: VGA compatible controller product: GM206 [GeForce GTX 960] vendor: NVIDIA Corporation physical id: 0 bus info: pci@:01:00.0 logical name: /dev/fb0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb configuration: depth=32 driver=nvidia latency=0 mode=3840x2160 visual=truecolor xres=3840 yres=2160 resources: iomemory:fc0-fbf iomemory:fc0-fbf irq:125 memory:fb00-fbff memory:fcc000-fccfff memory:fcd000-fcd1ff ioport:f000(size=128) memory:fc00-fc07 *-display description: VGA compatible controller product: Raphael vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@:0d:00.0 version: c3 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi msix vga_controller bus_master cap_list configuration: driver=amdgpu latency=0 resources: iomemory:fc0-fbf iomemory:fc0-fbf irq:99 memory:fce000-fcefff memory:fcf000-fcf01f ioport:e000(size=256) memory:fc50-fc57 *-graphics product: simpledrmdrmfb physical id: 2 logical name: /dev/fb0 capabilities: fb configuration: depth=32 resolution=3840,2160 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
This happen on my setup, and it never goes to sleep a.k.a. suspend is off. It only does a screen lock. Thus I believe it is wrong to assign this to the sleep functionality. I have two screens, one low-res Eizo Nanau corp. FlexScan S2202W 22" 1680×1050 connected over DVI-D and one Samsung Electric Comp. U28E590D 28" 3840×2160 connected over HDMI. The Eizo screen is pretty old, but has better image quality. This machine is a ASUS ROG STRIX B650E-F with an old NVIDIA GeForce GTX 960 graphics card. Both screens are connected to the 960. Its kind of counter intuitive to use such an old graphics card on that motherboard. The Eizo screen is pretty fast while unlocking the machine, the Samsung one is lagging behind. Some apps will then move to the Eizo screen, most notably gnome apps, but not consistently. Doing a test right now the file browser moved, Firefox did, and Warp. Neither Secrets nor Chronium move on this occasion. Repeating this, but without screens turning on, nothing moved. Repeating once more with screens turning off, only the backup app Pica moved. I've been wondering whether this has to do with how many apps that manage to reinitialize before the Samsung monitor turns on, and whether the screens are sequentially initialized or it is done in parallel. Some says it doesn't matter whether the screens are similar, which makes me wonder if they are initialized sequentially. If necessary I can do some further tests. # Systeminformasjon --- ## Rapport - **Dato generert:** 2024-07-14 15:28:58 ## Maskinvare: - **Maskintype:** ASUS ROG STRIX B650E-F GAMING WIFI - **Minne:** 16,0 GiB - **Prosessor:** AMD Ryzen™ 7 7700X × 16 - **Grafikk:** NVIDIA GeForce GTX 960 - **Grafikk 1:** NVIDIA GeForce GTX 960 - **Lagringsplass:** 6,0 TB ## Programvare: - **Fastvareversjon:** 0613 - **Operativsystem:** Ubuntu 24.04 LTS - **Utgave:** (null) - **Type:**64-bit - **GNOME-versjon:** 46 - **Visningssystem:** X11 - **Kjerne:** Linux 6.8.0-38-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
See also bug 1778983. ** Tags removed: hirsute ** Tags added: jammy ** Changed in: gnome-shell (Ubuntu) Status: Won't Fix => Confirmed ** Changed in: mutter (Ubuntu) Status: Won't Fix => Confirmed ** Changed in: gnome-shell (Ubuntu) Importance: Undecided => Medium ** Changed in: mutter (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
Thank you for reporting this bug to Ubuntu. Ubuntu 21.04 (hirsute) reached end-of-life on January 20, 2022. See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in. ** Changed in: gnome-shell (Ubuntu) Status: Confirmed => Won't Fix ** Changed in: mutter (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
I think the best place for continuing this discussion is with the developers at either: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2092 https://gitlab.gnome.org/GNOME/mutter/-/issues/1419 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
Would it be possible to "lock" the monitor configuration so that even if Ubuntu does not detect all of the monitors, it doesn't care? I understand that one laptops and some other systems, changes in the monitors are common. But I have a desktop PC with two monitors attached, and that does not change. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
Its a shame a new issue was created for this. The problem has been around for over 7 years and by creating a new ticket it looses just how many people this affects. https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1295267 In my case, I have 3 monitors connected to a Dell Latitude laptop. One of the monitors seems to take longer to wake up than the others. As stated by others, this delay causes some windows to move from one to another. Chrome's windows are stable, but they implemented everything them selves so we can exclude them. Gnome terminals, Remmina windows, KeePassX all move around. It is related to the slow monitor issue because Gnome terminals often get resized which indicates they have been migrated to another windows and squished to fit the smaller resolution. Maybe a fix would be to allow a delay to be set between waking up the screen and when they appear so we don't trigger the shuffling of windows. However really the issue is they are not being restored back to their original position after monitor plug events. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
This is happening to me too. Fresh install of Debian 11, primary DP landscape, secondary HDMI portrait. Two effects: 1. A window on the right of the primary screen moves to the left of the primary screen. Another window on the left of the primary screen does not move. The moving window also resizes, although this contains Terminal and may be resizing to default row/column settings. 2. A maximised window on the secondary screen is moved down so there is a one-line gap at the top, despite still being maximised. Un-max/max removes the gap. It seems to happen when screen is blanked. I have disabled screen locking so don't know if it happens when screen locked too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
** Also affects: gnome-shell (Ubuntu) Importance: Undecided Status: New ** Changed in: gnome-shell (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
First time posting on this forum; apologize in advance if I am not doing this right. I have the same problem. I have three monitors (1 4k, 2 1080p [1 16:10 and 1 16:9]). 1080p 16:10 monitor is set as primary display, but is Monitor 2 in the physical connections. Stuff on primary monitor (16:10) stays put; stuff on the 4k monitor and the secondary 16:9 monitor move around. $ sudo lshw -class display *-display description: VGA compatible controller product: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@:01:00.0 version: e7 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=amdgpu latency=0 resources: irq:209 memory:a000-afff memory:b000-b01f ioport:5000(size=256) memory:b090-b093 memory:c-d Attachment: 1. output of dbus-send --session --print-reply --dest=org.gnome.Mutter.DisplayConfig /org/gnome/Mutter/DisplayConfig org.gnome.Mutter.DisplayConfig.GetCurrentState 2. output of ls /sys/class/drm/*/edid | xargs -i{} sh -c "echo {}; parse-edid < {}" ** Attachment added: "Output of debus-send and edid commands" https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1927948/+attachment/5499276/+files/monitor-output.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: mutter (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #1419 https://gitlab.gnome.org/GNOME/mutter/-/issues/1419 ** Also affects: mutter via https://gitlab.gnome.org/GNOME/mutter/-/issues/1419 Importance: Unknown Status: Unknown ** Bug watch added: gitlab.gnome.org/GNOME/gnome-shell/-/issues #2092 https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2092 ** Also affects: gnome-shell via https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2092 Importance: Unknown Status: Unknown ** Tags added: multimonitor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-shell/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927948] Re: Windows switch monitor after resuming from sleep
I have a Dell XPS 13 7390 2-in-1 with two external monitors. The first external monitor is connected via USB-C/Thunderbolt, the second one via DP from the first external monitor. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927948 Title: Windows switch monitor after resuming from sleep To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1927948/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs