I tested the video card on this Intel motherboard I had socket 775 (old), and the card ran fine. So I installed it again on the MSI Z270 and it its mining just fine, it doesn't appear to have been damaged. So I don't know what caused that spark and the smell but it is running fine now