GPU passthrough both graphics cards got the same device ID

Hi
I’m attempting GPU passthrough in Fedora 29 but when I try to isolate one of my GPU I get the same Device ID for both cards. How can I solve this?

here’s my hardware

2950x
MSI MEG CREATION
RX 590
RX 570 (the one that I’d like to pass through)
64gb

You can try post-boot unbinding and rebinding to vfio.

Replace $device-address with the adress such as 42:00.0 that you want to change. Either modprobe vfio-pci or add it to your initramfs.
echo $device-address > /sys/bus/pci/devices/$device-address/driver/unbind

echo $device-address > /sys/bus/pci/drivers/vfio-pci/bind

2 Likes