Hello all,
I've followed the PocoLoco guide to get the vGPU drivers installed on one of my Proxmox servers, but I'm having a hell of a time getting any VM to start with a mediated device selected. Every so often one will boot, but mostly I'm getting the same error across multiple Windows and Linux VMs on two different Pascal cards. I have a P620 and a P4000. I'm mostly wanting to use the P4000 and eventually remove the P620 if I can get vGPU working. All video related drivers are blacklisted.
The error I'm getting is:
I get proper returns when running
Mdev Type:
Profile Overrides:
Anyone have some ideas on what I can try to get this working?
I've followed the PocoLoco guide to get the vGPU drivers installed on one of my Proxmox servers, but I'm having a hell of a time getting any VM to start with a mediated device selected. Every so often one will boot, but mostly I'm getting the same error across multiple Windows and Linux VMs on two different Pascal cards. I have a P620 and a P4000. I'm mostly wanting to use the P4000 and eventually remove the P620 if I can get vGPU working. All video related drivers are blacklisted.
The error I'm getting is:
Code:
trying to acquire lock...
OK
swtpm_setup: Not overwriting existing state file.
kvm: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/00000000-0000-0000-0000-000000000302,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: vfio 00000000-0000-0000-0000-000000000302: error getting device from group 102: Input/output error
Verify all devices in group 102 are bound to vfio-<bus> or pci-stub and not already in use
stopping swtpm instance (pid 9250) due to QEMU startup error
waited 10 seconds for mediated device driver finishing clean up
actively clean up mediated device with UUID 00000000-0000-0000-0000-000000000302
TASK ERROR: start failed: QEMU exited with code 1
I get proper returns when running
mdevctl types
nvidia-smi
and nvidia-smi vgpu
, so it appears that the 16.9 driver (535.230.02) installed correctly on the host.Mdev Type:
Code:
nvidia-47
Available instances: 12
Device API: vfio-pci
Name: GRID P40-2Q
Description: num_heads=1, frl_config=60, framebuffer=2048M, max_resolution=3840x2160, max_instance=12
Profile Overrides:
Code:
[profile.nvidia-47]
num_displays = 1 # Max number of virtual displays. Usually 1 if you want a simple remote gaming VM
display_width = 3840 # Maximum display width in the VM
display_height = 2160 # Maximum display height in the VM
max_pixels = 8294400 # This is the product of display_width and display_height so 1920 * 1080 = 2073600
cuda_enabled = 1 # Enables CUDA support. Either 1 or 0 for enabled/disabled
#frl_enabled = 1 # This controls the frame rate limiter, if you enable it your fps in the VM get locked to 60fps. Either 1 or 0 for enabled/disabled
framebuffer = 0x74000000
framebuffer_reservation = 0xC000000 # In combination with the framebuffer size
#pci_id = 0x1BB111A3
#pci_device_id = 0x1BB1 # above, these two lines will give you a VM
# with 2GB of VRAM (framebuffer + framebuffer_reservation = VRAM size in bytes).
# See below for some other sizes
#4GB
#framebuffer = 0xEC000000
#framebuffer_reservation = 0x14000000
#[mdev.00000000-0000-0000-0000-000000000204]
#pci_id = 0x1B3011A0
#pci_device_id = 0x1B30
# You can override all the options from above here too. If you want to add more overrides for a new VM, just copy this block and change the VM ID
[vm.302]
frl_enabled = 0
#2GB
framebuffer = 0x74000000
framebuffer_reservation = 0xC000000
Anyone have some ideas on what I can try to get this working?
Last edited: