mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-06 03:51:14 +03:00
Adjust default iGPU name when it can't be found
This commit is contained in:
parent
ee73da655c
commit
99aa8ab522
@ -478,7 +478,7 @@ def get_intel_gpu_stats(
|
|||||||
overall_pct = min(100.0, compute_pct + dec_pct)
|
overall_pct = min(100.0, compute_pct + dec_pct)
|
||||||
|
|
||||||
entry: dict[str, Any] = {
|
entry: dict[str, Any] = {
|
||||||
"name": names.get(pdev) or f"Intel GPU {pdev}",
|
"name": names.get(pdev) or "Intel iGPU",
|
||||||
"vendor": "intel",
|
"vendor": "intel",
|
||||||
"gpu": f"{round(overall_pct, 2)}%",
|
"gpu": f"{round(overall_pct, 2)}%",
|
||||||
"mem": "-%",
|
"mem": "-%",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user