ok so my GPU (RX 580 4GB) appears to be failing maybe. basically every so often my screen will turn a glitched green / purple / black for a split second. Around the same time I noticed my lights would start flickering. So I put my computer behind a UPS but it's still happening so that rules out spotty power (I think).
So I was potentially thinking buying something like this. https://www.amazon.com/XFX-Speedster-Radeon-Graphics-RX-66XL8LFDQ/dp/B09HHLX543
However, part of it is that I have a 450W PSU which isn't great. I don't wanna put a new GPU in and then the PSU gets fried. My CPU is a Ryzen 5 1400, 16GB of RAM, and a SSD.
No idea if that really matters but those are my other specs. So I guess I'm asking if that GPU will work with my computer and if I'd need a newer PSU. My motherboard is a MSI B350M (https://www.msi.com/Motherboard/B350m-BAZOOKA/support)
I've had this GPU since I got the computer in 2017 so I'm not sure if it's headed towards the gutter. I really don't know what I'm doing so that's why I'm asking here