I just found out that it is the linux kernel version that causes the problem.
Linux HAL9000T 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux does not have this Problem. It the 6.5.0-41 that causes the crash. Just tested it on my system. ** Package changed: linux (Ubuntu) => linux-hwe-6.5 (Ubuntu) ** Summary changed: - kisak-mesa PPA: amdgpu / mesa driver crash on laptop lid close and open + linux-image-6.5.0-41-generic: amdgpu / mesa driver crash on laptop lid close and open -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2071867 Title: linux-image-6.5.0-41-generic: amdgpu / mesa driver crash on laptop lid close and open To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.5/+bug/2071867/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs