Virtual acquisition with nvarguscamera on Jetson platform Xavier NX

Hello

We are developing a system based on FPD-Link III Deserializer Hub DS90UB954.
I modified the DTS to enable 4 channels on CAMERA_A and CAMERA_C (index 0 and 2). The channels are virtual and indexed as 0 and 1 in each VC_ID. Attached you will find the file dts for my configuration.

ingenium-rhead-mt9p031nv.dtsi.txt (14.0 KB)

The issue is

  • If i try to capture with V4L2 1 frame from VC_0 and VC_1 all works, I’m able to capture the frame correctly—> this means that the module and thephysical layer is correctly configured.
v4l2-ctl -d /dev/video0 --set-ctrl bypass_mode=0 --set-fmt-video=width=1280,height=720,pixelformat=GB12 --stream-mmap --stream-count=1 --stream-to=image0.raw

v4l2-ctl -d /dev/video1 --set-ctrl bypass_mode=0 --set-fmt-video=width=1280,height=720,pixelformat=GB12--stream-mmap --stream-count=1 --stream-to=image1.raw
  • If I try to capture from sensor-id=0 from gst, it works
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), width=1280, height=720, format=(string)NV12, framerate=(fraction)30/1' ! nvoverlaysink
  • If I try to capture from sensor-id=1 from gst, it doesn’t works
gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! ‘video/x-raw(memory:NVMM), width=1280, height=720, format=(string)NV12, framerate=(fraction)30/1' ! nvoverlaysink

Error is:

from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED

So it seems to be something related to the sections after the CSI part, I suppose.

What I need to do is acquire from the deserializer, that acquires 2 streams from 2 cameras, with virtual channel mode. The stream goes trought the CSI section (CSI_A, port 0 and 1).
I think that the v4l2 grabs data after CSI part, is it true? so I think that there is something after in VI part or after in ISP part to configure?
Maybe there is something related to the lanes? The input lanes are 4 (for 2 sensors in virtual channel mode, time multiplexed)


Other informations:

  • the device are created on /dev
  • this are the media information
videosystems@ubuntu:~$ sudo media-ctl -p -d /dev/media0
[sudo] password for videosystems: 
Media controller API version 0.1.0

Media device information
------------------------
driver          tegra194-vi5
model           NVIDIA Tegra Video Input Device
serial          
bus info        
hw revision     0x3
driver version  0.0.0

