Can not use 4 cameras in one gmsl group

Hello Nvidia:
Now I am using 4 cameras IMX490,to run at same time.but failed as :
DriveOs:
nvidia@tegra-ubuntu:~/drive_os_samples$ ./nvsipl_camera -c “IMX490_RGGB_CPHY_x2” --link-enable-masks “0x0000 0x1111 0x0000 0x0000” -d 0 -w 1
MAX96712: Revision 2 detected
MAX96712 Rev 2: Link 0: Tx amplitude 0x28, 0x68, 0xb3, 0x72, 0xd2
MAX96712 Rev 2 manual adaptation on the link 0 (31)
MAX96712 Rev 2: Link 1: Tx amplitude 0x28, 0x68, 0xb3, 0x72, 0xd2
MAX96712 Rev 2 manual adaptation on the link 1 (31)
MAX96712 Rev 2: Link 2: Tx amplitude 0x28, 0x68, 0xb3, 0x72, 0xd2
MAX96712 Rev 2 manual adaptation on the link 2 (31)
MAX96712 Rev 2: Link 3: Tx amplitude 0x28, 0x68, 0xb3, 0x72, 0xd2
MAX96712 Rev 2 manual adaptation on the link 3 (31)
MAX9295: Revision 8 detected!
Sensor IMX490 Rev 8 RGGB detected!
MAX9295: Revision 8 detected!
Sensor IMX490 Rev 8 RGGB detected!
MAX9295: Revision 8 detected!
Sensor IMX490 Rev 8 RGGB detected!
MAX9295: Revision 8 detected!
Sensor IMX490 Rev 8 RGGB detected!
Module_id 22 Severity 6 : NvMediaICPCreateEx 76
Module_id 22 Severity 6 : T19x VI version 0x000019
nvsipl_camera: Opened NITO file for module “IMX490_RGGB”
nvsipl_camera: Opened NITO file for module “IMX490_RGGB”
nvsipl_camera: Opened NITO file for module “IMX490_RGGB”
nvsipl_camera: Opened NITO file for module “IMX490_RGGB”
Enter ‘ld’ to list display-able outputs.
Enter ‘e’ followed by ‘ID’ to enable display for specific camera group
Enter ‘les’ followed by sensor ID to enable LED
Enter ‘lds’ followed by sensor ID to disable LED
Enter ‘q’ to quit the application

EngineStatusError (2), Detailed Error Code: 00020000 at StreamId:2 vcId:3 CSIFrameId:0 notified-bits:40000200000
nvsipl_camera: ERROR: Pipeline: 7, NOTIF_ERROR_ICP_BAD_INPUT_STREAM

EngineStatusError (2), Detailed Error Code: 00020000 at StreamId:2 vcId:3 CSIFrameId:0 notified-bits:40000000000
nvsipl_camera: ERROR: Pipeline: 7, NOTIF_ERROR_ICP_BAD_INPUT_STREAM

EngineStatusError (2), Detailed Error Code: 00020000 at StreamId:2 vcId:1 CSIFrameId:0 notified-bits:40000200000
nvsipl_camera: ERROR: Pipeline: 5, NOTIF_ERROR_ICP_BAD_INPUT_STREAM

EngineStatusError (2), Detailed Error Code: 00020000 at StreamId:2 vcId:0 CSIFrameId:0 notified-bits:40000200000
nvsipl_camera: ERROR: Pipeline: 4, NOTIF_ERROR_ICP_BAD_INPUT_STREAM

EngineStatusError (2), Detailed Error Code: 00020000 at StreamId:2 vcId:2 CSIFrameId:0 notified-bits:40000200000
nvsipl_camera: ERROR: Pipeline: 6, NOTIF_ERROR_ICP_BAD_INPUT_STREAM

EngineStatusError (2), Detailed Error Code: 00020000 at StreamId:2 vcId:3 CSIFrameId:0 notified-bits:40000000000
EngineStatusError (2), Detailed Error Code: 00020000 at StreamId:2 vcId:1 CSIFrameId:0 notified-bits:40000000000
EngineStatusError (2), Detailed Error Code: 00020000 at StreamId:2 vcId:2 CSIFrameId:0 notified-bits:40000000000
nvsipl_camera: ERROR: Pipeline: 6, NOTIF_ERROR_ICP_BAD_INPUT_STREAM

DriveWorks:
[29-01-2022 02:31:19] CameraModule index: 4
[29-01-2022 02:31:19] Name :IMX490_RGGB
[29-01-2022 02:31:19] Description: Sony IMX490 RGGB module - 120-deg FOV, MIPI-IMX490, MAX9295
[29-01-2022 02:31:19] Serializer name: MAX9295
[29-01-2022 02:31:19] Serializer description: Maxim 9295 Serializer
[29-01-2022 02:31:19] Serializer i2cAdress: 98
[29-01-2022 02:31:19] Sensor ID: 3
[29-01-2022 02:31:19] Sensor name: IMX490
[29-01-2022 02:31:19] Sensor description: Sony IMX490 Sensor
[29-01-2022 02:31:19] Sensor i2cAddress: 26
[29-01-2022 02:31:19] Sensor isTPGEnabled: 0
[29-01-2022 02:31:19] Sensor isTriggerMode: 1
[29-01-2022 02:31:19] cfa: 33
[29-01-2022 02:31:19] embeddedTopLines: 1
[29-01-2022 02:31:19] embeddedBottomLines: 6
[29-01-2022 02:31:19] inputFormat: 8
[29-01-2022 02:31:19] height: 1876
[29-01-2022 02:31:19] width: 2896
[29-01-2022 02:31:19] fps: 30.0000000
[29-01-2022 02:31:19] Embedded Data: 0
[29-01-2022 02:31:19] CameraMaster::setOutputDescription Setting output consumer descriptors for sensor: OutputType: 1
[29-01-2022 02:31:19] CameraMaster::setOutputDescription Setting output consumer descriptors for sensor: OutputType: 1
[29-01-2022 02:31:19] CameraMaster::setOutputDescription Setting output consumer descriptors for sensor: OutputType: 1
[29-01-2022 02:31:19] CameraMaster::setOutputDescription Setting output consumer descriptors for sensor: OutputType: 1
[29-01-2022 02:31:19] Client, setting pipeline config for camera ID 0
sample_camera: CNvMCamera.cpp: 107: SetPipelineCfg: Invalid pipeline:0
[29-01-2022 02:31:19] CameraClient: Failed to set Pipeline configuration for client with id 0, status 1
[29-01-2022 02:31:19] Driveworks exception thrown: DW_NVMEDIA_ERROR: CameraClient: Failed to set pipeline configuration!

Thanks
bin

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
[] DRIVE OS Linux 5.2.0
[
] DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
[*] NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
[*] 1.7.1.8928
other

Host Machine Version
[*] native Ubuntu 18.04
other

And if use enable-link like “0x0000 0x0001 0x0000 0x0000” it works.
And if use enable-link like “0x0000 0x1110 0x0000 0x0000” it works.

So i am sure the camera use one or two and three will work,but all of the four cameras can not run at same time.

Dear @lb_tusimple,
We will check internally and update you

Dear @lb_tusimple,
As per DRIVE Ecosystem - Hardware and Software | NVIDIA Developer , Please contact Sony for issues with this sensor on DRIVE OS 5.2.0.
Besides that, Could you check running /nvsipl_camera -c “IMX490_RGGB_CPHY_x4” --link-enable-masks “0x0000 0x1111 0x0000 0x0000” -d 0 -w 1 if it helps?

Thanks ,
I tried this x4 config and it works!
Bin

1 Like

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