How to enable CSI0?

teacher:
After executing the statement ‘dtc - I dtb - O dts/boot/tgra234-p3767-caramera-p7768-imx219-A.dtbo>/boot/imx219_idit.dts’, I opened imx219_idit.dts and found that there was no statement’ tegra_interface=‘serial-a’ inside.
I think it should be automatic cropping by the system. Can I add the following blue statement here?

The content of the file “imx219_idi. dts” is as follows:

imx219_edi_dts.txt (3.0 KB)

Dump the device tree to confirm.

sudo dtc -I fs -O dts -o extracted_proc.dts /sys/firmware/devicetree/base

1.After modification, the re examination results are as follows:

 root@lstd:~# dtc -I fs /proc/device-tree | grep port-index
 port-index = <0x01>;
 port-index = <0x01>;
 port-index = <0x02>;
 port-index = <0x02>;
 port-index = <0x00>;
 port-index = <0x02>;
 port-index = <0x00>;
 port-index = <0x02>;
root@lstd:~# dtc -I fs /proc/device-tree | grep tegra_sinterface
tegra_sinterface = “serial_a”;
tegra_sinterface = “serial_a”;
tegra_sinterface = “serial_b”;
tegra_sinterface = “serial_b”;
tegra_sinterface = “serial_b”;
tegra_sinterface = “serial_b”;
tegra_sinterface = “serial_b”;
tegra_sinterface = “serial_b”;
tegra_sinterface = “serial_b”;
tegra_sinterface = “serial_c”;
tegra_sinterface = “serial_c”;
tegra_sinterface = “serial_c”;
tegra_sinterface = “serial_c”;
tegra_sinterface = “serial_c”;
tegra_sinterface = “serial_c”;
tegra_sinterface = “serial_c”;

root@lstd:~# dtc -I fs /proc/device-tree | grep lane-polar
lane-polarities = <0x00 0x00 0x01>;

2.The result of running command “sudo dtc -I fs -O dts -o extracted_proc.dts /sys/firmware/devicetree/base” is as follows:

See the attachment:

extracted_proc_dts.txt (428.2 KB)

Was the modification successful?

root@lstd:~# v4l2-ctl -d /dev/video0 --set-fmt-video=pixelformat=RG10,width=1920,height=1080 --stream-mmap --stream-count=50 --stream-to=test.raw
<<<<<<<<<<<<<<<<<<<< 18.30 fps
<<<<<<<<<<<<<<<<< 17.74 fps
<<<<<<<<<<<<<
root@lstd:~# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-bayer,format=rg10,width=3280,height=2464 ! bayer2rgb ! videoconvert ! xvimagesink sync=false
WARNING: erroneous pipeline: could not link v4l2src0 to bayer2rgb0, neither element can handle caps video/x-bayer, format=(string)rg10, width=(int)3280, height=(int)2464
root@lstd:~# v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0

vi-output, imx219 9-0010 (platform:tegra-capture-vi:0):
/dev/video0

vi-output, imx219 10-0010 (platform:tegra-capture-vi:2):
/dev/video1

root@lstd:~# v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

\[0\]: 'RG10' (10-bit Bayer RGRG/GBGB)
	Size: Discrete 3280x2464
		Interval: Discrete 0.048s (21.000 fps)
	Size: Discrete 3280x1848
		Interval: Discrete 0.036s (28.000 fps)
	Size: Discrete 1920x1080
		Interval: Discrete 0.033s (30.000 fps)
	Size: Discrete 1640x1232
		Interval: Discrete 0.033s (30.000 fps)
	Size: Discrete 1280x720
		Interval: Discrete 0.017s (60.000 fps)

root@lstd:~#

It seems like the hardware is working, but why hasn’t the image been released yet?
Is my drawing command incorrect?

Using nvarguscamerasrc instead of v4l2src for Bayer sensor.

gst-launch-1.0 nvarguscamerasrc! 'video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080, framerate=30/1' ! nv3dsink sync=0

Looks like the nvargus-daemon not start.

Do you flash the system by sdkmanager?

First make sure you boot to the GUI and check the daemon by below command.

ps aux | grep -i nvargus-daemon

You need install below element.

sudo apt-get install nvidia-l4t-gstreamer
sudo apt install nvidia-l4t-jetson-multimedia-api

Any customized pinmux need apply to your system?

