Yes, this works on our test Orin NX as well:
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 6969, dropped: 0, current: 89.69, average: 90.09
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 7015, dropped: 0, current: 90.42, average: 90.09
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 7060, dropped: 0, current: 89.91, average: 90.09
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 7106, dropped: 0, current: 90.06, average: 90.09
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 7151, dropped: 0, current: 89.83, average: 90.09
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendered: 7197, dropped: 0, current: 90.04, average: 90.09
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:01:20.045500830
Setting pipeline to NULL ...
Freeing pipeline ...
but what conclusion can we draw from this?
I don’t expect it to be a problem with the cameras, as it works with identical nvarguscamerasrc
+ H264 encoder, right?
The strange thing is that this works as well, using the fakesink, why would it fail only with filesink and webrtcbin?
gst-launch-1.0 -v --eos-on-shutdown nvarguscamerasrc sensor_id=0 ! 'video/x-raw(memory:NVMM), width=2712, height=1538, framerate=90/1' ! nvvidconv ! 'video/x-raw(memory:NVMM), format=(string)I420' ! nvv4l2av1enc maxperf-enable=1 bitrate=40000000 idrinterval=256 iframeinterval=256 ! 'video/x-av1, stream-format=(string)byte-stream' ! av1parse ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0
Here are the nvargus-daemon errors when the problem happens:
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: Module_id 30 Severity 2 : (fusa) Error: InvalidState Status syncpoint signaled but status value not updated in:/capture/src/fusaViHandler.cpp 861
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: CAM: serial no file already exists, skips storing again=== gst-launch-1.0[5893]: CameraProvider initialized (0xffff79532250)CAM: serial no file already exists, skips storing againSCF: Error InvalidState: Corr Error 8 Received for sensor 0 .. Continuing!
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 652)
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: Module_id 30 Severity 2 : (fusa) Error: InvalidState propagating from:/capture/src/fusaViHandler.cpp 803
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse All captures are already pending, no idle captures available in:/capture/src/fusaViHandler.cpp 672
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse propagating from:/capture/src/fusaViHandler.cpp 512
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/FusaCaptureViCsiHw.cpp, function startCaptureInternal(), line 875)
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureRecord.cpp, function doCSItoMemCapture(), line 536)
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureRecord.cpp, function issueCapture(), line 483)
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1565)
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1394)
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: SCF: Error ResourceAlreadyInUse: (propagating from src/common/Utils.cpp, function workerThread(), line 114)
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: SCF: Error ResourceAlreadyInUse: Worker thread CaptureScheduler frameStart failed (in src/common/Utils.cpp, function workerThread(), line 133)
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function waitForUnlock(), line 644)
Feb 12 03:51:41 orin60 nvargus-daemon[4040]: SCF: Error Timeout: (propagating from src/components/CaptureContainerImpl.cpp, function returnBuffer(), line 430)
Feb 12 03:51:42 orin60 nvargus-daemon[4040]: SCF: Error Timeout: (propagating from src/components/amr/Snapshot.cpp, function waitForNewerSample(), line 91)
Feb 12 03:51:42 orin60 nvargus-daemon[4040]: SCF_AutocontrolACSync failed to wait for an earlier frame to complete.
Feb 12 03:51:42 orin60 nvargus-daemon[4040]: SCF: Error Timeout: (propagating from src/components/ac_stages/ACSynchronizeStage.cpp, function doHandleRequest(), line 145)
Feb 12 03:51:42 orin60 nvargus-daemon[4040]: SCF: Error Timeout: (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 137)
Feb 12 03:51:42 orin60 nvargus-daemon[4040]: SCF: Error Timeout: Sending critical error event for Session 0
Feb 12 03:51:42 orin60 nvargus-daemon[4040]: (in src/api/Session.cpp, function sendErrorEvent(), line 1039)
Feb 12 03:51:50 orin60 nvargus-daemon[4040]: SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Feb 12 03:51:50 orin60 nvargus-daemon[4040]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc for sensor guid 0 count -2083027424
Feb 12 03:51:57 orin60 nvargus-daemon[4040]: SCF: Error InvalidState: 6 buffers still pending during EGLStreamProducer destruction (in src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 300)
Feb 12 03:52:02 orin60 nvargus-daemon[4040]: waitForIdleLocked remaining request 2343
Feb 12 03:52:02 orin60 nvargus-daemon[4040]: waitForIdleLocked remaining request 2342
Feb 12 03:52:02 orin60 nvargus-daemon[4040]: waitForIdleLocked remaining request 2341
Feb 12 03:52:02 orin60 nvargus-daemon[4040]: waitForIdleLocked remaining request 2346
Feb 12 03:52:02 orin60 nvargus-daemon[4040]: waitForIdleLocked remaining request 2340
Feb 12 03:52:02 orin60 nvargus-daemon[4040]: waitForIdleLocked remaining request 2339
Feb 12 03:52:02 orin60 nvargus-daemon[4040]: SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 969)