I want to know re-initialize the vi driver.

I have developed a 4 channel DVR with Tx1.
Long time recording operation test is in progress.
However, after a long period of time, the image blink green, and only the green color is displayed(video0, other ok).
When debugging, the camera continued to output image data.
I think there is a problem with the nvidia tx1 vi driver.
I want to know if there is a way to initialize the vi driver.

Here is how it works on my board

whie (1) {
echo 3 > /proc/sys/vm/drop_caches

/usr/bin/gst-launch-1.0 -q
v4l2src device=/dev/video0 num-buffers=900 ! ‘video/x-raw,format=UYVY,width=1280,height=720,framerate=30/1’ !
nvvidconv ! ‘video/x-raw(memory:NVMM),width=1280,height=720,format=I420’ ! omxh264enc ! h264parse ! qtmux ! filesink location=ch0.mp4
v4l2src device=/dev/video1 num-buffers=900 ! ‘video/x-raw,format=UYVY,width=1280,height=720,framerate=30/1’ !
nvvidconv ! ‘video/x-raw(memory:NVMM),width=1280,height=720,format=I420’ ! omxh264enc ! h264parse ! qtmux ! filesink location=ch1.mp4
v4l2src device=/dev/video2 num-buffers=900 ! ‘video/x-raw,format=UYVY,width=1280,height=720,framerate=30/1’ !
nvvidconv ! ‘video/x-raw(memory:NVMM),width=1280,height=720,format=I420’ ! omxh264enc ! h264parse ! qtmux ! filesink location=ch2.mp4
v4l2src device=/dev/video3 num-buffers=900 ! ‘video/x-raw,format=UYVY,width=1280,height=720,framerate=30/1’ !
nvvidconv ! ‘video/x-raw(memory:NVMM),width=1280,height=720,format=I420’ ! omxh264enc ! h264parse ! qtmux ! filesink location=ch3.mp4
}
IMG_8417.MOV (328 KB)

I wonder if it is related to power saving or performance modes. Does this help?

sudo echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
sudo cat /sys/kernel/debug/clock/gbus/max > /sys/kernel/debug/clock/override.gbus/rate

thank you
We will inform you the results after applying the above contents.

@walterkim
Any kernel error show up when the issue happen?

Hi walterkim,

Have you clarified the cause and resolved the problem?
Any further information can be shared?

Thanks