RX570 Passthrough seems to work but 3d acceleration wont init

Hey all,
I built a Ryzen 9 3950x rig to try and cut the last bit of bare metal windows out of my life, because why not. Well following all the docs I can find on the subject I have it mostly working. Windows boots on the card it seems to work but when ever I start a game if it requires any sort of 3D acceleration features it either crashes or tells me “Could not initialize graphics card”, if it does start its in software acceleration mode and slower than slow. I was wondering if anyone has bumped into this and could give me some tips. Everything is in its own IOMMU group I have ACS, SVM, and IOMMU on in the firmware, and I am just plain out of ideas.

Specs:

  • Ryzen 9 3950X
  • Gigabyte X570 AORUS Master
  • AMD FirePro W2100 (Host, PCIE slot 1)
  • AMD Radeon RX570 (Passthrough, bound to vfio-pcim PCIE Slot 2)
  • Saberent Rocket (Passthrough)
  • Arch Linux (Linux beast 5.12.1-arch1-1 #1 SMP PREEMPT Sun, 02 May 2021 12:43:58 +0000 x86_64 GNU/Linux)

libvirt XML: https://pastebin.com/raw/Y2PxbvYN
Dmesg: http://ix.io/3lYn
The USB detachments and attachments in the dmesg are me starting the VM and stopping it since im just abusing USB passthrough for now until I get a USB controller to passthrough.

1 Like