I have a used Lenovo Thinkcenter 910 with a i5 7500T running Proxmox with Linux Mint in one VM and Adguard running in another. I’m just getting started so I am reading/searching for tons of answers still

I was hoping to host Jellyfin within Linux Mint. It works pretty well, but I did notice while watching a movie the CPU was pretty well pegged out. I wanted to enable hardware based acceleration but when I started reading setup guides to hope to understand what I was doing, I think I may have painted myself into a corner already.

I think I need to tell Proxmox to pass the hardware acceleration on to Linux, and then get Linux to, but also some of the things I have read make it sound like I need to have set up the VM from the beginning this way.

Am I trying to do this the hard way somehow? Does anyone have any suggestions on the best guide to follow for this?

1 point

Don’t do that. Run Jellyfin in its own VM with a GPU passed though via pcie passthough.

permalink
report
reply
2 points

That’s going to be almost impossible to do with an iGPU. Makes way more sense to pass through to LXC.

permalink
report
parent
reply
1 point
*

It takes about 2-3 clicks. What do you mean impossible? LXC is likely faster but it takes more setup.

permalink
report
parent
reply
1 point

2-3 clicks? That’s hilarious!

These are the steps it actually takes: https://3os.org/infrastructure/proxmox/gpu-passthrough/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: https://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.

permalink
report
parent
reply
-2 points
Deleted by creator
permalink
report
reply
3 points

I did this recently and I wish I could answer you, but I’m on mobile and don’t remember exactly what got it working. I also referenced the guide linked below, along with the proxmox documentation.

If you start blacklisting drivers, you’ve gone too far for passing through Intel quicksync. I think I’m the end it was a pretty basic config, like checking motherboard settings and adding text to the grub config.

Also don’t guides say you have to use q35 as the machine type for the VM, but that didn’t work for me. Only 440fx works for me.

permalink
report
reply
10 points
*

Proxmox has an official guide on how to do this, which inlcudes these examples.

There’s also a video from Jim’s Garage where he sets up GPU passthrough in an unprivileged LXC container within proxmox.

See if any of that helps.

permalink
report
reply
1 point

Here is an alternative Piped link(s):

GPU passthrough in an unprivileged LXC conatiner

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I’m open-source; check me out at GitHub.

permalink
report
parent
reply
1 point

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
LXC Linux Containers
PCIe Peripheral Component Interconnect Express

[Thread #584 for this sub, first seen 9th Mar 2024, 13:25] [FAQ] [Full list] [Contact] [Source code]

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 5.2K

    Monthly active users

  • 3.5K

    Posts

  • 76K

    Comments