From 5d1bcdfea8c6bed477faf3f874efd6ca1a2c5bed Mon Sep 17 00:00:00 2001 From: Gary Mathews Date: Mon, 26 Jan 2026 17:58:39 -0800 Subject: [PATCH] Include compatibility env vars for 680M and 780M APUs --- frigate/detectors/detector_utils.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frigate/detectors/detector_utils.py b/frigate/detectors/detector_utils.py index 8001583d9..5771f4dfa 100644 --- a/frigate/detectors/detector_utils.py +++ b/frigate/detectors/detector_utils.py @@ -85,10 +85,18 @@ def apply_amd_compatibility_env_vars(): logger.info(f"Setting AMD environment variables for {gfx_id} compatibility...") configs = { - ("gfx902", "gfx909", "gfx90c"): { + ("gfx902", "gfx909", "gfx90c", "gfx1035", "gfx1103"): { "HSA_ENABLE_SDMA": "0", # Disable System Direct Memory Access for APU compatibility - "HSA_OVERRIDE_GFX_VERSION": "9.0.0", # Force compatible GFX version "MIGRAPHX_DISABLE_MIOPEN_FUSION": "1", # Disable unsupported fusion optimization + }, + ("gfx902", "gfx909", "gfx90c"): { # Vega + "HSA_OVERRIDE_GFX_VERSION": "9.0.0", # Force compatible GFX version + }, + ("gfx1035"): { # 680M + "HSA_OVERRIDE_GFX_VERSION": "10.3.0", # Force compatible GFX version + }, + ("gfx1103"): { # 780M + "HSA_OVERRIDE_GFX_VERSION": "11.0.0", # Force compatible GFX version } } for gfx_ids, vars in configs.items():