Skip to content
  • Categories
  • Recent
  • Tags
  • All Topics
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Caint logo. It's just text.
  1. Home
  2. Selfhosted
  3. Proxmox Plex Hardware Acceleration

Proxmox Plex Hardware Acceleration

Scheduled Pinned Locked Moved Selfhosted
6 Posts 5 Posters 7 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M This user is from outside of this forum
    M This user is from outside of this forum
    modeh
    wrote last edited by
    #1

    I recently upgraded my setup from an RPi running DietPi to a Beelink 14 (N150) running Proxmox. So far it’s been fun screwing around with it, creating VMs and LXCs, and getting to learn the ways of Proxmox.

    My latest obstacle, however, was migrating my Plex setup from the RPi to the Beelink, I have created an unprivileged LXC and setup Plex manually. I know there is a Community Helper Script for it but where is the fun in that.

    Anyway, I am trying to enable HW acceleration and can’t seem to passthrough the GPU drivers to the LXC without breaking things (thankfully I have a backup that I always restore to once things break).

    I looked up tutorials online that might help but I can’t seem to find anything applicable, mostly people suggest to just use the Community Helper Script and get it over with. There isn’t much I can learn doing it the easy way.

    Can anyone suggest to me how to go ahead with this or at least point me in the right direction?

    Thank you.

    ShadowS sanguinebrah@lemmy.sdf.orgS N 3 Replies Last reply
    2
    • M modeh

      I recently upgraded my setup from an RPi running DietPi to a Beelink 14 (N150) running Proxmox. So far it’s been fun screwing around with it, creating VMs and LXCs, and getting to learn the ways of Proxmox.

      My latest obstacle, however, was migrating my Plex setup from the RPi to the Beelink, I have created an unprivileged LXC and setup Plex manually. I know there is a Community Helper Script for it but where is the fun in that.

      Anyway, I am trying to enable HW acceleration and can’t seem to passthrough the GPU drivers to the LXC without breaking things (thankfully I have a backup that I always restore to once things break).

      I looked up tutorials online that might help but I can’t seem to find anything applicable, mostly people suggest to just use the Community Helper Script and get it over with. There isn’t much I can learn doing it the easy way.

      Can anyone suggest to me how to go ahead with this or at least point me in the right direction?

      Thank you.

      ShadowS This user is from outside of this forum
      ShadowS This user is from outside of this forum
      Shadow
      wrote last edited by
      #2

      FWIW I did this with jellyfin and ended up just using a vm instead of lxc. This way I could just pass the entire device through, not have to mess with drivers in my proxmox host, and not have to reboot all my vms/lxc just to apply updates.

      M 1 Reply Last reply
      0
      • ShadowS Shadow

        FWIW I did this with jellyfin and ended up just using a vm instead of lxc. This way I could just pass the entire device through, not have to mess with drivers in my proxmox host, and not have to reboot all my vms/lxc just to apply updates.

        M This user is from outside of this forum
        M This user is from outside of this forum
        modeh
        wrote last edited by
        #3

        I can do that no issue, simply thought it could be a good learning experience to use LXCs as I have never used them before.

        R 1 Reply Last reply
        1
        • M modeh

          I recently upgraded my setup from an RPi running DietPi to a Beelink 14 (N150) running Proxmox. So far it’s been fun screwing around with it, creating VMs and LXCs, and getting to learn the ways of Proxmox.

          My latest obstacle, however, was migrating my Plex setup from the RPi to the Beelink, I have created an unprivileged LXC and setup Plex manually. I know there is a Community Helper Script for it but where is the fun in that.

          Anyway, I am trying to enable HW acceleration and can’t seem to passthrough the GPU drivers to the LXC without breaking things (thankfully I have a backup that I always restore to once things break).

          I looked up tutorials online that might help but I can’t seem to find anything applicable, mostly people suggest to just use the Community Helper Script and get it over with. There isn’t much I can learn doing it the easy way.

          Can anyone suggest to me how to go ahead with this or at least point me in the right direction?

          Thank you.

          sanguinebrah@lemmy.sdf.orgS This user is from outside of this forum
          sanguinebrah@lemmy.sdf.orgS This user is from outside of this forum
          sanguinebrah@lemmy.sdf.org
          wrote last edited by
          #4

          I have an N150 proxmox setup as well. I had to enable iommu in the kernel to get pci-e pass through working (intel_iommu=on).

          1 Reply Last reply
          0
          • M modeh

            I can do that no issue, simply thought it could be a good learning experience to use LXCs as I have never used them before.

            R This user is from outside of this forum
            R This user is from outside of this forum
            rumba@lemmy.zip
            wrote last edited by
            #5

            A wprthy cause, but there’s no end of other things to host in LXC. It’s possible, but unpleasant and can be brittle for updates.

            1 Reply Last reply
            0
            • M modeh

              I recently upgraded my setup from an RPi running DietPi to a Beelink 14 (N150) running Proxmox. So far it’s been fun screwing around with it, creating VMs and LXCs, and getting to learn the ways of Proxmox.

              My latest obstacle, however, was migrating my Plex setup from the RPi to the Beelink, I have created an unprivileged LXC and setup Plex manually. I know there is a Community Helper Script for it but where is the fun in that.

              Anyway, I am trying to enable HW acceleration and can’t seem to passthrough the GPU drivers to the LXC without breaking things (thankfully I have a backup that I always restore to once things break).

              I looked up tutorials online that might help but I can’t seem to find anything applicable, mostly people suggest to just use the Community Helper Script and get it over with. There isn’t much I can learn doing it the easy way.

              Can anyone suggest to me how to go ahead with this or at least point me in the right direction?

              Thank you.

              N This user is from outside of this forum
              N This user is from outside of this forum
              non_burglar@lemmy.world
              wrote last edited by non_burglar@lemmy.world
              #6
              1. Nesting=1. This isn’t about virtualizing inside the container, it allows internal resources to access parent resources.

              2. You should only need the cgroup2 entries, but they should be pointing to the correct devices:

              • cgroup2 entries to allow rwm access to the correct device
              • /dev/dri dir and file entries that specify bind,optional,create

              Nvidia example, but quicksync is similar:

              lxc.cgroup2.devices.allow: c 226:0 rwm
              lxc.cgroup2.devices.allow: c 226:128 rwm
              lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
              lxc.mount.entry: /dev/dri/renderD128 dev/renderD128 none bind,optional,create=file
              
              1 Reply Last reply
              0

              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • All Topics
              • Popular
              • World
              • Users
              • Groups