OrinNX Livestream Timeout

I am using OrinNX L4T Version 35.5.0 Jetpack 5.1.3 I am getting issue of SCF Timeout error in between the livestream. Could you please suggest the root cause for this issue. I am facing this issue from the last few months but could not be able to find out the actual reason for this.

Here is the journalctl log below:

journalctl -u nvargus-daemon -f
– Logs begin at Thu 1970-01-01 00:00:40 UTC. –
Nov 14 12:57:25 orin nvargus-daemon[1119]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 726)
Nov 14 12:57:25 orin nvargus-daemon[1119]: SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
Nov 14 12:57:25 orin nvargus-daemon[1119]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 347)
Nov 14 12:57:25 orin nvargus-daemon[1119]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 519)
Nov 14 12:57:25 orin nvargus-daemon[1119]: E/ libnvphs:socket: Error[2]: socket connection /var/lib/nvphs/nvphsd.ctl to PHS failed: No such file or directory
Nov 14 12:57:25 orin nvargus-daemon[1119]: D/ libnvphs:socket: Warning: connecting to Power Hinting Service failed. Is PHS running?
Nov 14 12:57:25 orin nvargus-daemon[1119]: === gst-launch-1.0[2765]: CameraProvider initialized (0xffffb46cc450)SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
Nov 14 12:57:25 orin nvargus-daemon[1119]: E/ libnvphs:socket: Error[2]: socket connection /var/lib/nvphs/nvphsd.ctl to PHS failed: No such file or directory
Nov 14 12:57:25 orin nvargus-daemon[1119]: D/ libnvphs:socket: Warning: connecting to Power Hinting Service failed. Is PHS running?
Nov 14 12:57:25 orin nvargus-daemon[1119]: E/ libnvphs: Error: NvPHSSendThroughputHints[usecase=camera, hint=MinCPU, value=4294967295, timeout_ms=1000]: queue_or_send() failed
Nov 14 12:58:38 orin nvargus-daemon[1119]: Module_id 30 Severity 2 : (fusa) Error: InvalidState Status syncpoint signaled but status value not updated in:/capture/src/fusaIspHandler.cpp 848
Nov 14 12:58:38 orin nvargus-daemon[1119]: Module_id 30 Severity 2 : (fusa) Error: InvalidState propagating from:/capture/src/fusaIspHandler.cpp 770
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error Timeout: FuSa Capture Status failed! (in src/services/capture/FusaCaptureIspHw.cpp, function waitIspFrameEnd(), line 365)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/FusaCaptureIspHw.cpp, function startCaptureInternal(), line 139)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureRecord.cpp, function doMEMtoISPCapture(), line 631)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureRecord.cpp, function issueCapture(), line 495)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1530)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error ResourceAlreadyInUse: (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1359)
Nov 14 12:58:38 orin nvargus-daemon[1119]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse All descriptors are already pending, no idle descriptors available in:/capture/src/fusaIspHandler.cpp 685
Nov 14 12:58:38 orin nvargus-daemon[1119]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse propagating from:/capture/src/fusaIspHandler.cpp 401
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function waitForUnlock(), line 644)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error Timeout: (propagating from src/components/CaptureContainerImpl.cpp, function returnBuffer(), line 426)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function waitForUnlock(), line 644)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error Timeout: (propagating from src/components/CaptureContainerImpl.cpp, function returnBuffer(), line 426)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function waitForUnlock(), line 644)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error Timeout: (propagating from src/components/CaptureContainerImpl.cpp, function returnBuffer(), line 426)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function waitForUnlock(), line 644)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error Timeout: (propagating from src/components/CaptureContainerImpl.cpp, function returnBuffer(), line 426)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error ResourceAlreadyInUse: (propagating from src/common/Utils.cpp, function workerThread(), line 114)
Nov 14 12:58:38 orin nvargus-daemon[1119]: SCF: Error ResourceAlreadyInUse: Worker thread CaptureScheduler frameStart failed (in src/common/Utils.cpp, function workerThread(), line 133)
Nov 14 12:58:47 orin nvargus-daemon[1119]: SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Nov 14 12:58:47 orin nvargus-daemon[1119]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc for sensor guid 1 count -1092955392
Nov 14 12:58:56 orin nvargus-daemon[1119]: SCF: Error InvalidState: 4 buffers still pending during EGLStreamProducer destruction (in src/services/gl/EGLStreamProducer.cpp, function freeBuffers(), line 300)
Nov 14 12:59:01 orin nvargus-daemon[1119]: waitForIdleLocked remaining request 3317
Nov 14 12:59:01 orin nvargus-daemon[1119]: waitForIdleLocked remaining request 3316
Nov 14 12:59:01 orin nvargus-daemon[1119]: waitForIdleLocked remaining request 3315
Nov 14 12:59:01 orin nvargus-daemon[1119]: waitForIdleLocked remaining request 3314
Nov 14 12:59:01 orin nvargus-daemon[1119]: SCF: Error Timeout: waitForIdle() timed out (in src/api/Session.cpp, function waitForIdleLocked(), line 969)

Your help would be highly appreciated.
Thanks in advance..

Hi,
Please share which Bayer camera you are using. From the log, it looks like sensor driver or device tree is not ready.

I am using Arducam 12MP 477P Motorized Focus High Quality Camera.

Is Arducam camera driver not supported for OrinNX L4T 35.5.0 ?

Hi,
By default we support RPi camera v2(imx219) and RPi HiQ camera(imx477) on Orin NX developer kit. You can enable the camera through jetson-io. Your camera is from 3rdparty. Would suggest consult with the vendor to enable the camera on Jetpack 6 release.

I am able to stream and I also use jetson-io tool to enable the camera.
THe main issue is after few minutes of livestream, suddenly it gives timeout error as I shared the error log above.

Hi,
You may enable the clocks at maximum for try:
Making sure you're not a bot!

If the issue persists, would suggest check with the vendor to improve stability of the camera source.

Hi,
Does this error happen after a specifc amount of frames has been captured? If you have access to different resolutions you could also try lowering the resolution to check if it is somehow related.

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

This issue happen in OrinNX 16 GB SOM. I also have xaviernx som but never faced any issue on Xavier.

In orinxn som, sometimes livestream goes well for 20-30 min and then stuck and sometime 10-15 min and then scf timeout error show.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.