You may check if you get a
kwin_wayland_drm: Pageflip timed out! This is a kernel bug
message at the syslog like i still occasionally do with such freezes (not even actively using my 4070 when that happens, so I can not really blame that driver).