Camera pull stream error,gstreamer plugs nvarguscamerasrc had some quesiton?

We checked the electronics and wiring, found nothing wrong. This problem always occurs when the automatic startup program is started and the camera stream is pulled.

For example, the following one will go wrong, resulting in an error.
gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), format=(string)NV12,width=(int)1640, height=(int)1232, framerate=(fraction)30/1’ ! nvvidconv ! ‘video/x-raw, format=(string)I420, width=(int)1024, height=(int)600’ ! autovideosink

Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:736 Failed to create CaptureSession

Mar 16 07:26:55 localhost systemd[1]: Started Argus daemon.
Mar 16 07:27:14 linux nvargus-daemon[5632]: === NVIDIA Libargus Camera Service (0.98.3)=== Listening for connections…=== ac-gui[7769]: Connection established (7FA33CF1D0)OFPars
Mar 16 07:27:14 linux nvargus-daemon[5632]: NvPclHwGetModuleList: No module data found
Mar 16 07:27:14 linux nvargus-daemon[5632]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
Mar 16 07:27:14 linux nvargus-daemon[5632]: ---- imager: No override file found. ----
Mar 16 07:27:14 linux nvargus-daemon[5632]: LSC: LSC surface is not based on full res!
Mar 16 07:27:14 linux nvargus-daemon[5632]: === ac-gui[7769]: CameraProvider initialized (0x7f9c891670)LSC: LSC surface is not based on full res!
Mar 16 07:27:24 linux nvargus-daemon[5632]: SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Mar 16 07:27:24 linux nvargus-daemon[5632]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc

Hi,
It looks like sensor driver/device tree is not ready. Are you able to capture frames through v4l2-ctl command?

  • It looks like v4l is not supported,and A white screen will appear only when the stream starts to pull

Hi DaneLLL,
Can you tell me what command to use to capture frames?

Hi,
You may run $ v4l2-ctl --list-formats-ext to get supported modes(width,height,pixelformat) of the camera sensor. And run a command like:

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

Hi,
The result as below, the problem is same as liuoben

Hi,
It looks like the sensor driver and device tree are not ready. Please refer to sensor driver programming guide to enable the driver. Or you may consider use the existing camera modules from our partners.

But we get the same log whether it’s working fine or abnormally ,using the command “v4l2-ctl --list-formats-ext”&“v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=300”

Hi DaneLLL,
I would like to know what may cause this ‘gstnvarguscamerasrc’ error?Can you give us some suggestions? And the camera we used is IMX219.

Hi,
You would need to successfully capture frames trough v4l2-ctl command first and then try Argus. Currently the v4l2-ctl command fails to capture frames so the sensor driver is not ready yet. Please refer to sensor driver programming guide to enable driver and modify device tree for the device.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.