Hardware Acceleration in Linux in Proxmox - eviltoast

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?

  • skittlebrau@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    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.