According to https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1946368, this is a known bug on some Ubuntu kernel versions. Commonly, this issue happens when using high resolution screens (higher than 1920×1080@60Hz). Some users report this issue also playing high resolution videos and/or dragging applications to the sidebar. However, I found this problem happening in my Raspberry PI 4 model B even if simply browsing simple pages…
The issue comes from the default KMS, which appears to be unstable on Raspberry PI hardware. The workaround is enabling a “fake” KMS version, which limits the number of functions available for video output but avoids freezing.
Another problem that gets Ubuntu Desktop freezing on Raspberry PI comes with the USB power management module from recent kernels. It is a best practice to suspend devices (or part of them) when they are not used (idle mode). But with Raspberry PI and Ubuntu sometimes happens that, pluggi