We are using nvarguscamerasrc in our gstreamer pipeline. The pipeline itself is very simple:
nvarguscamerasrc sensor-id=<DCL_SENSOR_ID> sensor-mode=0 gainrange=“1 16” ispdigitalgainrange=“1 1”
! video/x-raw(memory:NVMM), width=(int)<DCL_CAPTURE_WIDTH>, height=(int)<DCL_CAPTURE_HEIGHT>, format=(string)NV12, framerate=(fraction)<DCL_CAPTURE_FRAMERATE>/1
! nvvidconv ! textoverlay name=text_overlay ! video/x-raw,format=I420
! nvvidconv ! nvv4l2vp8enc bitrate=<DCL_RECORD_VIDEO_BITRATE> control-rate=1 ! rtpvp8pay mtu=1400 ! udpsink auto-multicast=true clients=<DCL_UDP_SINK_CLIENTS>
We are only adding a dynamic text overlay to the video and sending it trough UDP as VP8 RTP stream. We are starting the pipeline from a simple c++ application but during operation we only update the text of the overlay every half second. And we run two of these services on the Jetson Nano
After a few hours the receiving end do not get any video stream and if we check the sender the application processor usage is dropped to almost nothing (during regular operation each of them use ~50% of a CPU core). This is only happening with one of the services but it pretty random which one is failing sensor 1 or sensor 2.
We checked the usual places like syslog, dmesg and the output of nvargus-daemon but there is no error indication.
We are monitoring the resource usage but there is no major thing there, we use barely no memory and its stay constant during the most significatn resource usage is the applications themselves with their 50% CPU usage and like 1.5% of memory usage.
Do you have any idea where we should look to continue the investigation (which log files should we check or the output of some command)? Do you bundle any specific monitoring for such cases?
Also is there a way to increase the log level of nvargus-daemon to see more details waht is going on?