How to restart recording with Libargus in case of error

Hi Everyone,

I have an application with 2 IMX477 cameras being recorded at the same time and running on Jetson Orin NX 16 GB/Jetpack 5.1.1/L4T r35.3.1.

After a couple of hours of running, argus crashes and I restart the application and nvargus daemon with another application and continue recording however it gives a huge load of additional workload to the workflow of my application.

I tried to disable multiprocessing and restart the recording without restarting the application but it hangs on the line cameraProvider.reset() so I cannot recover the error from there without restarting the application.

In these two entries, moderators mentioned that the application needs to shut down if an error happens however I think it should be possible.

I cannot reproduce the errors as it’s happening on the cameras and currently, I’m stopping and starting the application again to replicate errors. Is there a better way to do that?

/sys/kernel/debug/camera-video0/streaming file node doesn’t exist so I cannot use it to trigger an error.

I would suggest upgrade to latest release like JP6 r36.4.3 or JP5 r35.6

Thanks

Hi,

I cannot upgrade to the latest version since the devices in production are in this version.

You can check the patches from the link.

[Argus] camera stability and error resiliency bug fixes

[Argus] pre-built update to resolve memory corruption within libnvargus.so

[Argus] Extend timeout values to avoid socket timeout errors reported by Argus

Hi,

Thanks for the update. I will give those patches a try but I have some questions first.

1- The last patch is on the 31st of January so this means it has all the other patches I assume. Is this correct?

2- Even if the patches don’t solve my issue, would it be okay to keep updated libraries or revert back to the original libraries?

  1. Sorry I can’t confirm that why I suggest update to latest release.
  2. You can save the original .so file and restore it.

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