Nvargus-daemon freezes on jetson Xavier

Hello!
I started camera streams with gmsl cameras and the stream sometimes freezes and system reboot. Nvargus gives me errors:

● nvargus-daemon.service - Argus daemon
   Loaded: loaded (/etc/systemd/system/nvargus-daemon.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-11-24 14:28:39 MSK; 9min ago
 Main PID: 6351 (nvargus-daemon)
    Tasks: 44 (limit: 4915)
   CGroup: /system.slice/nvargus-daemon.service
           └─6351 /usr/sbin/nvargus-daemon

ноя 24 14:37:25 kuskov nvargus-daemon[6351]: (Argus) Error InvalidState:  (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
ноя 24 14:37:25 kuskov nvargus-daemon[6351]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)
ноя 24 14:37:25 kuskov nvargus-daemon[6351]: (Argus) Error InvalidState:  (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
ноя 24 14:37:25 kuskov nvargus-daemon[6351]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)
ноя 24 14:37:25 kuskov nvargus-daemon[6351]: (Argus) Error InvalidState:  (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
ноя 24 14:37:27 kuskov nvargus-daemon[6351]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceDeviceViCsi.cpp, function waitCompletion(), line 335)
ноя 24 14:37:27 kuskov nvargus-daemon[6351]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceDevice.cpp, function pause(), line 938)
ноя 24 14:37:27 kuskov nvargus-daemon[6351]: SCF: Error Timeout: During capture abort, syncpoint wait timeout waiting for current frame to finish (in src/services/capture/CaptureServiceDevice.cpp, function handleCancelSourceRequests(), line 1032)
ноя 24 14:37:34 kuskov nvargus-daemon[6351]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
ноя 24 14:37:34 kuskov nvargus-daemon[6351]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc

Sometimes its work well, but for example, if I run chromium-browser its freezes

I run with stream with

gst-launch-1.0 nvarguscamerasrc sensor-id=0 name=cam1 ! 'video/x-raw(memory:NVMM), width=(int)640, height=(int)480, framerate=(fraction)30/1' ! queue max-size-buffers=1 ! nvvidconv ! queue max-size-buffers=1 ! xvimagesink

or

gst-launch-1.0 nvarguscamerasrc sensor-id=0 name=cam1 ! 'video/x-raw(memory:NVMM), width=(int)640, height=(int)480, framerate=(fraction)30/1' ! queue max-size-buffers=1 ! nvvidconv ! queue max-size-buffers=1 ! xvimagesink  nvarguscamerasrc sensor-id=1 name=cam2 ! 'video/x-raw(memory:NVMM), width=(int)640, height=(int)480, framerate=(fraction)30/1' ! queue max-size-buffers=1 ! nvvidconv ! queue max-size-buffers=1 ! xvimagesink

for 2 cameras

Jetson AXG Xavier with Jetpack 4.4, Leopard imaging imx390 cameras and Connecttech JCB004 gmsl board

Without problem if only run the gst-launch-1.0 command?

with USB web camera is ok.
I’m find this topic and did the same.
Also I install dependencies and rebuild libargus.
Сameras have been working for 12 hours and everything is fine.
Do you have a plane to fix it in this or the next releases?

Yes, I think J4.4.1(r32.4.4) should have it.

1 Like