GPU multiple virtual machines

mishki

Well-Known Member
May 1, 2020
74
11
48
38
Virtual Environment 6.4-6
PVE 5.11.17-1
PRIMERGY RX2540 M5
2 CARDS: Quadro RTX 6000


Is there a way to use GPU for multiple virtual machines? If so, which is the best way to use it?:

1. Citrix or Horizon inside Proxmox, is it possible?

2. Can or how can I use it? https://www.techpowerup.com/280454/...rtual-machines-on-consumer-grade-geforce-gpus

3. SR-IOV? How to use it? Do I need a special driver installed in the proxmox? Need a license, maybe trial for test?

4. Is this possible with Deskpool? https://www.deskpool.com

5. Another way?


I am using successfully GPU PCIe Passthrough, but only for 1 VM. (or 2 VM for each card)

qm config 820
agent: 1
bios: ovmf
boot: order=scsi0
cores: 4
efidisk0: ssdlvm:vm-820-disk-1,size=4M
hostpci0: 18:00,pcie=1,x-vga=1
machine: pc-q35-5.2
memory: 16384
name: w10showdesktop
net0: virtio=E6:F2:98:4A:46:2B,bridge=vmbr0,firewall=1
numa: 1
ostype: win10
scsi0: ssdlvm:vm-820-disk-0,backup=0,cache=writeback,discard=on,iothread=1,replicate=0,size=50G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=c2a9352c-637c-4d0b-998d-3cadf3e9d19d
sockets: 2
vga: virtio
 
As far as I know you can't do that. SR-IOV should work in theory but its buggy and I think no one got that working properly.