Wayland native windows does not redraw itself under heavy load
Affected version
Ubuntu 20.04 (first appear) Wayland session AMD Ryzen 5 2400G AMD RX560 Resolution 3840x2160, 200% scale
Bug summary
Any native Wayland application, usually firefox, but also it can be Evince or nautilus, can stop redrawing itself under heavy processor load.
Steps to reproduce
The simplest way to reproduce is to open a firefox as a native Wayland application and open some site with a lot of js code to run. Google maps is a fine example. At some point, the window will freeze, but the firefox continue to run. It is even react to mouse click, but the picture become still.
Going to overview and back helps to unlock it.
I tried with extensions disabled, the issue still occurs.