Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for L40S GPU #124

Open
onebonsai opened this issue Aug 17, 2024 · 0 comments
Open

Support for L40S GPU #124

onebonsai opened this issue Aug 17, 2024 · 0 comments

Comments

@onebonsai
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant