this post was submitted on 06 Mar 2024
41 points (97.7% liked)

Selfhosted

39964 readers
236 users here now

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!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 8 months ago* (last edited 8 months ago) (4 children)

Check out the following link - I am pretty sure its what I used to get it all working.

https://3os.org/infrastructure/proxmox/gpu-passthrough/igpu-passthrough-to-vm/

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

There’s no need for adding all of those flags to your kernel command line - just the ones below will do the job:

intel_iommu=on iommu=pt video=efifb:off modprobe.blacklist=snd_hda_intel,snd_hda_codec_hdmi,i915

OP just needs to be aware that turning off the EFI framebuffer as above will result in no video output for the Proxmox host.

If you need further IOMMU group separation and your motherboard doesn’t support ACS, then you can add:

pcie_acs_override=downstream

If you run into problems with booting Proxmox, then you can simply remove the lines above at boot and then troubleshoot after.

[–] [email protected] 1 points 8 months ago

Thanks for this! Looking forward to trying it out!

[–] [email protected] 1 points 8 months ago

So this definitely seems like the guide that helped the most. I spent more hours than I would like to admit working on this over this weekend.

I am trying to figure out if I have a way to do what I want to here. When it was all said and done I could no longer log into the remote computer I was using to run my Jellyfin server. I have been messing around a little bit using a Linux PC with that, and enjoyed that aspect of things, but it seems like once you get hardware acceleration going, you cannot see the desktop anymore. There were several warnings about this so I wasn't entirely surprised when it happened.

I think I am going to end up needing to get rid of the proxmox part, and just run Linux directly on the computer if I want to do this, and remote into it. It is currently not hooked up to a monitor and is actually on top of my kitchen cabinets out of the way. It was a fun challenge and I learned a lot I think.

[–] [email protected] 1 points 8 months ago

second to this, and to add on that while it's gotten easier (and yes, even with this guide, it's much easier than it used to be) back up your system. Hopefully nothing goes wrong, but you are messing with the kernel, make sure you're mentally prepared to have to build it all from the ground up.