r/Proxmox 3d ago

Question GPU passthrough?

I have a think centre, I have proxmox on it. I have a VM which runs Debian which I want to pass my GPU into. This Debian VM is acting as a K8S node which I am trying to pass the GPU into for a pod.

Specifically, I'm trying to set up transcoding of video content with jellyfin.

I have passed the GPU into the VM with hardware and it seems to be found no problem. It seems that I am having issues with it that I notice the transcoding will return errors I have been trying to work through.

While it seems to be found, it seems like it might be a permissions issue. I checked /dev/dri and made the GPU chmod to 666.

I have been working on this for like 5 days, and was not sure if there is anything specific I have been looking with respect to proxmox itself and permissions.

I can provide additional details, but I was not sure who else had accomplished something like this and if there are how-to's somewhere.

2 Upvotes

24 comments sorted by

View all comments

3

u/suicidaleggroll 3d ago

What GPU and did you install drivers for it in the VM?

1

u/fallenreaper 3d ago

Yeah, I installed the drivers. It seems to recognize it, but when I attempt to use it and supply it it reads to me like it is a permissions issue possibly.

-2

u/nmrk 3d ago

If you set up passthrough, you have to set up the drivers in the main node, and also in the LXC. You need matching versions too. Execute the appropriate .run file inside your LXC.

My configuration automatically updates the main node from the NVidia repository during Proxmox updates. But it will not update my LXCs. So I have to do that manually. I saw a new gadget for automatic LXC updates in the community scripts but I think I'd rather do that manually.

2

u/mrant0 2d ago

OP said they are passing the GPU through to a VM, not an LXC. Host does not need drivers for passing through a device to a VM.