Multi Camera aquisition crashes with argus SCF_AutocontrolACSync error

Hi ,

we have an API which grabs images from two cameras. This runs fine for several hours until somehow argus seems to crash with following error:

nvargus-daemon[31084]: SCF: Error Timeout:  (propagating from src/components/amr/Snapshot.cpp, function waitForNewerSample(), line 91)
nvargus-daemon[31084]: SCF_AutocontrolACSync failed to wait for an earlier frame to complete.
nvargus-daemon[31084]: SCF: Error Timeout:  (propagating from src/components/ac_stages/ACSynchronizeStage.cpp, function doHandleRequest(), line 126)
nvargus-daemon[31084]: SCF: Error Timeout:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 137)
nvargus-daemon[31084]: SCF: Error Timeout: Sending critical error event for Session 0
nvargus-daemon[31084]:  (in src/api/Session.cpp, function sendErrorEvent(), line 1039)
nvargus-daemon[31084]: waitForIdleLocked remaining request 223013
nvargus-daemon[31084]: waitForIdleLocked remaining request 223004
nvargus-daemon[31084]: SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 969)
nvargus-daemon[31084]: SCF: Error Timeout:  (propagating from src/components/CaptureContainerImpl.cpp, function assignAllBuffersFromStream(), line 271)
nvargus-daemon[31084]: SCF: Error Timeout:  (propagating from src/components/stages/CCDataSetupStage.cpp, function doHandleRequest(), line 76)
nvargus-daemon[31084]: SCF: Error Timeout:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)
nvargus-daemon[31084]: PowerServiceCore:handleRequests: timePassed = 16980
nvargus-daemon[31084]: PowerServiceCore:handleRequests: timePassed = 2238
nvargus-daemon[31084]: waitForIdleLocked remaining request 223004
nvargus-daemon[31084]: SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 969)
nvargus-daemon[31084]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 734)
nvargus-daemon[31084]: (Argus) Error InvalidState:  (propagating from src/api/ScfCaptureThread.cpp, function run(), line 110)

We are running JP5.1.2 and have already a patched argus, fusacap and scf lib. those githashes are:

## Libraries
 LIBARGUS hash            : b6f55f6cb2de004bcb4a5238f9ed3938  /usr/lib/aarch64-linux-gnu/tegra/libnvargus.so
 LIBFUSACAP hash          : 06191cfcec47e09afb3539b2e19dc11c  /usr/lib/aarch64-linux-gnu/tegra/libnvfusacap.so
 LIBSCF hash              : 689cde0c4539304b12894923b879383b  /usr/lib/aarch64-linux-gnu/tegra/libnvscf.so

What can we do to prevent this error?

Hi, @PS1234 ,
What hardware configuration are you using?
We had issues with unstable serdes links, where from time to time the signal drops and we get similar errors as you. Maybe check either if using normal csi-2/mipi cams, the cable is too long and/or subjected to outside interference, or if using serdes, try and check the quality of the link via crc error checks or link status registers.

Regards,
Andres
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com