first time doing a proxmox hackintosh with zero knowledge
i had enabled iommu and the rest just by following https://www.youtube.com/watch?v=DP8fMNUo4KM. after doing that, i was unable to start my VM if i attach my GPU
after reading from https://pve.proxmox.com/wiki/PCI_Passthrough#Verify_IOMMU_is_enabled, i need a dedicated IOMMU group for all PCI devices i want to assign to a VM. my GPU is at group 1 (03:00.0), i have added pcie_acs_override=downstream to /etc/default/grub and my GPU is at group 1
how do i separate my GPU from group 1 and move to a new group? will this work for my hackintosh VM?
and why is my hackintosh VM not working if i add usb 3.0?
somebody please help me... @_@
note: hackintosh is working if i direct install on this pc and i am using gigabyte rx 5500 xt
i had enabled iommu and the rest just by following https://www.youtube.com/watch?v=DP8fMNUo4KM. after doing that, i was unable to start my VM if i attach my GPU
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -name '11.BigSur,debug-threads=on' -no-shutdown -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server=on,wait=off' -mon 'chardev=qmp,mode=control' -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon 'chardev=qmp-event,mode=control' -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=a4ca3031-0d1f-484c-a3a7-84903e53318c' -drive 'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE_4M.secboot.fd' -drive 'if=pflash,unit=1,id=drive-efidisk0,format=raw,file=/dev/pve/vm-100-disk-0,size=540672' -smp '8,sockets=1,cores=8,maxcpus=8' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga none -nographic -cpu 'Penryn,enforce,kvm=off,+kvm_pv_eoi,+kvm_pv_unhalt,vendor=GenuineIntel' -m 16384 -object 'iothread,id=iothread-virtio0' -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device 'vmgenid,guid=5b0318ef-0888-4461-9ab9-6930845f71d5' -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'vfio-pci,host=0000:03:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,multifunction=on' -device 'vfio-pci,host=0000:03:00.1,id=hostpci0.1,bus=ich9-pcie-port-1,addr=0x0.1' -device 'usb-host,hostbus=1,hostport=7,id=usb0' -device 'usb-host,hostbus=1,hostport=8,id=usb1' -device 'usb-host,hostbus=1,hostport=9.4,id=usb2' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:2cde7826cd89' -drive 'file=/dev/pve/vm-100-disk-1,if=none,id=drive-virtio0,cache=unsafe,format=raw,aio=io_uring,detect-zeroes=on' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,iothread=iothread-virtio0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'vmxnet3,mac=06:1C:07:1C:98:C7,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=101' -machine 'type=q35+pve0' -device 'isa-applesmc,osk=ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc' -smbios 'type=2' -device 'usb-kbd,bus=ehci.0,port=2' -cpu 'host,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc'' failed: got timeout
after reading from https://pve.proxmox.com/wiki/PCI_Passthrough#Verify_IOMMU_is_enabled, i need a dedicated IOMMU group for all PCI devices i want to assign to a VM. my GPU is at group 1 (03:00.0), i have added pcie_acs_override=downstream to /etc/default/grub and my GPU is at group 1
root@pve:~# find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/7/devices/0000:00:1d.0
/sys/kernel/iommu_groups/5/devices/0000:00:1b.0
/sys/kernel/iommu_groups/3/devices/0000:00:16.0
/sys/kernel/iommu_groups/1/devices/0000:03:00.0
/sys/kernel/iommu_groups/1/devices/0000:02:00.0
/sys/kernel/iommu_groups/1/devices/0000:00:01.0
/sys/kernel/iommu_groups/1/devices/0000:01:00.0
/sys/kernel/iommu_groups/1/devices/0000:03:00.1
/sys/kernel/iommu_groups/8/devices/0000:00:1f.0
/sys/kernel/iommu_groups/8/devices/0000:00:1f.5
/sys/kernel/iommu_groups/8/devices/0000:00:1f.3
/sys/kernel/iommu_groups/8/devices/0000:00:1f.4
/sys/kernel/iommu_groups/6/devices/0000:00:1c.0
/sys/kernel/iommu_groups/4/devices/0000:00:17.0
/sys/kernel/iommu_groups/2/devices/0000:00:14.2
/sys/kernel/iommu_groups/2/devices/0000:00:14.0
/sys/kernel/iommu_groups/10/devices/0000:06:00.0
/sys/kernel/iommu_groups/0/devices/0000:00:00.0
/sys/kernel/iommu_groups/9/devices/0000:05:00.0
how do i separate my GPU from group 1 and move to a new group? will this work for my hackintosh VM?
and why is my hackintosh VM not working if i add usb 3.0?
somebody please help me... @_@
note: hackintosh is working if i direct install on this pc and i am using gigabyte rx 5500 xt
Last edited: