Update hardware-acceleration.md

AMD's AMF installation is no longer supported with the current documentation steps. An error is thrown regarding package dependencies / missing packages - depending on what a user tries.

These updated steps rectify that by using the supported method the script now provides. The example command provided installs the Pro variant with AMF for all supported GPUs.
This commit is contained in:
icedterminal 2023-03-05 10:07:53 -08:00 committed by GitHub
parent 9a78159f41
commit 6a53728f78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -538,14 +538,24 @@ You can convert an existing unprivileged container to a privileged container by
### AMD AMF encoding on Ubuntu 18.04 or 20.04 LTS ### AMD AMF encoding on Ubuntu 18.04 or 20.04 LTS
1. Install the `amdgpu-pro` closed source graphics driver by following the [installation instructions](https://amdgpu-install.readthedocs.io/en/latest/). 1. Download the `amdgpu-pro` closed source installer script at https://www.amd.com/en/support
2. Then install `amf-amdgpu-pro`.
```bash ```bash
sudo apt install amf-amdgpu-pro sudo dpkg -i /path/to/amdgpu-pro.deb; apt update
``` ```
2. Then install the Pro variant with AMF
```bash
sudo amdgpu-install -y --usecase=workstation,amf --vulkan=pro --opencl=rocr,legacy --accept-eula --no-32
```
:::info
If your Ubuntu is 32 bit, please remove `--no-32`. Otherwise, on 64 bit the installer will error. Further documentation can be found here: https://amdgpu-install.readthedocs.io/en/latest/
:::
3. Check if `jellyfin-ffmpeg` contains `h264_amf` encoder: 3. Check if `jellyfin-ffmpeg` contains `h264_amf` encoder:
```bash ```bash