I am using the Jetson Orin Nano, and when I run the camera for an extended period, it stops. The time until it stops can be as short as 1 hour or as long as about 48 hours.
—Error location —
The error occurs in gstnvarguscamerasrc.cpp
, around line 405:
UniqueObj<Frame> frame(iFrameConsumer->acquireFrame(ACQUIRE_FRAME_TIMEOUT, &frame_status));
The frame_status
returns as Argus::STATUS_TIMEOUT
.
— nvargus-daemon log —
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: Module_id 30 Severity 2 : (fusa) Error: InvalidState Status syncpoint signaled but status value not updated in:/capture/src/fusaViHandler.cpp 817
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: Module_id 30 Severity 2 : (fusa) Error: InvalidState propagating from:/capture/src/fusaViHandler.cpp 759
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: === python3[2634]: CameraProvider initialized (0xffff75392cf0)SCF: Error InvalidState: Corr Error Received for sensor 0 .. Continuing!
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 643)
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse All captures are already pending, no idle captures available in:/capture/src/fusaViHandler.cpp 633
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse propagating from:/capture/src/fusaViHandler.cpp 475
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/FusaCaptureViCsiHw.cpp, function startCaptureInternal(), line 866)
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureRecord.cpp, function doCSItoMemCapture(), line 536)
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureRecord.cpp, function issueCapture(), line 483)
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1530)
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1359)
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: SCF: Error ResourceAlreadyInUse: (propagating from src/common/Utils.cpp, function workerThread(), line 114)
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: SCF: Error ResourceAlreadyInUse: Worker thread CaptureScheduler frameStart failed (in src/common/Utils.cpp, function workerThread(), line 133)
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function waitForUnlock(), line 644)
Oct 23 13:00:32 ubuntu nvargus-daemon[1046]: SCF: Error Timeout: (propagating from src/components/CaptureContainerImpl.cpp, function returnBuffer(), line 426)
Oct 23 13:00:33 ubuntu nvargus-daemon[1046]: SCF: Error Timeout: (propagating from src/components/amr/Snapshot.cpp, function waitForNewerSample(), line 91)
Oct 23 13:00:33 ubuntu nvargus-daemon[1046]: SCF_AutocontrolACSync failed to wait for an earlier frame to complete.
Oct 23 13:00:33 ubuntu nvargus-daemon[1046]: SCF: Error Timeout: (propagating from src/components/ac_stages/ACSynchronizeStage.cpp, function doHandleRequest(), line 126)
Oct 23 13:00:33 ubuntu nvargus-daemon[1046]: SCF: Error Timeout: (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 137)
Oct 23 13:00:33 ubuntu nvargus-daemon[1046]: SCF: Error Timeout: Sending critical error event for Session 0
Oct 23 13:00:33 ubuntu nvargus-daemon[1046]: (in src/api/Session.cpp, function sendErrorEvent(), line 1039)
Oct 23 13:00:41 ubuntu nvargus-daemon[1046]: SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Oct 23 13:00:41 ubuntu nvargus-daemon[1046]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc for sensor guid 0 count 2136195840
— Environment —
- Jetson Orin nano module: P3767-0003 (No SD card slot model)
- J401 Carrier Board: J401 Carrier Board from seeed studio.
- Camera: IMX477 4K Camera from Arducam
- Jetpack: 5.1.2
- L4T: 35.4.1
— Additional Information —
- I feel that the chance of occurrence is higher when the system is under heavy load, but it sometimes occurs even with a simple GStreamer command.
- When I tested the same camera with Jetson Xavier NX under the same conditions, the camera did not stop. (I used Jetpack: 5.0.2)
— Question —
- What is the cause of this error?
- Are there any measures to prevent this error and stabilize camera running?