Kernel 6.1+ freezes on Login Prompt

Your swapfile is relatively small with 512MB. Could you try to make it a big bigger and see if the problem is still persistent? And indeed, if it’s independently on the login manager, this info is not really relevant.