Device topology
- entity 1: 15a00000.nvcsi--4 (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev0
	pad0: Sink
		<- "mt9p031vs 9-005d":0 [ENABLED]
	pad1: Source
		-> "vi-output, mt9p031vs 9-005d":0 [ENABLED]

- entity 4: 15a00000.nvcsi--3 (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev1
	pad0: Sink
		<- "mt9p031vs 10-005d":0 [ENABLED]
	pad1: Source
		-> "vi-output, mt9p031vs 10-005d":0 [ENABLED]

- entity 7: 15a00000.nvcsi--2 (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev2
	pad0: Sink
		<- "mt9p031vs 11-005d":0 [ENABLED]
	pad1: Source
		-> "vi-output, mt9p031vs 11-005d":0 [ENABLED]

- entity 10: 15a00000.nvcsi--1 (2 pads, 2 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev3
	pad0: Sink
		<- "mt9p031vs 12-005d":0 [ENABLED]
	pad1: Source
		-> "vi-output, mt9p031vs 12-005d":0 [ENABLED]

- entity 13: mt9p031vs 9-005d (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev4
	pad0: Source
		[fmt:SGBRG12_1X12/1280x720 field:none colorspace:srgb]
		-> "15a00000.nvcsi--4":0 [ENABLED]

- entity 15: vi-output, mt9p031vs 9-005d (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video0
	pad0: Sink
		<- "15a00000.nvcsi--4":1 [ENABLED]

- entity 33: mt9p031vs 10-005d (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev5
	pad0: Source
		[fmt:SGBRG12_1X12/1280x720 field:none colorspace:srgb]
		-> "15a00000.nvcsi--3":0 [ENABLED]

- entity 35: vi-output, mt9p031vs 10-005d (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video1
	pad0: Sink
		<- "15a00000.nvcsi--3":1 [ENABLED]

- entity 45: mt9p031vs 11-005d (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev6
	pad0: Source
		[fmt:SGBRG12_1X12/1280x720 field:none colorspace:srgb]
		-> "15a00000.nvcsi--2":0 [ENABLED]

- entity 47: vi-output, mt9p031vs 11-005d (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video2
	pad0: Sink
		<- "15a00000.nvcsi--2":1 [ENABLED]

- entity 57: mt9p031vs 12-005d (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev7
	pad0: Source
		[fmt:SGBRG12_1X12/1280x720 field:none colorspace:srgb]
		-> "15a00000.nvcsi--1":0 [ENABLED]

- entity 59: vi-output, mt9p031vs 12-005d (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video3
	pad0: Sink
		<- "15a00000.nvcsi--1":1 [ENABLED]

Does camera #3 have the same problem?
Could you get the daemon log.

sudo journalctl -u nvargus-daemon -f

Hello Shane

Yes, in total I want to acquire from 4 cameras (CAMERA_A VC_ID 0 & 1, and CAMERA_C VC_ID 0 & 1).
So for camera 3 (the last) is the same thing. I can capture from camera 2 but not from camera 3.

Attached the log you requested, trying to capture from camera 1.

-- Logs begin at Tue 2024-11-05 11:51:20 CET. --
Nov 06 14:01:57 ubuntu nvargus-daemon[4688]: SCF: Error InvalidState:  (propagating from src/services/capture/NvCaptureViCsiHw.cpp, function startCaptureInternal(), line 593)
Nov 06 14:01:57 ubuntu nvargus-daemon[4688]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureRecord.cpp, function doCSItoMemCapture(), line 532)
Nov 06 14:01:57 ubuntu nvargus-daemon[4688]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureRecord.cpp, function issueCapture(), line 469)
Nov 06 14:01:57 ubuntu nvargus-daemon[4688]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1295)
Nov 06 14:01:57 ubuntu nvargus-daemon[4688]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueBubbleFillCapturesIfNeeded(), line 678)
Nov 06 14:01:57 ubuntu nvargus-daemon[4688]: SCF: Error InvalidState:  (propagating from src/services/capture/CaptureServiceDevice.cpp, function issueCaptures(), line 1137)
Nov 06 14:01:57 ubuntu nvargus-daemon[4688]: SCF: Error InvalidState:  (propagating from src/common/Utils.cpp, function workerThread(), line 116)
Nov 06 14:01:57 ubuntu nvargus-daemon[4688]: SCF: Error InvalidState: Worker thread CaptureScheduler frameStart failed (in src/common/Utils.cpp, function workerThread(), line 133)
Nov 06 14:02:06 ubuntu nvargus-daemon[4688]: SCF: Error Timeout:  (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
Nov 06 14:02:06 ubuntu nvargus-daemon[4688]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc

Hello

I tried the same command to log also when correctly acquiring with camera 0

-- Logs begin at Wed 2024-11-06 14:42:10 CET. --
Nov 06 14:42:13 ubuntu systemd[1]: Started Argus daemon.
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: === NVIDIA Libargus Camera Service (0.98.3)=== Listening for connections...=== video-viewer[8176]: Connection established (7F7F4711D0)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module2
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module3
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclHwGetModuleList: No module data found
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclHwGetModuleList: No module data found
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclHwGetModuleList: No module data found
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclHwGetModuleList: No module data found
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: ---- imager: Found override file [/var/nvidia/nvcam/settings/camera_overrides.isp]. ----
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 18: Error: Invalid isp config attribute: "sensor.companding.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 19: Error: Invalid isp config attribute: "sensor.companding.LUT={2048,2048,65536,3040,1048576,4000,1048576,4096}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 20: Error: Invalid isp config attribute: "scene.brightnessKey={0.01,0.02,0.05,0.1,0.2,0.5,1}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 21: Error: Invalid isp config attribute: "scene.toneTable.axisX={10,100,1000,10000}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 22: Error: Invalid isp config attribute: "scene.toneTable.axisY={30,60,90,120}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 23: Error: Invalid isp config attribute: "saturation.strength={0.0,0,0,0,0,0,0}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 24: Error: Invalid isp config attribute: "noiseReduction.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 25: Error: Invalid isp config attribute: "sharpness.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 26: Error: Invalid isp config attribute: "gtm.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 27: Error: Invalid isp config attribute: "gtm.preset[0]={0,0,0.25,0.25,0.5,0.5,0.75,0.75,1,1}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 28: Error: Invalid isp config attribute: "dae.mode=0"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 29: Error: Invalid isp config attribute: "dae.enableGammaPQ=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 30: Error: Invalid isp config attribute: "dae.EVCompensation=0.0"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 31: Error: Invalid isp config attribute: "dae.highlightControl=0.5"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 32: Error: Invalid isp config attribute: "dae.shadowControl=0.5"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 33: Error: Invalid isp config attribute: "ltm.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 34: Error: Invalid isp config attribute: "ltm.enableLf=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 38: Error: Invalid isp config attribute: "ltm.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 39: Error: Invalid isp config attribute element: "awb.nightmode.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 40: Error: Invalid isp config attribute element: "awb.nightmode.gains={2.5,1,1,3.2}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 41: Error: Invalid isp config attribute: "em.initialState=0"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 42: Error: Invalid isp config attribute: "em.thresholdLow=2080"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 43: Error: Invalid isp config attribute: "em.thresholdHigh=3232"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 47: Error: Invalid isp config attribute: "em.preset[0].wbgains={1.5,1.0,1.0,1.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 51: Error: Invalid isp config attribute: "em.preset[1].wbgains={1.5,1.0,1.0,1.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: CAM: serial no file already exists, skips storing again---- imager: Found override file [/var/nvidia/nvcam/settings/camera_overrides.isp]. ----
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 18: Error: Invalid isp config attribute: "sensor.companding.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 19: Error: Invalid isp config attribute: "sensor.companding.LUT={2048,2048,65536,3040,1048576,4000,1048576,4096}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 20: Error: Invalid isp config attribute: "scene.brightnessKey={0.01,0.02,0.05,0.1,0.2,0.5,1}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 21: Error: Invalid isp config attribute: "scene.toneTable.axisX={10,100,1000,10000}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 22: Error: Invalid isp config attribute: "scene.toneTable.axisY={30,60,90,120}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 23: Error: Invalid isp config attribute: "saturation.strength={0.0,0,0,0,0,0,0}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 24: Error: Invalid isp config attribute: "noiseReduction.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 25: Error: Invalid isp config attribute: "sharpness.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 26: Error: Invalid isp config attribute: "gtm.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 27: Error: Invalid isp config attribute: "gtm.preset[0]={0,0,0.25,0.25,0.5,0.5,0.75,0.75,1,1}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 28: Error: Invalid isp config attribute: "dae.mode=0"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 29: Error: Invalid isp config attribute: "dae.enableGammaPQ=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 30: Error: Invalid isp config attribute: "dae.EVCompensation=0.0"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 31: Error: Invalid isp config attribute: "dae.highlightControl=0.5"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 32: Error: Invalid isp config attribute: "dae.shadowControl=0.5"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 33: Error: Invalid isp config attribute: "ltm.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 34: Error: Invalid isp config attribute: "ltm.enableLf=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 38: Error: Invalid isp config attribute: "ltm.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 39: Error: Invalid isp config attribute element: "awb.nightmode.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 40: Error: Invalid isp config attribute element: "awb.nightmode.gains={2.5,1,1,3.2}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 41: Error: Invalid isp config attribute: "em.initialState=0"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 42: Error: Invalid isp config attribute: "em.thresholdLow=2080"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 43: Error: Invalid isp config attribute: "em.thresholdHigh=3232"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 47: Error: Invalid isp config attribute: "em.preset[0].wbgains={1.5,1.0,1.0,1.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 51: Error: Invalid isp config attribute: "em.preset[1].wbgains={1.5,1.0,1.0,1.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: CAM: serial no file already exists, skips storing again---- imager: Found override file [/var/nvidia/nvcam/settings/camera_overrides.isp]. ----
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 18: Error: Invalid isp config attribute: "sensor.companding.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 19: Error: Invalid isp config attribute: "sensor.companding.LUT={2048,2048,65536,3040,1048576,4000,1048576,4096}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 20: Error: Invalid isp config attribute: "scene.brightnessKey={0.01,0.02,0.05,0.1,0.2,0.5,1}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 21: Error: Invalid isp config attribute: "scene.toneTable.axisX={10,100,1000,10000}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 22: Error: Invalid isp config attribute: "scene.toneTable.axisY={30,60,90,120}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 23: Error: Invalid isp config attribute: "saturation.strength={0.0,0,0,0,0,0,0}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 24: Error: Invalid isp config attribute: "noiseReduction.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 25: Error: Invalid isp config attribute: "sharpness.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 26: Error: Invalid isp config attribute: "gtm.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 27: Error: Invalid isp config attribute: "gtm.preset[0]={0,0,0.25,0.25,0.5,0.5,0.75,0.75,1,1}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 28: Error: Invalid isp config attribute: "dae.mode=0"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 29: Error: Invalid isp config attribute: "dae.enableGammaPQ=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 30: Error: Invalid isp config attribute: "dae.EVCompensation=0.0"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 31: Error: Invalid isp config attribute: "dae.highlightControl=0.5"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 32: Error: Invalid isp config attribute: "dae.shadowControl=0.5"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 33: Error: Invalid isp config attribute: "ltm.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 34: Error: Invalid isp config attribute: "ltm.enableLf=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 38: Error: Invalid isp config attribute: "ltm.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 39: Error: Invalid isp config attribute element: "awb.nightmode.enable=FALSE"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 40: Error: Invalid isp config attribute element: "awb.nightmode.gains={2.5,1,1,3.2}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 41: Error: Invalid isp config attribute: "em.initialState=0"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 42: Error: Invalid isp config attribute: "em.thresholdLow=2080"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 43: Error: Invalid isp config attribute: "em.thresholdHigh=3232"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 47: Error: Invalid isp config attribute: "em.preset[0].wbgains={1.5,1.0,1.0,1.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 51: Error: Invalid isp config attribute: "em.preset[1].wbgains={1.5,1.0,1.0,1.5}"
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: CAM: serial no file already exists, skips storing again---- imager: Found override file [/var/nvidia/nvcam/settings/camera_overrides.isp]. ----
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256)
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: (NvCamV4l2) Error ModuleNotPresent:  (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60)
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: (NvOdmDevice) Error ModuleNotPresent:  (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclStartPlatformDrivers: Failed to start module drivers
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclStateControllerOpen: Failed ImagerGUID 2. (error 0xA000E)
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: NvPclOpen: PCL Open Failed. Error: 0xf
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 593)
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 437)
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 305)
Nov 06 14:45:24 ubuntu nvargus-daemon[4648]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 471)
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: Acquiring SCF Camera device source via index 3 has failed. === video-viewer[8176]: CameraProvider initialized (0x7f788a3810)NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 18: Error: Invalid isp config attribute: "sensor.companding.enable=FALSE"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 19: Error: Invalid isp config attribute: "sensor.companding.LUT={2048,2048,65536,3040,1048576,4000,1048576,4096}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 20: Error: Invalid isp config attribute: "scene.brightnessKey={0.01,0.02,0.05,0.1,0.2,0.5,1}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 21: Error: Invalid isp config attribute: "scene.toneTable.axisX={10,100,1000,10000}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 22: Error: Invalid isp config attribute: "scene.toneTable.axisY={30,60,90,120}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 23: Error: Invalid isp config attribute: "saturation.strength={0.0,0,0,0,0,0,0}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 24: Error: Invalid isp config attribute: "noiseReduction.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 25: Error: Invalid isp config attribute: "sharpness.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 26: Error: Invalid isp config attribute: "gtm.enable=FALSE"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 27: Error: Invalid isp config attribute: "gtm.preset[0]={0,0,0.25,0.25,0.5,0.5,0.75,0.75,1,1}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 28: Error: Invalid isp config attribute: "dae.mode=0"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 29: Error: Invalid isp config attribute: "dae.enableGammaPQ=FALSE"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 30: Error: Invalid isp config attribute: "dae.EVCompensation=0.0"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 31: Error: Invalid isp config attribute: "dae.highlightControl=0.5"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 32: Error: Invalid isp config attribute: "dae.shadowControl=0.5"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 33: Error: Invalid isp config attribute: "ltm.enable=FALSE"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 34: Error: Invalid isp config attribute: "ltm.enableLf=FALSE"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 38: Error: Invalid isp config attribute: "ltm.strength={0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 39: Error: Invalid isp config attribute element: "awb.nightmode.enable=FALSE"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 40: Error: Invalid isp config attribute element: "awb.nightmode.gains={2.5,1,1,3.2}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 41: Error: Invalid isp config attribute: "em.initialState=0"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 42: Error: Invalid isp config attribute: "em.thresholdLow=2080"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 43: Error: Invalid isp config attribute: "em.thresholdHigh=3232"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 47: Error: Invalid isp config attribute: "em.preset[0].wbgains={1.5,1.0,1.0,1.5}"
Nov 06 14:45:25 ubuntu nvargus-daemon[4648]: NvCameraIspConfigFileLoad: type = 0x75 Config file "camera_overrides.isp" Line 51: Error: Invalid isp config attribute: "em.preset[1].wbgains={1.5,1.0,1.0,1.5}"

Hello

another thing to consider is:

  1. using “nvargus_nvraw --lps” I can’t see all the sensors attached, but the same of port 0 repeated 3 times
videosystems@ubuntu:~$ nvargus_nvraw --lps
nvargus_nvraw version 1.11.0
Number of supported sensor entries 3
Entry  Source Mode      Uniquename             Resolution   FR  BitDepth  Mode
Index  Index  Index                                             CSI Dyn   Type
  0      0      0   porg_bottomleft_jetson_cam0   1280x 720   59  12  12    Bayer       
  1      1      0   porg_bottomleft_jetson_cam0   1280x 720   59  12  12    Bayer       
  2      2      0   porg_bottomleft_jetson_cam0   1280x 720   59  12  12    Bayer    
  1. This are the connections using DOT

Looks like timeout to get the frame.
What’s the version?

cat /etc/nv_tegra_release

Hello Shane

at the end yesterday night I found a way to acquire simultaneously, but I’m investigating why.

My attention went to the “vi-output” part, see the image generated using DOT.
I found that the system by itself generated the sensor device nodes starting from 9-005d to 12-005d.

In the DTS, attached before, I wrote the modules defining device devname starting from 10-005d

modules {
			
			cam_module0: module0 {
				cam_module0_drivernode0: drivernode0 {
					devname = "mt9p031vs 10-005d";   /* ERROR --> must be 9-005D */
				};
			};

			cam_module1: module1 {
				cam_module1_drivernode0: drivernode0 {
					devname = "mt9p031vs 11-005d"; /* ERROR --> must be 10-005D */
				};
			};

			cam_module2: module2 {
				cam_module2_drivernode0: drivernode0 {
					devname = "mt9p031vs 12-005d"; /* ERROR --> must be 11-005D */
				};
			};

			cam_module3: module3 {
				cam_module3_drivernode0: drivernode0 {
					devname = "mt9p031vs 13-005d"; /* ERROR --> must be 12-005D */
				};
			};
		};

Seems that was the mistake. Align the sensor starting from 9-005d in DTS seems that runs everything. The thing that I can’t still explaing is why something works with gst and why using V4L2 works everything, as because this is “extremely” important for the chain…

At the end, for others that will face this similar situation, check the “devname” parameter in modules, to be sure that all is aligned.
It seems that the system by itself generates the nodes starting from 9, but I don’t know why. Maybe is something related to the I2C multiplexer that generates 9,10,11,12 I2C virtual busses starting from I2C 8 that is the CAM_I2C bus for Jetson Xavier NX.

Last question for Shane, just to be sure. This is the output from nvargus_nraw. Now I see 1 camera modes related to 4 modules (one for each camera). Why the name of “uniquename” is the same? I aspected exactly the same name given in DTS in the “badge” field: bottemleft, bottomright…and so on. Why I’m reading this? Are other things to check?

videosystems@ubuntu:~$ nvargus_nvraw --lps
nvargus_nvraw version 1.11.0
Number of supported sensor entries 4
Entry  Source Mode      Uniquename             Resolution   FR  BitDepth  Mode
Index  Index  Index                                             CSI Dyn   Type
  0      0      0   porg_bottomleft_jetson_cam0   1280x 720   59  12  12    Bayer       
  1      1      0   porg_bottomleft_jetson_cam0   1280x 720   59  12  12    Bayer       
  2      2      0   porg_bottomleft_jetson_cam0   1280x 720   59  12  12    Bayer       
  3      3      0   porg_bottomleft_jetson_cam0   1280x 720   59  12  12    Bayer 

This problem should fixed in current release.
Please upgrade to latest release to confirm.

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