5700xt no signal on macOS single-gpu passthrough

Hey everyone, I’m new to the whole pci passthrough stuff and I’m really out of ideas on how to continue debugging my issue. I used the OSX-KVM repo on github to create my macOS vm and add it to virt-manager. I am using these passthrough scripts for single gpu passthrough from gitlab /risingprismtv/single-gpu-passthrough and I also followed this guide /watch?v=VA_8D8JjnlE

I am running manjaro i3wm on an asus strix b550-f gaming with an XFX 5700xt thicc III ultra and a 3900X

This is what I have in my /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet cryptdevice=UUID=XXX root=/dev/mapper/XXX apparmor=1 security=apparmor resume=/dev/mapper/XXX udev.log_priority=3 amd_iommu=on iommu=pt quiet vfio-pci.disable_idle_d3=1 video=vesafb:off,efifb:off"
(I removed the UUIDs for readability)

yesterday I had this in my /var/log/libvirt/qemu/macOS.log

2021-04-04T18:05:14.878882Z qemu-system-x86_64: warning: host doesn’t support requested feature: CPUID.01H:ECX.pcid [bit 17]
2021-04-04T18:05:14.879771Z qemu-system-x86_64: warning: host doesn’t > support requested feature: CPUID.01H:ECX.pcid [bit 17]
2021-04-04T18:05:14.880372Z qemu-system-x86_64: warning: host doesn’t support requested feature: CPUID.01H:ECX.pcid [bit 17]
2021-04-04T18:05:14.880966Z qemu-system-x86_64: warning: host doesn’t support requested feature: CPUID.01H:ECX.pcid [bit 17]
2021-04-04T18:05:17.420924Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2021-04-04T18:05:17.434211Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2021-04-05 14:01:17.797+0000: shutting down, reason=failed

I tried changing my grub parameters (as shown above) but still every time I start my vm I don’t get a signal to my monitor. Also you can see the macOS.log entry with the D3 error is from yesterday. Now when I start the vm I only get one line of log ouput 2021-04-05 16:29:14.551+0000: shutting down, reason=failed

I also had a gtx 650 in my system as a host gpu because I tried it without single gpu passthrough first but I couldn’t get that to work so then I tried single gpu passthrough (still with the 650 installed). Had the problems I mentioned above, and now I took out the gtx 650 because I thought it might be causing an issue with the gpu not being able to correctly connect to the vm but since I took the 650 out my lightdm won’t start anymore for some reason on boot of the host os. I have to go to another TTY and start it manually now. I’ve been at this for 2 days and I don’t know what the problem could be since the logs also aren’t showing any recent information. I also tried installing vendor-reset but I don’t think I installed it correctly anyways because it isn’t showing up with lsmod. I hope somebody can help my rambling ass and save my sanity.

1 Like

Welcome! I bumped your level so you can post links.