mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Don't assume single render device is D128 (#14091)
This commit is contained in:
parent
fafe5623d1
commit
594ca3a04b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user