How to solve libargus error?

Hi,
I got raw image through libargus but the nvargus-daemon showed the log below, why did the error happen?

=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== vision_sensor[11569]: Connection established (7F72F311D0)NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
=== vision_sensor[11569]: CameraProvider initialized (0x7f6c6b3de0)LSC: LSC surface is not based on full res!
=== vision_sensor[11569]: CameraProvider destroyed (0x7f6c6b3de0)=== vision_sensor[11569]: WARNING: Cleaning up 1 outstanding requests...=== vision_sensor[11569]: WARNING: Cleaning up 1 outstanding queues...=== vision_sensor[11569]: WARNING: Cleaning up 1 outstanding streams...SCF: Error InvalidState: EGL stream producer destroyed. (in src/services/gl/EGLStreamProducer.cpp, function getBuffer(), line 345)
SCF: Error InvalidState:  (propagating from src/components/CaptureContainerImpl.cpp, function assignAllBuffersFromStream(), line 230)
SCF: Error InvalidState:  (propagating from src/components/stages/CCDataSetupStage.cpp, function doHandleRequest(), line 68)
SCF: Error InvalidState:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)
SCF: Error InvalidState: Sending critical error event (in src/api/Session.cpp, function sendErrorEvent(), line 990)
SCF: Error InvalidState: EGL stream producer destroyed. (in src/services/gl/EGLStreamProducer.cpp, function getBuffer(), line 345)
SCF: Error InvalidState:  (propagating from src/components/CaptureContainerImpl.cpp, function assignAllBuffersFromStream(), line 230)
SCF: Error InvalidState:  (propagating from src/components/stages/CCDataSetupStage.cpp, function doHandleRequest(), line 68)
SCF: Error InvalidState:  (propagating from src/components/stages/OrderedStage.cpp, function doExecute(), line 158)

The normal nvargus-daemon should be:

=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== vision_sensor[11864]: Connection established (7F767751D0)NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
---- imager: No override file found. ----
LSC: LSC surface is not based on full res!
=== vision_sensor[11864]: CameraProvider initialized (0x7f70a68230)LSC: LSC surface is not based on full res!
LSC: LSC surface is not based on full res!
=== vision_sensor[11864]: Connection closed (7F767751D0)=== vision_sensor[11864]: WARNING: CameraProvider was not destroyed before client connection terminated.=== vision_sensor[11864]:          The client may have abnormally terminated. Destroying CameraProvider...=== vision_sensor[11864]: CameraProvider destroyed (0x7f70a68230)=== vision_sensor[11864]: WARNING: Cleaning up 2 outstanding requests...=== vision_sensor[11864]: WARNING: Cleaning up 2 outstanding queues...=== vision_sensor[11864]: WARNING: Cleaning up 2 outstanding streams...=== vision_sensor[11864]: WARNING: Cleaning up 2 outstanding stream settings...=== vision_sensor[11864]: WARNING: Cleaning up 2 outstanding sessions.

hello buaa_hebiao,

those SCF failure messages indicate that you’re not able to process camera buffer correctly.
there’re two approaches to access camera sensors,
may I know had you please have an alternative way to access camera sensor with v4l2 standard controls,
for example,

$ v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=100