This doesn't happen with Mesa on non-AMD GPUs? Does running kwin with LIBGL_DRI3_DISABLE=1 make a difference?