Reboot can help on it? You may need UART log to know the root cause if still stock there.

Thanks

The issue of remaking the system image file has been resolved and disappeared.

Teacher, I have a question to ask you. Should we install Nvidia jetpack on our self-designed carrier board (non core board) within the system?
Is nvidia jetpack a library specifically designed for development boards or ORIN NANO4GB core boards?
Is it necessary to install Nvidia jetpack as long as the ORIN NANO4GB core board is used?

It’s totally software only. You can install what you need doesn’t matter with the platform.

Thanks

If Nvidia jetpack is not installed, can peripherals such as SPI, UART, I/O, etc. be connected?

If you mean the Jetpack software package then yes.

The SPI/UART/IO just need kernel driver to make it working.

Thanks

teacher:
I have reinstalled the system, modified the device tree, and debugged again. The debugging information is as follows:

root@lstd-desktop:/tmp# lsmod | grep imx219
nv_imx219              20480  0
root@lstd-desktop:/tmp# i2cdetect -y -r 2
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
root@lstd-desktop:/tmp# v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

	[0]: 'RG10' (10-bit Bayer RGRG/GBGB)
		Size: Discrete 3280x2464
			Interval: Discrete 0.048s (21.000 fps)
		Size: Discrete 3280x1848
			Interval: Discrete 0.036s (28.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1640x1232
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.017s (60.000 fps)
root@lstd-desktop:/tmp# v4l2-ctl --stream-mmap -c clostlance_mode=0
unknown control 'clostlance_mode'
root@lstd-desktop:/tmp# gst-launch-1.0 nvarguscamerasrc! 'video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080, framerate=30/1' ! nv3dsink sync=0
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:791 Failed to create CaptureSession
Got EOS from element "pipeline0".
Execution ended after 0:00:00.002800822
Setting pipeline to NULL ...
Freeing pipeline ...
root@lstd-desktop:/tmp# gst-launch-1.0 nvarguscamerasrc! 'video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080, framerate=30/1' ! nv3dsink sync=0
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:791 Failed to create CaptureSession
Got EOS from element "pipeline0".
Execution ended after 0:00:00.003384283
Setting pipeline to NULL ...
Freeing pipeline ...
root@lstd-desktop:/tmp# 

Can you continue to guide me?

Get the daemon log.

journalctl -u nvargus-daemon -f

teacher:
I opened two shell windows. Enter the command “Journalctl - u nvargus daemon - f” in window 1, and enter the command “gst-launch-1.0 nvarguscamerasrc!'video/x-row (memory: NFVM), width=(int) 1920, height=(int) 1080, frame rate=30/1 '! Nv3dsink sync=0” in window 2.
The output result of window 1 is as follows:

lstd@lstd-desktop:~/Desktop/bobo$ journalctl -u nvargus-daemon -f
-- Logs begin at Tue 2024-06-18 04:29:39 CST. --
6月 08 14:54:17 lstd-desktop systemd[1]: Started Argus daemon.
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: === NVIDIA Libargus Camera Service (0.99.33)=== Listening for connections...=== gst-launch-1.0[8185]: Connection established (FFFFBB7C0900)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: ---- imager: No override file found. ----
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: ---- imager: No override file found. ----
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: E/ libnvphs:socket: Error[2]: socket connection /var/lib/nvphs/nvphsd.ctl to PHS failed: No such file or directory
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: D/ libnvphs:socket: Warning: connecting to Power Hinting Service failed. Is PHS running?
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: === gst-launch-1.0[8185]: CameraProvider initialized (0xffffb47474d0)SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: E/ libnvphs:socket: Error[2]: socket connection /var/lib/nvphs/nvphsd.ctl to PHS failed: No such file or directory
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: D/ libnvphs:socket: Warning: connecting to Power Hinting Service failed. Is PHS running?
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: E/ libnvphs: Error: NvPHSSendThroughputHints[usecase=camera, hint=MinCPU, value=4294967295, timeout_ms=1000]: queue_or_send() failed
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 0 draining session frameStart events 3
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 531)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 1 continue draining session frameStart events 2
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 0 draining session frameEnd events 3
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: Timeout  propagating from:/capture/src/fusaViHandler.cpp 771
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 2 continue draining session frameStart events 1
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 1 draining session frameEnd events 2
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 2 draining session frameEnd events 1
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout: Sending critical error event for Session 1
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/api/Session.cpp, function sendErrorEvent(), line 1039)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error BadParameter: CC has already been disposed (in src/components/CaptureContainerManager.cpp, function dispose(), line 161)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error BadParameter: CC has already been disposed (in src/components/CaptureContainerManager.cpp, function dispose(), line 161)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error BadParameter: CC has already been disposed (in src/components/CaptureContainerManager.cpp, function dispose(), line 161)
6月 08 15:07:13 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout: NvRmSyncWait failed (in src/api/Buffer.cpp, function cpuWaitFences(), line 622)
6月 08 15:07:13 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout:  (propagating from src/api/Buffer.cpp, function cpuWaitInputFences(), line 543)
6月 08 15:07:13 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout:  (propagating from src/api/Buffer.cpp, function acquire(), line 680)
6月 08 15:07:13 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout:  (propagating from src/api/Buffer.cpp, function ScopedBufferLock(), line 657)
6月 08 15:07:14 lstd-desktop nvargus-daemon[993]: PowerServiceCore:handleRequests: timePassed = 9218
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc for sensor guid 1 count -1095539968
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: Timeout  propagating from:/capture/src/fusaViHandler.cpp 771
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 3 draining session frameEnd events 2
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 4 draining session frameEnd events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 3 draining session frameStart events 2
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 531)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 4 continue draining session frameStart events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: PowerServiceCore:handleRequests: timePassed = 4505
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Ignoring error as sensor is in error and ViCsi should be closing!
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function startCaptureInternal(), line 876)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 5 continue draining session frameStart events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Ignoring error as sensor is in error and ViCsi should be closing!
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function startCaptureInternal(), line 876)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 6 continue draining session frameStart events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse All captures are already pending, no idle captures available in:/capture/src/fusaViHandler.cpp 628
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 5 draining session frameEnd events 2
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 6 draining session frameEnd events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse  propagating from:/capture/src/fusaViHandler.cpp 470
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse All captures are already pending, no idle captures available in:/capture/src/fusaViHandler.cpp 628
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse  propagating from:/capture/src/fusaViHandler.cpp 470
^C
lstd@lstd-desktop:~/Desktop/bobo$ 


