Skip to content

Commit

Permalink
Merge pull request #1085 from jkhsjdhjs/master
Browse files Browse the repository at this point in the history
hardware-acceleration/intel: add updated proxmox docs
  • Loading branch information
felix920506 authored Sep 15, 2024
2 parents aa3b419 + df8fb71 commit a2cb03c
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions docs/general/administration/hardware-acceleration/intel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/<CONTAINER_ID>.conf`.
Add your GPU to the container by editing `/etc/pve/lxc/<CONTAINER_ID>.conf`.

You may need to change the GIDs in the examples below to match those used on your host.

Expand All @@ -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.

Expand Down

0 comments on commit a2cb03c

Please sign in to comment.