Thanks. The log in comment #11 indeed shows amdgpu kernel driver errors in the time range you mention. So this is a kernel bug.
Please try these two kernels separately: https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/2022-07-08/amd64/ https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.18.11/amd64/ When testing each you need to download all the .deb files and install them together: sudo dpkg -i *.deb ** Package changed: gnome-shell (Ubuntu) => linux (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1981559 Title: [amdgpu] Gnome Freezes When Second Display is Turned Off Status in linux package in Ubuntu: Incomplete Bug description: When second display is turned off, gnome will freeze for about 30 seconds before it starts working again. Sometimes, it freezes indefinitely with the screen glitching, forcing me to reboot. The indefinite freezing happens when I have a lot of windows open on both displays. Wake up from suspend takes too long - about 30 seconds - and the “Join Displays” option changes to “Single Display” and the primary display option changes to the second display. My graphics card is AMD Radeon VII. I run into this issue on a fresh Ubuntu 22.04 installation. Displays are 1440p and 1080p @ 144Hz. --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME DisplayManager: gdm3 DistroRelease: Ubuntu 22.04 InstallationDate: Installed on 2022-06-25 (18 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) Package: gnome-shell 42.2-0ubuntu0.2 PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39 RelatedPackageVersions: mutter-common 42.2-0ubuntu1 Tags: jammy third-party-packages Uname: Linux 5.15.0-41-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1981559/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp