Recently, I've just become an RX 5700 xt user, with the same issues, but for me the keyboard and the mouse also dies after those errors. ( There is a Caps Lock indicator led, but after the error I can't toggle it, (but it gets power) ) Can I help you somehow? (Unfortunately, I've got no idea how can I patch a kernel module on Arch.)