Experiencing system failure after upgrading GPU

I use Fedora.
After upgrading to RX580 from HD 7870 my system started to reboot randomly.
I also reinstalled Fedora after upgrade.

My hardware:
Ryzen 1600 @ stock
Gigabyte Aorus Gaming 5 (the one from IOMMU video, using f8 bios)
8gig ram 2400

Here are (I guess) relevant lines of Problem Reporting:
reason mce: [Hardware Error]: Machine check events logged

backtrace
cmdline BOOT_IMAGE=/boot/vmlinuz-4.14.14-300.fc27.x86_64 root=UUID=080d9b7f-1e6f-44c4-a024-42905409d4ab ro rhgb quiet LANG=en_GB.UTF-8

dmesg
mce: [Hardware Error]: Machine check events logged
[ 0.033026] mce: [Hardware Error]: CPU 3: Machine Check: 0 Bank 5: bea0000000000108
[ 0.033031] mce: [Hardware Error]: TSC 0 ADDR 1ffff9811c0d2 MISC d012000101000000 SYND 4d000000 IPID 500b000000000
[ 0.033035] mce: [Hardware Error]: PROCESSOR 2:800f11 TIME 1518205767 SOCKET 0 APIC 3 microcode 8001126
[ 0.033057] #4 #5 #6
[ 0.037018] mce: [Hardware Error]: Machine check events logged
[ 0.037020] mce: [Hardware Error]: CPU 6: Machine Check: 0 Bank 5: bea0000000000108
[ 0.037024] mce: [Hardware Error]: TSC 0 ADDR 1ffff981133c0 MISC d012000101000000 SYND 4d000000 IPID 500b000000000
[ 0.037028] mce: [Hardware Error]: PROCESSOR 2:800f11 TIME 1518205767 SOCKET 0 APIC 8 microcode 8001126
[ 0.037059] #7 #8 #9 #10 #11

Does your PC work with the old GPU? If it does not, you might have damaged your PCIe slot. Which reminds me, try a different slot^^

I replaced gpus because the old one got fried :c
The thing is that this issue comes up only if using Linux. When using Windows 10 i never had this issue. Only Linux.

Ok, nevermind than, I’m not a Linux guru xD. I ruined my old PC’s PCIe slot when I applied a new thermal paste to my GPU.