These are my notes to get AMD ThreadRipper up and running after VFIO setup. I have added Arch PKGBUILD files to build on the latest kernel. I have also added a start script I use.
The biggest tip is to use “Virtual network sound card for Microsoft Windows” that uses ivshmem. Very low latency. Maybe we could add this code to looking-glass.
Giga Designare x399 … The first two slots off the cpu, PCIEX16_1 and PCIEX8_1 just don’t show up in any iommu groups, and their pci bus addresses are “weird” compared to cards in the rest of the slots.
I posted about it a while back, but gave up after getting frustrated and just wanting the rig working. I was able to pass-through a card in PCIEX16_2 but using that slot is not ideal for the layout I want.
The pcie addresses are different in that post. All of mine start with a 42:0:0 instead of 0:0:0 … I found a Linux kernel dev mailing list that explained what is happening but it’s over my head.
feeling masochistic, I booted the latest unraid and wiped the drives on my ripper. GTX 1080 in slot 1, acs override on, vfio-pci.ids excluded … try to pass through, vm hangs at boot. same as it ever was unfortunately.
Any chance of walking through and diagnosing the problem with you?
What BIOS are you on?
Have you enabled SVM, ACS, and IOMMU in the BIOS?
What kernel revision are you using? Has it been patched for ACS override?
What boot/kernel flags are you using? (you need at least amd_iommu=on iommu=pt)
What is the output of dmesg | grep -i -e DMAR -e IOMMU and dmesg | grep AMD-Vi?
What is the output of lspci -tv?
What is the out out of lspci -vv for your GPUs?
What does find /sys/kernel/iommu_groups/ -type l output?
Can you provide your guest XML file?
Logs from dmesg when you run your vm are also appreciated.
Feel free to start your own thread with this info, and I’m happy to run through troubleshooting with you. I would however recommend trying the latest Pop!_OS guide posted by Wendell, as that is fairly helpful.
Thanks for this ! 2950x user here on MEG Creation.
I mostly got a near ideal setup, but there was some pointers in here that were very helpful. I’m using Arch’s Linux 5.2 atm and it’s not playing nice. I’m going to give your kernel a try
Here’s the debug info from months ago when I tried this under Fedora
For whatever reason on my Gigabyte, none of the PCI devices with an address 4x:xx are assigned to an IOMMU group, which includes the first two pcie slots and the m.2 slot