Proxmox 7.3 RTX3060 passthrough not working

adl

New Member
Dec 3, 2022
2
0
1
Intel i3-10100f 16gb RAM RTX3060
installed lastest Proxmox 7.3.
Have VM Windows 10 Pro...work perfect but if add PCI GPU RTX3060 to passthrough PVE booting with error
swtpm_setup: Not overwriting existing state file.
TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -name 'Win10,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=f93b7b5d-9246-4f76-a3f9-81b7854e9bae' -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,format=raw,id=drive-efidisk0,size=540672,file=/dev/pve/vm-100-disk-0' -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc 'unix:/var/run/qemu-server/100.vnc,password=on' -no-hpet -cpu 'host,hv_ipi,hv_relaxed,hv_reset,hv_runtime,hv_spinlocks=0x1fff,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vendor_id=proxmox,hv_vpindex,kvm=off,+kvm_pv_eoi,+kvm_pv_unhalt' -m 16384 -object 'iothread,id=iothread-virtioscsi0' -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device 'vmgenid,guid=b255433c-e5e8-43be-aaec-47b99a70464a' -device 'qemu-xhci,p2=15,p3=15,id=xhci,bus=pci.1,addr=0x1b' -device 'vfio-pci,host=0000:01:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,multifunction=on' -device 'vfio-pci,host=0000:01:00.1,id=hostpci0.1,bus=ich9-pcie-port-1,addr=0x0.1' -chardev 'spicevmc,id=usbredirchardev0,name=usbredir' -device 'usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=xhci.0,port=1' -chardev 'socket,id=tpmchar,path=/var/run/qemu-server/100.swtpm' -tpmdev 'emulator,id=tpmdev,chardev=tpmchar' -device 'tpm-tis,tpmdev=tpmdev' -device 'qxl-vga,id=vga,vgamem_mb=128,ram_size_mb=512,vram_size_mb=256,bus=pcie.0,addr=0x1' -device 'virtio-serial,id=spice,bus=pci.0,addr=0x9' -chardev 'spicevmc,id=vdagent,name=vdagent' -device 'virtserialport,chardev=vdagent,name=com.redhat.spice.0' -spice 'tls-port=61000,addr=127.0.0.1,tls-ciphers=HIGH,seamless-migration=on' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:d6bd26cb1bbb' -drive 'file=/var/lib/vz/template/iso/virtio-win-0.1.225.iso,if=none,id=drive-ide0,media=cdrom,aio=io_uring' -device 'ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=103' -drive 'file=/var/lib/vz/template/iso/Win10_22H2_x64.iso,if=none,id=drive-ide2,media=cdrom,aio=io_uring' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=101' -device 'virtio-scsi-pci,id=virtioscsi0,bus=pci.3,addr=0x1,iothread=iothread-virtioscsi0' -drive 'file=/dev/pve/vm-100-disk-1,if=none,id=drive-scsi0,format=raw,cache=none,aio=io_uring,detect-zeroes=on' -device 'scsi-hd,bus=virtioscsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=36:77:6E:0A:AD:74,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1024,tx_queue_size=1024,bootindex=102' -rtc 'driftfix=slew,base=localtime' -machine 'type=pc-q35-7.1+pve0' -global 'kvm-pit.lost_tick_policy=discard'' failed: got timeout

Can you help me.
Errors in Dmesg and journalctl not found. TPM

bios: ovmf boot: order=scsi0;ide2;net0;ide0 cores: 4 cpu: host efidisk0: local-lvm:vm-100-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M hostpci0: 0000:01:00,pcie=1,x-vga=1 ide0: local:iso/virtio-win-0.1.225.iso,media=cdrom,size=519590K ide2: local:iso/Win10_22H2_x64.iso,media=cdrom,size=5673298K machine: pc-q35-7.1 memory: 16384 meta: creation-qemu=7.1.0,ctime=1669888385 name: Win10 net0: virtio=36:77:6E:0A:AD:74,bridge=vmbr0,firewall=1 numa: 0 ostype: win10 scsi0: local-lvm:vm-100-disk-1,iothread=1,size=128G scsihw: virtio-scsi-single smbios1: uuid=f93b7b5d-9246-4f76-a3f9-81b7854e9bae sockets: 1 tpmstate0: local-lvm:vm-100-disk-2,size=4M,version=v2.0 usb0: spice vga: qxl,memory=128 vmgenid: b255433c-e5e8-43be-aaec-47b99a70464a
 
Intel i3-10100f 16gb RAM RTX3060
memory: 16384
A time-out without other errors usually indicates not enough memory free for the VM. When using PCI(e) passthrough, all VM memory must be pinned into actual host memory. Your system appears to have only 16GB and you are trying to start the VM with 16GB. That won't fit. Try starting it with 4 or 8GB.