Skip to content

Support for L40S GPU #124

Description

@onebonsai

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions