diff --git a/docs/general/administration/hardware-acceleration/intel.md b/docs/general/administration/hardware-acceleration/intel.md index bbaa6ff44..845ec1ab7 100644 --- a/docs/general/administration/hardware-acceleration/intel.md +++ b/docs/general/administration/hardware-acceleration/intel.md @@ -656,17 +656,32 @@ This has been tested with LXC 3.0 and may or may not work with older versions. #### LXC On Proxmox -:::note +1. Make sure your GPU is available as a DRI render device on the Proxmox host, e.g. `/dev/dri/renderD128`. + If not, [install the necessary drivers](#debian-and-ubuntu-linux) on the host. -- Jellyfin needs to run in a **privileged** LXC container. +2. **Proxmox VE 8 or Newer**: -- An existing unprivileged container can be converted to a priviledged container by taking a backup and restoring it as priviledged. + Setup a `Device Passthrough` for the render device via the `Resources` section of the web interface. + Be sure to set the correct GID via the advanced options of the dialog, e.g. `989` for the `render` group. + GIDs can be looked up in `/etc/group` inside the LXC. -::: + :::note + + You must be logged in as `root`. Other administrator accounts are not allowed to perform this action. + + ::: -1. Install the required drivers on the Proxmox host. + **Proxmox VE 7 or Older**: + + :::note + + - Jellyfin needs to run in a **privileged** LXC container. + + - An existing unprivileged container can be converted to a privileged container by taking a backup and restoring it as privileged. + + ::: -2. Add your GPU to the container by editing `/etc/pve/lxc/.conf`. + Add your GPU to the container by editing `/etc/pve/lxc/.conf`. You may need to change the GIDs in the examples below to match those used on your host. @@ -682,9 +697,9 @@ This has been tested with LXC 3.0 and may or may not work with older versions. lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file ``` -3. Restart your container and install the required drivers in your container. +3. Restart your container and [install the required drivers in your container](#configure-on-linux-host). -4. Add `jellyfin` user to the `video`, `render` and/or `input` groups depending on who owns the device inside the container. +4. Add the `jellyfin` user to the group you chose in Step 2, i.e. the group that owns the DRI render device inside the LXC. 5. Configure Jellyfin to use QSV or VA-API acceleration and change the default GPU `renderD128` if necessary.