teacher:
I would like to add that according to the manufacturer’s instructions for IMX219, I connected PIN11 and PIN12 together and then connected them to Came3V3 (disconnected from ORIN nano’s cam0_pdwn).
PIN12 is the LED startup port. Do you know if this conflicts with the device tree?

Looks like unable capture frame data from the sensor.

Confirm by v4l2-ctl --stream-mmap -c bypass_mode=0

6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 0 draining session frameStart events 3
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]:  (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 531)

After running, the result is as follows:

lstd@lstd-desktop:~$ v4l2-ctl --stream-mmap -c bypass_mode=0
VIDIOC_S_EXT_CTRLS: failed: Device or resource busy
bypass_mode: Device or resource busy
		VIDIOC_REQBUFS returned -1 (Device or resource busy)
lstd@lstd-desktop:~$ v4l2-ctl --stream-mmap -c bypass_mode=0
VIDIOC_S_EXT_CTRLS: failed: Device or resource busy
bypass_mode: Device or resource busy
		VIDIOC_REQBUFS returned -1 (Device or resource busy)
lstd@lstd-desktop:~$ 

kill the daemon to run the v4l2-ctl again.

sudo service nvargus-daemon restart
v4l2-ctl --stream-mmap -c bypass_mode=0

After running, the result is as follows:

lstd@lstd-desktop:~$ sudo service nvargus-daemon stop
[sudo] password for lstd: 
lstd@lstd-desktop:~$ sudo pkill -f nvargus
lstd@lstd-desktop:~$ ps aux | grep nvargus
lstd       29869  0.0  0.0  11524   672 pts/2    S+   16:05   0:00 grep --color=auto nvargus
lstd@lstd-desktop:~$ v4l2-ctl --stream-mmap -c bypass_mode=0
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<^C
lstd@lstd-desktop:~$ sudo service nvargus-daemon restart
lstd@lstd-desktop:~$ v4l2-ctl --stream-mmap -c bypass_mode=0
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.01 fps
<<<<<<<<<<<<<<<<<^C
lstd@lstd-desktop:~$