| VFIO works with my other VMs. I've set up macOS in Proxmox/qemu w/ gpu pass-through and 3d acceleration a few times. Most recently was a few months ago, but I stopped short of 3D acceleration. Today, I wanted to start working on the 3D, after not using the VM for a couple of months, but after starting the vm, the screen was blank. I started to mess with my settings, and a few more stop/start cycles later I realized that I had a powered down secondary monitor connected to the GPU over displayport, which caused no signal to my main display. (I'm mentioning this on the off chance it could be relevant). So I unplug the secondary monitor, revert my settings, and suddenly, when passing through my gpu, the vm hangs at the Apple logo w/ 0% on the progress bar. See the included image of verbose boot. I can succesfully boot when using only the virtual console, so it's definitely a vfio problem, and more specifically a vfio+macos, since as I mentioned other vms work fine w/ gpu pass-through. Initially I installed macos 12 with the Penryn cpu type (it might have been on Proxmox 7.X which has a 5.x kernel) but had to change it to haswell-noTSX to install ventura. Now, neither make a difference. Incidentally, I'm now using proxmox 8.x (6.2.x kernel). This is the guide i followed originally: https://computingforgeeks.com/how-to-run-macos-on-proxmox-ve/ Here is a guide for Proxmox 8 and Ventura: https://techantidote.com/install-macos-ventura-on-proxmox-8-x/ This is my vmid.conf: ''' args: -device isa-applesmc,osk="pleasesteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on args: -device isa-applesmc,osk="pleasesteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu Haswell,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+fma4,+bmi1,+bmi2,+xsave,+xsaveopt,+rdrand,checkballoon: 0 bios: ovmf boot: order=virtio0;net0 cores: 4 cpu: Penryn efidisk0: nvme0:1003/vm-1003-disk-0.qcow2,efitype=4m,size=528K hostpci0: 0000:0b:00.0,pcie=1,x-vga=1 hostpci1: 0000:0b:00.1,pcie=1 hostpci2: 0000:0c:00.3,pcie=1 machine: q35 memory: 32768 meta: creation-qemu=8.0.2,ctime=1692989221 name: macOS net0: virtio=5A:FF:97:6F:D3:78,bridge=vmbr0 numa: 0 ostype: other scsihw: virtio-scsi-pci smbios1: uuid=787e4cb2-1e1b-42bf-979a-8fe22e58a24c sockets: 1 vga: none virtio0: nvme0:1003/vm-1003-disk-1.qcow2,cache=unsafe,discard=on,iothread=1,size=128G vmgenid: ce0e5566-8a1a-42d9-bf59-9d32f508404f ''' As you can see, I'm messing with two different invocations of args. Depending on the CPU I select in args and in the "cpu:" serring, I either hang at the Apple logo, or crash/restart early on. Thanks for reading, any help appreciated [link] [comments] |
Qemu macOS gpu pass-through suddenly stops working
hackintosh
--
Post a Comment