Nvargus-daemon syslog grow indefinitely

Hello there, we have an infinite loop on log as:

Jul  8 10:47:59 netmachine-ceil nvargus-daemon[5344]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)
Jul  8 10:47:59 netmachine-ceil nvargus-daemon[5344]: (Argus) Error InvalidState:  (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
Jul  8 10:47:59 netmachine-ceil nvargus-daemon[5344]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)
Jul  8 10:47:59 netmachine-ceil nvargus-daemon[5344]: (Argus) Error InvalidState:  (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)
Jul  8 10:47:59 netmachine-ceil nvargus-daemon[5344]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)

the problem encountered arises from the following expression,
recommended by nvidia guidelines for camera integration with opencv via gstreamer_pipeline using python

nvarguscamerasrc wbmode=5 !
video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)30/1 !
nvvidconv flip-method=2 !
video/x-raw, width=(int)1280, height=(int)720, format=(string)BGRx !
videoconvert !
video/x-raw, format=(string)BGR ! appsink

any idea ?

Which bsp to use for this problem?
Does gst-launch-1.0 pipeline have the same message?

  1. BSP is standard, non customization for IMX 219 CCD camera
  2. i use ssh headless connection, close connection after 1 minute, no log messages emitted:

gst-launch-1.0 nvarguscamerasrc wbmode=5 ! ‘video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)30/1’ ! nvvidconv flip-method=2 ! ‘video/x-raw, width=(int)1280, height=(int)720, format=(string)BGRx’ ! videoconvert ! ‘video/x-raw, format=(string)BGR’ ! appsink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
(Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 215)
(Argus) Error Timeout: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 102)
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:551 Failed to create CameraProvider
Got EOS from element “pipeline0”.
Execution ended after 0:01:00.014655688
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …

I am not sure if this pipeline capture frame well.
If you don’t have display to check the functionality of the pipeline you can have encordor to confirm if the pipeline is working first.

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide%2Faccelerated_gstreamer.html%23

is a tested pipeline, this gstreamer pipeline code came from :

def gstreamer_pipeline(
    capture_width=1280,
    capture_height=720,
    display_width=640,
    display_height=360,
    framerate=60,
    flip_method=0,
):
    return (
        "nvarguscamerasrc ! "
        "video/x-raw(memory:NVMM), "
        "width=(int)%d, height=(int)%d, "
        "format=(string)NV12, framerate=(fraction)%d/1 ! "
        "nvvidconv flip-method=%d ! "
        "video/x-raw, width=(int)%d, height=(int)%d, format=(string)BGRx ! "
        "videoconvert ! "
        "video/x-raw, format=(string)BGR ! appsink"
        % (
            capture_width,
            capture_height,
            framerate,
            flip_method,
            display_width,
            display_height,
        )
    )

Didn’t see those message when run the JetsonCamera.py

Jul 8 10:47:59 netmachine-ceil nvargus-daemon[5344]: SCF: Error InvalidState: Session has suffered a critical failure (in src/api/Session.cpp, function capture(), line 667)
Jul 8 10:47:59 netmachine-ceil nvargus-daemon[5344]: (Argus) Error InvalidState: (propagating from src/api/ScfCaptureThread.cpp, function run(), line 109)