From 594ca3a04b8d79f7ead1ad35c265bcce22e4dc5f Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 1 Oct 2024 07:27:41 -0600 Subject: [PATCH] Don't assume single render device is D128 (#14091) --- frigate/ffmpeg_presets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/ffmpeg_presets.py b/frigate/ffmpeg_presets.py index 3b29c9035..a1ff3d74d 100644 --- a/frigate/ffmpeg_presets.py +++ b/frigate/ffmpeg_presets.py @@ -32,7 +32,7 @@ class LibvaGpuSelector: devices = list(filter(lambda d: d.startswith("render"), os.listdir("/dev/dri"))) if len(devices) < 2: - self._selected_gpu = "/dev/dri/renderD128" + self._selected_gpu = devices[0] return self._selected_gpu for device in devices: