CGadSocket Errors Becoming Problematic

Cocktail

Getting the hang of it
Aug 1, 2018
36
27
GA
I’ve only been running Blue Iris since December and the experience has been mostly positive except for a few times now where I’ve found the application has entered into a faulted state. The computer and software is responsive however, camera feeds are lost, CPU use is 100% and RAM usage is near maximum consumption. The most recent ‘crash’ was the first time I’ve had just one camera fail. Other instances every camera has failed. See screencaps.

The system is an HP sff i5 6500 with 8 gb of RAM. Very vanilla install and only running BI. According to the Intel update utility, all drivers are up to date. I’m running 6 Dahua cameras 5 HDW5231R-ZE and 1 HDBW4231F-AS. H.264 with a 15 fps frame rate and matching I frame interval for all camera’s main and sub streams.

I’ve reached out to BI support and was informed it is a hardware acceleration issue and that I should turn it off. Support died at “it should work”. So here I am, lost. This problem has persisted across several BI versions now. I’m not sure what to troubleshoot to figure out the problem. I’ve seen this has been a problem in the past. How have you resolved the problem?

I appreciate the help.
 

Attachments

  • 22336E46-46CE-4896-B56D-46BF86182B24.jpeg
    22336E46-46CE-4896-B56D-46BF86182B24.jpeg
    421.5 KB · Views: 14
  • 22E5E7A5-8DF9-4D1A-84C1-8FE30AD51C1E.jpeg
    22E5E7A5-8DF9-4D1A-84C1-8FE30AD51C1E.jpeg
    294.8 KB · Views: 14
  • 579BE2E0-9A3E-44FC-8B75-9F17A2BE2B93.jpeg
    579BE2E0-9A3E-44FC-8B75-9F17A2BE2B93.jpeg
    323.1 KB · Views: 13
Make sure that Hardware acceleration is off at all locations. There is the global location, but you can also set it in each camera, so make sure it is off in both places. An update in Blue Iris could have changed those settings from a previous version. Many times people have this issue and either BI or they at some point changed it within a camera setting.

It sounds like a memory leak to hit 100% CPU on that machine and 6 cameras. Try rolling back the graphics driver, and if you haven't done so, turn off Windows updates.

 
I used to get the same errors quite a while back but not as severe as yours and then they just went away. No idea what fixed the problem for me as I rarely change the config of BI or the cameras.
 
1) are any of your cameras using wifi
2) are any of your camera traffic running through the router.
3) are all your cameras POE ?
4) did you do a Windows 10 clean install using "Microsoft media creation tool"


screen shots

1) windows system information, may need two shots to get all info.
2) windows task manager process tab sorted by memory (most at the top), Must contain, memory, disk, network, GPU, GPU engine columns
3) Blue Iris Setting about tab (black out your license key)
4) Blue iris status (lighting bolt graph, upper left corner) clip storage tab
5) blue Iris status cameras tab
6) from the cameras (NOT BI), the camera setting framerate, iframe, bitrate...... ( for 2 different camera types)
7) Windows properties for the graphics drive version.
 
Last edited:
  • Like
Reactions: looney2ns
None of my cams are wifi, all POE and Windows was installed with MCT.

The error is an internal BI error as there is nothing logged in Windows Event Logs at all and as I said for me the problem appeared, stayed around for a few months and then disappeared.

Again as I said I don’t tend to change anything in my PC except for Windows updates which I manually install when it suits me. Video card drivers are from something like 2 years ago and I’ve configured Windows Update to never install driver updates.

I should add that I do update BI so I’m convinced that an update of BI resolved the issue for me. I did log a call with support about it but was just told to turn HA off as a solution.
 
  • Like
Reactions: Lucas Tam
One last thing that I forgot to mention is that whenever I had the error on one of my cams the net result would be that sometimes HA on the cam that suffered the problem would get disabled.
 
1) are any of your cameras using wifi
2) are any of your camera traffic running through the router.
3) are all your cameras POE ?
4) did you do a Windows 10 clean install using "Microsoft media creation tool"


screen shots

1) windows system information, may need two shots to get all info.
2) windows task manager process tab sorted by memory (most at the top), Must contain, memory, disk, network, GPU, GPU engine columns
3) Blue Iris Setting about tab (black out your license key)
4) Blue iris status (lighting bolt graph, upper left corner) clip storage tab
5) blue Iris status cameras tab
6) from the cameras (NOT BI), the camera setting framerate, iframe, bitrate...... ( for 2 different camera types)
7) Windows properties for the graphics drive version.

Thanks for taking a look Yankee. Hopefully I’ve gotten the screen shots you’ve requested. You’ll notice that in the camera status page HA is turned off. I was told by Ken to disable and that would be the fix. IMHO, thats not a fix. I’ve attached the pictures you’ve requested. Please let me know if I can provide any others. This weekend I’m going to roll the intel driver back to the suggested version pin the wiki above.

Here are the answers to your questions.
1. No camera is using WiF, 5 Dahua 52131rze and 1 4231fas
2. Traffic is ran through a Ubiquiti usw-24-poe. Both cameras and PC are on a separate vlan.
3. all cameras are poe
4. Windows 10 was a clean install. I bought the pc just for the purpose of BI. Fresh installed Win 10, decrapified, then installed BI. That’s it.

None of my cams are wifi, all POE and Windows was installed with MCT.

The error is an internal BI error as there is nothing logged in Windows Event Logs at all and as I said for me the problem appeared, stayed around for a few months and then disappeared.

Again as I said I don’t tend to change anything in my PC except for Windows updates which I manually install when it suits me. Video card drivers are from something like 2 years ago and I’ve configured Windows Update to never install driver updates.

I should add that I do update BI so I’m convinced that an update of BI resolved the issue for me. I did log a call with support about it but was just told to turn HA off as a solution.

Your experience sounds very similar to mine. However, mine hasnt fixed itself and has persisted across several updates now. I tend to agree with you in regards to the HA fault. Mine too disables HA when these errors occur.
 

Attachments

  • 8F6052C1-304B-4E73-8A0B-1E8371EB2C8A.png
    8F6052C1-304B-4E73-8A0B-1E8371EB2C8A.png
    49.1 KB · Views: 6
  • 12A8FF8A-7A50-481D-B7B8-6A0ACB9F2303.png
    12A8FF8A-7A50-481D-B7B8-6A0ACB9F2303.png
    77.2 KB · Views: 6
  • 023425FD-7043-4CC4-B8BC-5A15EDA0773D.png
    023425FD-7043-4CC4-B8BC-5A15EDA0773D.png
    46.2 KB · Views: 6
  • 0294C1B5-EB22-4A29-B1C9-9BBFEF72C441.png
    0294C1B5-EB22-4A29-B1C9-9BBFEF72C441.png
    20.1 KB · Views: 6
  • 232C1891-D3F2-462F-8281-09F6F7FCA1E1.png
    232C1891-D3F2-462F-8281-09F6F7FCA1E1.png
    39.4 KB · Views: 6
  • BE560B04-1F4D-4F57-AA04-26493A6AE203.png
    BE560B04-1F4D-4F57-AA04-26493A6AE203.png
    39.1 KB · Views: 6
  • D07D5936-CDD6-42D0-91C3-5036F19DB666.png
    D07D5936-CDD6-42D0-91C3-5036F19DB666.png
    26.8 KB · Views: 6
Last edited:
Make sure that Hardware acceleration is off at all locations.

I can't seem to use hardware acceleration ... after a few days, it entirely kills my setup.

Anyone else having trouble with an Nvidia T400 + HA + HikVision DVR?