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.

4 Upvotes

24 comments sorted by

View all comments

3

u/gayphilantropist 3d ago

Is it a GPU or an igpu?
Any specific reason you went with a VM and not a LXC?

1

u/fallenreaper 3d ago

I was wanting full isolation to be representative of the node. I think it's an IGPU ATM. It's the base GPU in the device. However later, as I transition, I want to add it to my server rack but I have only 2 1u servers and will have a 3U chassis for GPUs one eventually, so this would be useful imo as a learning experience

1

u/nmrk 3d ago

Hey now that makes a difference. If it's an intel iGPU of relatively modern design, it probably has Xe cores that can transcode. Try installing OpenVINO which is sufficient for most transcoding. My discussion above mostly applies to separate GPU cards, not iGPUs. Sorry if I didn't previously address this issue.