Skip to content

Commit

Permalink
Update nixos/modules/services/video/frigate.nix
Browse files Browse the repository at this point in the history
Co-authored-by: Atemu <[email protected]>
  • Loading branch information
mweinelt and Atemu authored Nov 22, 2024
1 parent cecc1cd commit f4202be
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions nixos/modules/services/video/frigate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,19 @@ in
default = null;
example = "radeonsi";
description = ''
VA-API driver to use for video acceleration. Use together with `settings.ffmpeg.hwaccel_args`.
Force usage of a particular VA-API driver for video acceleration. Use together with `settings.ffmpeg.hwaccel_args`.
Setting this *is not required* for VA-API to work but it can help steer VA-API towards the correct card if you have multiple.
:::{.note}
You must configure a VA-API driver package for VA-API to work, regardless of this setting.
AMDGPUs require {option}`hardware.graphics.enable` and most Intel GPUs need `pkgs.intel-media-driver` in {option}`hardware.graphics.extraPackages`.
:::
See also:
- https://docs.frigate.video/configuration/hardware_acceleration
- https://docs.frigate.video/configuration/ffmpeg_presets#hwaccel-presets
Requires a VA-API driver to be installed through `hardware.graphics.extraPackages`.
'';
};

Expand Down

0 comments on commit f4202be

Please sign in to comment.