Trouble passing through gpu


When I go to start my vm I get a black screen like its about to load then says no input. on my gpu that im trying to passthough.
I have enabled Iommu and SVM in the bios

I have a
MSI MPG x570 Gaming Plus
AMD 3950x
Zotac AMP Extream 1080
Zotac GT710

this is my dmesg when opening the vm

[ 45.456308] kauditd_printk_skb: 30 callbacks suppressed
[ 45.456310] audit: type=1400 audit(1613419589.123:41): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“libvirt-a1ec9021-08a9-4ede-98da-eaf5f192ef38” pid=2126 comm=“apparmor_parser”
[ 45.576902] audit: type=1400 audit(1613419589.240:42): apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“libvirt-a1ec9021-08a9-4ede-98da-eaf5f192ef38” pid=2129 comm=“apparmor_parser”
[ 45.693143] audit: type=1400 audit(1613419589.357:43): apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“libvirt-a1ec9021-08a9-4ede-98da-eaf5f192ef38” pid=2133 comm=“apparmor_parser”
[ 45.808988] audit: type=1400 audit(1613419589.473:44): apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name=“libvirt-a1ec9021-08a9-4ede-98da-eaf5f192ef38” pid=2137 comm=“apparmor_parser”
[ 45.829443] virbr0: port 2(vnet0) entered blocking state
[ 45.829445] virbr0: port 2(vnet0) entered disabled state
[ 45.829496] device vnet0 entered promiscuous mode
[ 45.829632] virbr0: port 2(vnet0) entered blocking state
[ 45.829633] virbr0: port 2(vnet0) entered listening state
[ 45.939086] audit: type=1400 audit(1613419589.606:45): apparmor=“STATUS” operation=“profile_replace” profile=“unconfined” name=“libvirt-a1ec9021-08a9-4ede-98da-eaf5f192ef38” pid=2148 comm=“apparmor_parser”
[ 47.829696] virbr0: port 2(vnet0) entered learning state
[ 48.136087] vfio-pci 0000:2d:00.0: vfio_ecap_init: hiding ecap [email protected]
[ 48.137692] vfio-pci 0000:2d:00.0: BAR 3: can’t reserve [mem 0xd0000000-0xd1ffffff 64bit pref]
[ 48.137947] vfio-pci 0000:2d:00.0: No more image in the PCI ROM
[ 49.838128] virbr0: port 2(vnet0) entered forwarding state
[ 49.838145] virbr0: topology change detected, propagating
[ 50.892085] kvm [2161]: vcpu0, guest rIP: 0x7ffddd56 ignored rdmsr: 0x122
[ 51.028992] vfio-pci 0000:2d:00.0: No more image in the PCI ROM
[ 51.029013] vfio-pci 0000:2d:00.0: No more image in the PCI ROM
[ 56.001170] kvm [2161]: vcpu0, guest rIP: 0x1009243e ignored rdmsr: 0x122

Any help would be great Thanks

you should give me more details. What OS, what settings did you make? output lspci -nnk