Changing from Radeon RX 580 RX 5700 XT

Hey guys, so I am having a bit of an issue with trying to swap out my RX 580 with a 5700 XT. I figured it would be as easy as swapping the cards but when I turn on the computer and select the drive to load it gets stuck on the boot loader. I swapped everything back and it's working again. I don't know what the problem is here. Do you guys think I should reinstall?

For reference I am running:

Z490 Aorus Ultra

i7 10700k

RX 580

Here is the link to my EFI partition I use in order to get this working.

https://github.com/rayovims/Hackintosh-EFI-Partion

Thank you in advance!

submitted by /u/rayovims
[link] [comments]