I presume Windows 10? Latest 20H2 or 2004? I don't see why you'd need to reinstall from a CPU swap though.
I think anything older than 1909 does have some issues with AMD too, thus why I ask.
It was up to date. Just to rule that out. I'm going to install the 5800 again and a quick Win10 reinstall to rule that out.