From da5cf1867b1c9c150e0334142f766b217c333095 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 2 Dec 2023 20:15:43 -0700 Subject: [PATCH] Clarify radeon env variable (#8809) * Clarify radeon env variable * Make note consistent for intel as well --- docs/docs/configuration/hardware_acceleration.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/docs/configuration/hardware_acceleration.md b/docs/docs/configuration/hardware_acceleration.md index 7f5e69108..ad9d27211 100644 --- a/docs/docs/configuration/hardware_acceleration.md +++ b/docs/docs/configuration/hardware_acceleration.md @@ -49,7 +49,11 @@ ffmpeg: hwaccel_args: preset-vaapi ``` -**NOTICE**: With some of the processors, like the J4125, the default driver `iHD` doesn't seem to work correctly for hardware acceleration. You may need to change the driver to `i965` by adding the following environment variable `LIBVA_DRIVER_NAME=i965` to your docker-compose file or [in the `frigate.yaml` for HA OS users](advanced.md#environment_vars). +:::note + +With some of the processors, like the J4125, the default driver `iHD` doesn't seem to work correctly for hardware acceleration. You may need to change the driver to `i965` by adding the following environment variable `LIBVA_DRIVER_NAME=i965` to your docker-compose file or [in the `frigate.yaml` for HA OS users](advanced.md#environment_vars). + +::: ### Via Quicksync (>=10th Generation only) @@ -137,7 +141,11 @@ Depending on your OS and kernel configuration, you may need to change the `/proc VAAPI supports automatic profile selection so it will work automatically with both H.264 and H.265 streams. -**Note:** You also need to set `LIBVA_DRIVER_NAME=radeonsi` as an environment variable on the container. +:::note + +You need to change the driver to `radeonsi` by adding the following environment variable `LIBVA_DRIVER_NAME=radeonsi` to your docker-compose file or [in the `frigate.yaml` for HA OS users](advanced.md#environment_vars). + +::: ```yaml ffmpeg: