CPU Maxing Out / Cameras Stop Streaming

shaywood

n3wb
Jun 15, 2019
9
2
pdx
Hello, been running BI for years to manage my home IP cameras that are POE and wireless. Recently, I've noticed that occasionally my local wired cameras will stop streaming. When I access BI I notice the CPU is maxed out at 100% (see attached). A reboot of the Win 11 Pro PC seems to fix the problem for a while. Hardware accelerated decode is set to "Intel" and used for most POE cameras. This is a dedicated PC. Any ideas?

BI Version: 5.9.9.71

Shawn
 

Attachments

  • Screenshot_20250906_201105.png
    Screenshot_20250906_201105.png
    19.6 KB · Views: 4
Need more info. What processor, how much memory. What does the task manager say? Is it BI that is maxed out the CPU? What has changed? Did you just update BI to aa new version?

What about WIN11 updates? Did you just get an update when this began?

Have you tried not using HA at all? Most folks here are no longer using HA when they are using sub streams.
 
Hell. Thanks. Here you go:
Processor Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz, 2904 Mhz, 8 Core(s), 16 Logical Processor(s)
RAM: 40GB
CPU Maxing: BI show CPU maxed at 100% (as pictured in previous post). Win 11 task manager shows BI is using 95% CPU. Ram usage and GPU are normal.
BI Updates: I've had this problem for approx 6 month and on the recent BI updates.

Perhaps disable HA.
 
There were issues with Intel hardware acceleration, caused by different versions of the Intel video kernel driver. Disabling HA and switching to substreams should help significantly.
 
^This.

Around the time AI was introduced in BI, many here had their system become unstable with hardware acceleration (hardware decode) (Quick Sync) on (even if not using DeepStack or CodeProject). Some have also been fine. I started to see errors when I was using hardware acceleration several updates into when AI was added.

This hits everyone at a different point. Some had their system go wonky immediately, some it was after a specific update, and some still don't have a problem, but the trend is showing running hardware acceleration will result in a problem at some point.

However, with substreams being introduced, the CPU% needed to offload video to a GPU (internal or external) is more than the CPU% savings seen by offloading to a GPU. Especially after about 12 cameras, the CPU goes up by using hardware acceleration. The wiki points this out as well.

Plus substreams opens up the possibility for older machines to be just fine, along with non-intel computers.

My CPU % went down by not using hardware acceleration.

Here is a recent thread where someone turned off hardware acceleration based on my post and their CPU dropped 10-15% and BI became stable.

But if you use HA, use plain intel and not the variants.

Some still don't have a problem, but eventually it may result in a problem.

Here is a sampling of recent threads that turning off HA fixed the issues they were having....

No hardware acceleration with subs?


Hardware decoding just increases GPU usage?


Can't enable HA on one camera + high Bitrate


And as always, YMMV.
 
  • Like
Reactions: VorlonFrog
People run 50 cams on a 4th gen at sub 30% CPU, so you have something going on if turning off HA doesn't help.