From d415be5d935959184caf49a6e3ac34e66e02cf4f Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 22 Oct 2026 15:37:20 -0500 Subject: [PATCH] detect all AMD GPUs from vainfo The vainfo check only matched "AMD Radeon Graphics", so drivers reporting names like "AMD Radeon Vega 8 Graphics", "AMD Radeon RX 6600", "AMD Custom GPU 0405", or older codename strings fell through and their GPU stats were collected as Intel. It now matches Mesa's "for AMD" driver string. --- frigate/util/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/util/services.py b/frigate/util/services.py index a88e44b5c7..f0bb7e5abb 100644 --- a/frigate/util/services.py +++ b/frigate/util/services.py @@ -261,7 +261,7 @@ def is_vaapi_amd_driver() -> bool: output = p.stdout.decode("unicode_escape").split("\n") # VA Info will print out the friendly name of the driver - return any("AMD Radeon Graphics" in line for line in output) + return any(" for AMD " in line for line in output) def get_amd_gpu_stats() -> dict[str, str] | None: