Comment on Hardware Acceleration in Linux in Proxmox
possiblylinux127@lemmy.zip 10 months ago
Don’t do that. Run Jellyfin in its own VM with a GPU passed though via pcie passthough.
Comment on Hardware Acceleration in Linux in Proxmox
possiblylinux127@lemmy.zip 10 months ago
Don’t do that. Run Jellyfin in its own VM with a GPU passed though via pcie passthough.
areyouevenreal@lemm.ee 10 months ago
That’s going to be almost impossible to do with an iGPU. Makes way more sense to pass through to LXC.
possiblylinux127@lemmy.zip 10 months ago
It takes about 2-3min. What do you mean impossible? LXC is likely faster but it takes more setup.
areyouevenreal@lemm.ee 10 months ago
2-3 clicks? That’s hilarious!
These are the steps it actually takes: 3os.org/infrastructure/…/igpu-passthrough-to-vm/
That’s the best case scenario where it actually works without significant issues, which I am told is rarely the case with iGPUs.
In my case it was considerably more complicated as I have two GPUs from Nvidia (one used for host display outout), so I needed to block specific IDs rather than whole kernel modules.
Plus you lose display access to the Proxmox server which is important if anything goes wrong. You can also only passthrough to one VM at a time. Compared to using LXC you can passthrough to almost unlimited containers, and still have display output for the host system. It almost never makes sense to use PCIe passthrough on an iGPU.
The reason to do passthrough is for gaming on Windows VMs. Another reason is because Nvidia support on Proxmox is poor.
This is a guide to do passthrough with LXC: blog.kye.dev/proxmox-gpu-passthrough
It’s actually a bit less complicated for privileged LXC, as they are having to work around the restrictions of unprivileged LXC containers.
possiblylinux127@lemmy.zip 10 months ago
Its always worked well for me. I passthough my dedicated graphics and USB controller to a Pop os VM and then the integrated graphics to the Jellyfin VM. I initially had to enable virtualization extensions and for the dedicated graphics there was a bit more setup but for the most part it is reasonable.