Mac Pro randomly shutting down
I have member of my household whose Mac Pro 5,1 that recently has been repeatedly shutting down, seemingly at random. It just completely powers off, with no shut down dialog or any other warning. When powered back on, it boots without any apparent issue, and displays no error message or crash log of any kind. The Mac Pro is currently running Mojave 10.14.6, with an MSI Radeon RX 560 instead of the GPU that the machine came with.
We've already tried a couple things to try and isolate the issue:
- Removed/disconnected non-essential components/devices from the computer, like a USB 3.0 PCI-E card and any external backup drives or USB hubs
- Reinstalled Mojave. While it so far has been helping it run faster, it hasn't stopped the shutdown issue. Though we've recently noticed it restarting itself after shutting itself down.
I can't help but wonder if this is a hardware issue, since the computer was hit by a lightning-induced power surge some time ago. While we got it up and running again, I've been told that it hasn't been quite the same since before that happened. It wasn't having this issue before the lighting strike. Unfortunately, I haven't had any success running Apple Hardware Test to check for any anomalies, presumably because the current GPU doesn't have the Mac BIOS and thus doesn't allow for any startup options.
Any tips or troubleshooting guidance would be appreciated. I have access to the computer, so I can get more info from it as needed.
Mac Pro