[HW Accel Support]: Is Synology DS1621+ supported ? #20385
Replies: 1 comment
-
|
The Synology DS1621+ with its AMD Ryzen V1500B CPU can run Frigate, but there are several important considerations for your setup. Your high CPU usage (40-70%) is expected because your system lacks hardware acceleration. The warning in your logs states "Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended"(1). Since the AMD Ryzen V1500B doesn't have an integrated GPU, all video decoding is happening on the CPU(2). For AMD CPUs without integrated graphics, Frigate supports hardware acceleration via VAAPI using the libva-mesa-driver, but this requires adding the environment variable Your current configuration shows you're using a CPU detector, which is not recommended for production use(3). The logs confirm this: "CPU detectors are not recommended and should only be used for testing or for trial purposes"(3). Regarding the Coral TPU USB stick - yes, this would significantly help your situation. The Coral is specifically designed for object detection inference and would handle that workload efficiently(4). However, the Coral only accelerates object detection, not video decoding(4). Since you currently have detection disabled ( The high CPU usage you're experiencing is primarily from video decoding and streaming through go2rtc, not object detection. Even with detection disabled, Frigate still needs to decode the video stream for live viewing(4). To improve performance:
The Synology DS1621+ is capable of running Frigate, but without hardware acceleration for video decoding, CPU usage will remain relatively high, especially with multiple high-resolution cameras. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
Apologies if this is not the correct category to ask this.
I have a Synology DS1621+ (that has an AMD Ryzen V1500B 4-core 2.2 GHz CPU with no integrated GPU as far as I can tell).
On it, I have a VM running Home Assistant.
I've installed 32GB on the NAS (and the Home Assistant VM gets all the CPU & RAM it needs).
I've installed go2rtc add-on (which is not running, as I don't see it is needed) and frigate as add-ons in the Home Assistant.
In Frigate - I've added a single Google Nest Wired camera (see attached config).
I do see the camera appear in Frigate's UI (not sure how it works given that the go2rtc add-on is stopped in HA), but the video feed is very sluggish, the video is almost unusable, and the CPU indicated within Frigate appears to be anywhere between 40%-70%. At some point Frigate add-on crashes, and the logs appear to indicate it killed itself, I presume due to high CPU utilization.
I've attached screenshots of the 'General' and 'Camera' tabs in the system metrics.
I'm not sure why "CPU" shows 49%, including a warning at the bottom right corner "Nest entrance has high FFmpeg CPU usage (41%)" when the "Process Memory Usage" graph shows "just" 9% CPU used.
I've spent hours trying to figure out what's going on, given that I did not turn on detection, so I'm not sure what all the processing is going on (is it just ffmpeg for rendering the video ?), but I figured I might as well ask here if this type of NAS processor even supports something like Frigate or am I out of luck ?
and if not - will purchasing a Coral TPU USB Stick, plugging it to the Synology NAS, exposing it to HA and using it in HA be any help in allowing me to use Frigate ? or does the Coral TPU only help for reducing the detection load part, but given that I'm not even there and struggling with just rendering the camera - than Coral TPU won't help me at all ?
Thanks for everyone willing to pitch in.
Version
0.16.1-e664cb2
Frigate config file
docker-compose file or Docker CLI command
N/A (using Frigate Add-On in Home Assistant VM running on Synology DS1621+)Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Not sure how to run this when Frigate is an Add-On in HAInstall method
Home Assistant Add-on
Object Detector
CPU (no coral)
Network connection
Wired
Camera make and model
Google Nest (Wired)
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions