Support for L40S GPU
onebonsai opened this issue · 0 comments
Hi!
I am trying to get L40S GPUs working on Proxmox 8. While they are working fine as passthrough, I would like vGPU support.
I think I am 90% there, and that the last piece in the puzzle is setting up the actual vGPU profiles using code similar to your vgpu_unlock_hooks.c | static vgpu_unlock_vgpu_t vgpu_unlock_vgpu[]
function.
Using /usr/share/nvidia/vgpu/vgpuConfig.xml
, I am able to find the dev_id and subsys_id. I can add the following line to the function:
VGPU(0x26b9, 0x188d, "NVIDIA L40S-2Q"),
and to vgpu_unlock_pci_devid_to_vgpu_capable I add:
/* L40S */
case 0x2601 ... 0x271D:
return 0x26b9; /* L40S */
}
However, this does still result (after cargo build and reboot) in
root@pve:~# mdevctl types
root@pve:~#
I think I did all the other steps correctly. Do I have to add additional lines to the vgpu_unlock_hooks code?