Greetings,
I have 2 GPUs with same vendor ID but different memory and brand.
I can't make them both work on 2VMs(win10,linux). Its always that it is working only when one VM is off and one is on. Otherwise Windows 10 and Linux both see each gpu correctly.
Error when turning on second VM(linux):
Win conf:
Linux conf:
I have 2 GPUs with same vendor ID but different memory and brand.
I can't make them both work on 2VMs(win10,linux). Its always that it is working only when one VM is off and one is on. Otherwise Windows 10 and Linux both see each gpu correctly.
Error when turning on second VM(linux):
Code:
TASK ERROR: start failed: command '/usr/bin/kvm -id 104 -name 'vulcan,debug-threads=on' -no-shutdown -chardev 'socket,id=qmp,path=/var/run/qemu-server/104.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/104.pid -daemonize -smbios 'type=1,uuid=dff6acff-84da-4212-9bb5-79fd38a1a9f9' -drive 'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' -drive 'if=pflash,unit=1,format=raw,id=drive-efidisk0,size=131072,file=/dev/zvol/vms/vm-104-disk-0' -global 'ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off' -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/104.vnc,password=on' -cpu kvm64,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep -m 8192 -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device 'vmgenid,guid=f0f7a2bf-f245-4bbd-b0b3-8aedba67adb1' -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'vfio-pci,host=0000:06:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,multifunction=on,romfile=/usr/share/kvm/gt710ddr5new.rom' -device 'vfio-pci,host=0000:06:00.1,id=hostpci0.1,bus=ich9-pcie-port-1,addr=0x0.1' -device 'VGA,id=vga,bus=pcie.0,addr=0x1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:b61aadf3b61e' -device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' -drive 'file=/dev/zvol/vms/vm-104-disk-1,if=none,id=drive-scsi0,format=raw,cache=none,aio=io_uring,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,rotation_rate=1,bootindex=100' -device 'ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7' -drive 'if=none,id=drive-sata0,media=cdrom,aio=io_uring' -device 'ide-cd,bus=ahci0.0,drive=drive-sata0,id=sata0,bootindex=102' -netdev 'type=tap,id=net0,ifname=tap104i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=2A:7F:3D:A3:53:B8,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1024,tx_queue_size=1024,bootindex=101' -netdev 'type=tap,id=net1,ifname=tap104i1,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=92:60:1E:A2:B3:EB,netdev=net1,bus=pci.0,addr=0x13,id=net1,rx_queue_size=1024,tx_queue_size=1024' -machine 'type=q35+pve0'' failed: got timeout
Code:
IOMMU Group 57 03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1)
IOMMU Group 58 03:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
IOMMU Group 59 06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1)
IOMMU Group 60 06:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
Code:
06:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. GT710-SL-1GD5
Physical Slot: 2
Flags: bus master, fast devsel, latency 0, IRQ 87, NUMA node 0, IOMMU group 59
Memory at 93000000 (32-bit, non-prefetchable) [size=16M]
Memory at 39ff0000000 (64-bit, prefetchable) [size=128M]
Memory at 39ff8000000 (64-bit, prefetchable) [size=32M]
I/O ports at 2000 [size=128]
Expansion ROM at 94080000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
03:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] GK208B [GeForce GT 710]
Physical Slot: 1
Flags: fast devsel, IRQ 16, NUMA node 0, IOMMU group 57
Memory at 95000000 (32-bit, non-prefetchable) [size=16M]
Memory at 39fe0000000 (64-bit, prefetchable) [size=128M]
Memory at 39fe8000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at 96080000 [virtual] [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
Win conf:
Code:
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off' -machine 'max-ram-below-4g=1G,kernel_irqchip=on'
balloon: 0
bios: ovmf
boot: order=virtio0;ide2;sata0
cores: 4
cpu: host,hidden=1,flags=+pcid
efidisk0: vms:vm-102-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
hostpci0: 0000:03:00,pcie=1,romfile=gt7101gnew.bin
machine: pc-q35-6.2
memory: 8192
meta: creation-qemu=7.1.0,ctime=1673976195
name: win10
net0: virtio=3E:A9:68:F3:78:28,bridge=vmbr0,firewall=1
net1: virtio=EE:6A:4C:D3:19:AE,bridge=vmbr2,firewall=1
numa: 0
ostype: win10
sata0: none,media=cdrom
scsihw: virtio-scsi-single
smbios1: uuid=079631b6-1c98-4e2d-ae5a-287a0845cfd3
sockets: 1
virtio0: vms:vm-102-disk-1,size=70G
vmgenid: 162955d9-f3fd-47c6-b8fd-c278dd96040d
Linux conf:
Code:
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off' -machine 'max-ram-below-4g=1G,kernel_irqchip=on'
bios: ovmf
boot: order=scsi0;net0;sata0
cores: 4
efidisk0: vms:vm-104-disk-0,size=1M
hostpci0: 0000:06:00,pcie=1,romfile=gt710ddr5new.rom
machine: q35
memory: 8192
name: vulcan
net0: virtio=2A:7F:3D:A3:53:B8,bridge=vmbr0
net1: virtio=92:60:1E:A2:B3:EB,bridge=vmbr2
numa: 0
ostype: l26
sata0: none,media=cdrom
scsi0: vms:vm-104-disk-1,size=32G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=dff6acff-84da-4212-9bb5-79fd38a1a9f9
sockets: 1
vmgenid: f0f7a2bf-f245-4bbd-b0b3-8aedba67adb1