[Support]: GPU usage 100% after adding just 1 more camera #17320
Replies: 2 comments 4 replies
-
I'm very much a novice but I have spotted two aspects which I wonder might be worth experimenting with: (1)
As far as I can see, you aren't making use of these streams elsewhere in your config, so what are you using go2rtc for, in that case? Perhaps you don't need it. Also (2) I presume video1 is the one on the left in the screenshot and video2 = the right hand . video2 is being used as the detect substream but you still have quite a high (1280x720) resolution chosen. Can you lower it to (say) 640x480? I think that might lower your GPU burden. |
Beta Was this translation helpful? Give feedback.
-
if GPU usage jumped that much from adding one camera it seems like that camera is sending a 4K stream which is overwhelming the GPU |
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
Good day,
I was quite successfully running frigate with 5 Uniview cameras (IPC2128LE-ADF28KM-G) for couple of months, everything is working amazing, object detection spot on, integration with home assistant is flawless in my use case (when a person is detected outside lights are switched on). Usually the load is somewhere around 20% CPU and 5% GPU. Inference time is around 10ms using USB Coral. Recently I've decided to add 2 more cameras and some weird thing happened. Upon adding 6th camera everything was fine, but after adding 7th camera GPU usage spiked to 94-100% and is staying that way until I disconnect 1 of the cameras (it can be any camera).
The machine I'm using as NVR is an old PC from more than a decade ago with following specs:
i7-2600
Radeon 6950
16GB RAM
I have already stocked up on cameras for the moment and I have 11 of them, all same Uniview model. It might happen that I will expand them to 20+ overall.
As far as I understand while looking at radeontop output GPU is the bottleneck. And I'm trying to understand if the hardware itself is the problem and I need to upgrade or there is a flaw in my config that is causing this and it is still possible to squeeze some more from this setup.
Thank you in advance.


Version
0.15-1
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Install method
Docker Compose
Object Detector
Coral
Network connection
Wired
Camera make and model
Uniview IPC2128LE-ADF28KM-G
Screenshots of the Frigate UI's System metrics pages
na
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions