Nvidia GPU path through does not work.

vfridman

New Member
Mar 31, 2021
1
0
1
64
I'm trying to path through Nvidia GPU to do some machine leaning work but have no luck. VM is Ubuntu Server 20.04. It starts and RAM usage of the VM immediately goes to 100% and I can't login to it. It does not matter how much RAM I give to it. The interesting thing is that I can usually start this VM right after rebooting physical server, but even in this case it goes bad after couple of hours. Below are parameters this VM:

agent: 1 args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=proxmox,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_synic,hv_stimer,hv_tlbflush,hv_ipi,kvm=off' bios: ovmf boot: order=scsi0;ide2;net0 cores: 60 cpu: host efidisk0: local-zfs:vm-108-disk-0,size=1M hostpci0: 01:00,pcie=1,x-vga=1 ide2: rbshared:iso/ubuntu-20.04.2-live-server-amd64.iso,media=cdrom machine: q35 memory: 247808 name: tachi-k8-1 net0: virtio=F2:82:89:E4:52:59,bridge=vmbr0 numa: 0 onboot: 0 ostype: l26 scsi0: zpool0:vm-108-disk-0,discard=on,size=500G,ssd=1 scsi1: zpool0:vm-108-disk-1,discard=on,size=500G,ssd=1 scsihw: virtio-scsi-pci smbios1: uuid=4438f7c4-1213-4079-acb8-3dcf58d25c3a sockets: 1 vmgenid: 2c6402b2-50e9-472d-a018-e3fda0367591
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!