CSI camera not working when gstreamer process interrupted


I am sometimes having issue with the CSI camera that it is not working when I stopped the gstreamer process with ctrl+c on terminal. It only resolves when I restarted the Jetson. Is there anybody having a similar experience, and how to fix it?

Thank you

hello myagmur,

could you please share some details for reference, thanks
for example,
what’s the JetPack release you’re working with,
which sensor module it is.
may I know what’s the failure rate.
please share the steps and also failure messages for evaluation.

Hi Jerry,

It is giving following error when process not stopped properly.

Is this because of any cache that GStreamer creates when we run the camera?

Thank you


Not sure this is the same issue, but you might find a reproducible way for such fault in this post.

how to fix it?

If the Argus daemon (responsible for the camera) is having a problem you can restart it with:

 $ systemctl restart nvargus-daemon

At least that’s what I do when it gets stuck. YMMV. You can check the journalctl log like:

 $ journalctl --unit nvargus-daemon.service 
-- Logs begin at Sat 2020-07-11 10:23:16 MST, end at Tue 2020-07-14 17:03:59 MST. --
Jul 14 17:03:37 hummingbird systemd[1]: Stopping Argus daemon...
Jul 14 17:03:38 hummingbird nvargus-daemon[5739]: === NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...
Jul 14 17:03:38 hummingbird systemd[1]: Stopped Argus daemon.
Jul 14 17:03:38 hummingbird systemd[1]: Started Argus daemon.

hello myagmur,

please narrow down the issue to confirm sensor streaming works as expect,
please refer to Applications Using V4L2 IOCTL Directly for the sample commands to verify basic camera sensor functionality.