Hi!
I have trouble getting my nVidia RTX 3060 GPU card passed through to a VM.
I have tried passing it through both to a Linux Mint 20.3 VM and a Windows 10 VM, both with the same result: "Error: Start failed: QEMU exited with code 1".
I am running Proxmox 7.2-7 on a desktop PC from Acer - Nitro N50-620 that has an Intel Core i5-11400F CPU and 48GB of RAM.
The graphics card is an nVidia RTX3060 v2 12G from Asus.
I have followed the instructions on the wiki to isolate the GPU from the host, enabled IOMMU and so forth.
I have added the card as a PCI-device in the respective VM's hardware setup, making sure to use the correct device.
I am not trying to run more than one VM using this at once.
Both attempts (linux and WIndows) fails with the same error. (Both VM's run OK if I remove the PCI-device)
Here is what I get from running the command "journalctl -f" right before I attempt to start the VM:
Here is the configuration file from my Linux Mint VM:
Can someone help me make sense out of this, and point me in the right direction to get this to work or at least give some hints on how to troubleshoot? I am stuck.
I have trouble getting my nVidia RTX 3060 GPU card passed through to a VM.
I have tried passing it through both to a Linux Mint 20.3 VM and a Windows 10 VM, both with the same result: "Error: Start failed: QEMU exited with code 1".
I am running Proxmox 7.2-7 on a desktop PC from Acer - Nitro N50-620 that has an Intel Core i5-11400F CPU and 48GB of RAM.
The graphics card is an nVidia RTX3060 v2 12G from Asus.
I have followed the instructions on the wiki to isolate the GPU from the host, enabled IOMMU and so forth.
I have added the card as a PCI-device in the respective VM's hardware setup, making sure to use the correct device.
I am not trying to run more than one VM using this at once.
Both attempts (linux and WIndows) fails with the same error. (Both VM's run OK if I remove the PCI-device)
Here is what I get from running the command "journalctl -f" right before I attempt to start the VM:
Code:
-- Journal begins at Wed 2022-03-09 23:07:25 CET. --
Aug 20 17:26:23 pve pveproxy[1230]: worker 10796 started
Aug 20 17:36:19 pve pvedaemon[1224]: <root@pam> successful auth for user 'root@pam'
Aug 20 17:37:18 pve pvedaemon[1223]: worker exit
Aug 20 17:37:18 pve pvedaemon[1221]: worker 1223 finished
Aug 20 17:37:18 pve pvedaemon[1221]: starting 1 worker(s)
Aug 20 17:37:18 pve pvedaemon[1221]: worker 12456 started
Aug 20 17:42:14 pve pvedaemon[1222]: worker exit
Aug 20 17:42:14 pve pvedaemon[1221]: worker 1222 finished
Aug 20 17:42:14 pve pvedaemon[1221]: starting 1 worker(s)
Aug 20 17:42:14 pve pvedaemon[1221]: worker 13281 started
Aug 20 17:45:00 pve pvedaemon[1224]: <root@pam> starting task UPID:pve:0000358B:00071065:6301017C:qmstart:108:root@pam:
Aug 20 17:45:00 pve pvedaemon[13707]: start VM 108: UPID:pve:0000358B:00071065:6301017C:qmstart:108:root@pam:
Aug 20 17:45:00 pve systemd[1]: Started 108.scope.
Aug 20 17:45:01 pve systemd-udevd[13747]: Using default interface naming scheme 'v247'.
Aug 20 17:45:01 pve systemd-udevd[13747]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 20 17:45:01 pve kernel: device tap108i0 entered promiscuous mode
Aug 20 17:45:01 pve systemd-udevd[13747]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 20 17:45:01 pve systemd-udevd[13747]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 20 17:45:01 pve systemd-udevd[13746]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 20 17:45:01 pve systemd-udevd[13746]: Using default interface naming scheme 'v247'.
Aug 20 17:45:01 pve kernel: vmbr0: port 3(fwpr108p0) entered blocking state
Aug 20 17:45:01 pve kernel: vmbr0: port 3(fwpr108p0) entered disabled state
Aug 20 17:45:01 pve kernel: device fwpr108p0 entered promiscuous mode
Aug 20 17:45:01 pve kernel: vmbr0: port 3(fwpr108p0) entered blocking state
Aug 20 17:45:01 pve kernel: vmbr0: port 3(fwpr108p0) entered forwarding state
Aug 20 17:45:01 pve kernel: fwbr108i0: port 1(fwln108i0) entered blocking state
Aug 20 17:45:01 pve kernel: fwbr108i0: port 1(fwln108i0) entered disabled state
Aug 20 17:45:01 pve kernel: device fwln108i0 entered promiscuous mode
Aug 20 17:45:01 pve kernel: fwbr108i0: port 1(fwln108i0) entered blocking state
Aug 20 17:45:01 pve kernel: fwbr108i0: port 1(fwln108i0) entered forwarding state
Aug 20 17:45:01 pve kernel: fwbr108i0: port 2(tap108i0) entered blocking state
Aug 20 17:45:01 pve kernel: fwbr108i0: port 2(tap108i0) entered disabled state
Aug 20 17:45:01 pve kernel: fwbr108i0: port 2(tap108i0) entered blocking state
Aug 20 17:45:01 pve kernel: fwbr108i0: port 2(tap108i0) entered forwarding state
Aug 20 17:45:01 pve kernel: vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x1e@0x258
Aug 20 17:45:01 pve kernel: vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x19@0x900
Aug 20 17:45:01 pve kernel: vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x26@0xc1c
Aug 20 17:45:01 pve kernel: vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x27@0xd00
Aug 20 17:45:01 pve kernel: vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x25@0xe00
Aug 20 17:45:01 pve kernel: fwbr108i0: port 2(tap108i0) entered disabled state
Aug 20 17:45:02 pve kernel: fwbr108i0: port 1(fwln108i0) entered disabled state
Aug 20 17:45:02 pve kernel: vmbr0: port 3(fwpr108p0) entered disabled state
Aug 20 17:45:02 pve kernel: device fwln108i0 left promiscuous mode
Aug 20 17:45:02 pve kernel: fwbr108i0: port 1(fwln108i0) entered disabled state
Aug 20 17:45:02 pve kernel: device fwpr108p0 left promiscuous mode
Aug 20 17:45:02 pve kernel: vmbr0: port 3(fwpr108p0) entered disabled state
Aug 20 17:45:02 pve pvedaemon[1224]: VM 108 qmp command failed - VM 108 not running
Aug 20 17:45:02 pve pvedaemon[13707]: start failed: QEMU exited with code 1
Aug 20 17:45:02 pve pvedaemon[1224]: <root@pam> end task UPID:pve:0000358B:00071065:6301017C:qmstart:108:root@pam: start failed: QEMU exited with code 1
Aug 20 17:45:02 pve systemd[1]: 108.scope: Succeeded.
Here is the configuration file from my Linux Mint VM:
Code:
agent: 1
audio0: device=ich9-intel-hda,driver=spice
boot: order=scsi0;net0
cores: 6
hostpci0: 0000:01:00,pcie=1,x-vga=1
machine: q35
memory: 4096
meta: creation-qemu=6.1.1,ctime=1649444193
name: LinuxMint20.3
net0: virtio=2E:46:5D:E0:7D:2F,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-108-disk-0,size=50G
scsihw: virtio-scsi-pci
smbios1: uuid=6cfcaf4d-1537-4a8c-bf0f-bb23d5c00464
sockets: 1
spice_enhancements: foldersharing=1,videostreaming=filter
vga: qxl,memory=64
vmgenid: 14f84aa9-18d0-40a0-840c-0b4809e46c94
Can someone help me make sense out of this, and point me in the right direction to get this to work or at least give some hints on how to troubleshoot? I am stuck.