Nvsipl_camera --nvsci option gives NvSciSyncFenceWait failed error

Software Version
DRIVE OS 6.0.6

Target Operating System
Linux

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)

SDK Manager Version
1.9.2.10884
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager

The --nvsci option for the nvsipl_camera test program stopped working in the DRIVEOS 6.0.6 release. This option does work on 6.0.5. Using 6.0.6 without the --nvsci flag the nvsipl_camera program appears to work normally, as seen here:

root@ep:camera# ./nvsipl_camera -c "IMX728_RGGB_CPHY_x4" --showfps -d 1  -m "0x0110 0x0000 0x0000 0x0000"  --nvsci
MAX96712: Revision 5 detected
MAX96712 Link 1: PHY optimization was enabled
MAX96712 Link 2: PHY optimization was enabled
MAX96717: Revision 4 detected!
Sensor IMX728 Rev 3 RGGB detected!
MAX96717: Revision 4 detected!
Sensor IMX728 Rev 3 RGGB detected!
nvsipl_camera: Opened NITO file for module "IMX728_RGGB", file name: "/usr/share/camera/IMX728_RGGB.nito" 
nvsipl_camera: Opened NITO file for module "IMX728_RGGB", file name: "/usr/share/camera/IMX728_RGGB.nito" 
Enter 'ld' to list display-able outputs.
Enter 'e' followed by group ID and display 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 'dl' followed by sensor ID to disable the link
Enter 'el' followed by sensor ID to enable the link without module reset
Enter 'elr' followed by sensor ID to enable the link with module reset
Enter 'cm' to check the module availabilty
Enter 'q' to quit the application
-
nvsipl_camera: ERROR: NvSciSyncFenceWait failed. nvSciStatus: 256

Output
Sensor1_Out1	Frame rate (fps):		2.99989
Sensor1_Out2	Frame rate (fps):		2.99989
Sensor1_Out3	Frame rate (fps):		2.99989
Sensor2_Out1	Frame rate (fps):		2.99989
Sensor2_Out2	Frame rate (fps):		2.99989
Sensor2_Out3	Frame rate (fps):		2.99989

Output
Sensor1_Out1	Frame rate (fps):		0
Segmentation fault
root@ep:camera#
root@ep:camera# ./nvsipl_camera -c "IMX728_RGGB_CPHY_x4" --showfps -d 1  -m "0x0110 0x0000 0x0000 0x0000" 
MAX96712: Revision 5 detected
MAX96712 Link 1: PHY optimization was enabled
MAX96712 Link 2: PHY optimization was enabled
MAX96717: Revision 4 detected!
Sensor IMX728 Rev 3 RGGB detected!
MAX96717: Revision 4 detected!
Sensor IMX728 Rev 3 RGGB detected!
Pipeline: 1 ISP Output: 0 is using YUV 420 SEMI-PLANAR UINT8 BL REC_709ER
Pipeline: 1 ISP Output: 1 is using YUV 420 SEMI-PLANAR UINT8 BL REC_709ER
Pipeline: 1 ISP Output: 2 is using YUV 420 SEMI-PLANAR UINT8 BL REC_709ER
Pipeline: 2 ISP Output: 0 is using YUV 420 SEMI-PLANAR UINT8 BL REC_709ER
Pipeline: 2 ISP Output: 1 is using YUV 420 SEMI-PLANAR UINT8 BL REC_709ER
Pipeline: 2 ISP Output: 2 is using YUV 420 SEMI-PLANAR UINT8 BL REC_709ER
nvsipl_camera: Opened NITO file for module "IMX728_RGGB", file name: "/usr/share/camera/IMX728_RGGB.nito" 
nvsipl_camera: Opened NITO file for module "IMX728_RGGB", file name: "/usr/share/camera/IMX728_RGGB.nito" 
Enter 'ld' to list display-able outputs.
Enter 'e' followed by group ID and display 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 'dl' followed by sensor ID to disable the link
Enter 'el' followed by sensor ID to enable the link without module reset
Enter 'elr' followed by sensor ID to enable the link with module reset
Enter 'cm' to check the module availabilty
Enter 'q' to quit the application
-
Output
Sensor1_Out1	Frame rate (fps):		28.9988
Sensor1_Out2	Frame rate (fps):		28.9988
Sensor1_Out3	Frame rate (fps):		28.9988
Sensor2_Out1	Frame rate (fps):		28.9988
Sensor2_Out2	Frame rate (fps):		28.9988
Sensor2_Out3	Frame rate (fps):		28.9988

Output
Sensor1_Out1	Frame rate (fps):		29.999
Sensor1_Out2	Frame rate (fps):		29.999
Sensor1_Out3	Frame rate (fps):		29.999
Sensor2_Out1	Frame rate (fps):		29.999
Sensor2_Out2	Frame rate (fps):		29.999
Sensor2_Out3	Frame rate (fps):		29.999
... continues to stream video

I don’t see “./nvsipl_camera -h” lists this as a supported configuration. Can you please specify which IMX728 camera module( in the below links) you are using?

The cameras, which seem to be working fine, are:
Sony IMX728EVB-MLH-SMM1 Sony - IMX728 8.39 RGGB 30 Sunny - SF816 Contact Sensor Vendor Sony Sony

I have installed the Sony supplied drivers for DRIVEOS 6.0.6.

The problem is related to the --nvsci option, when the flag is not present the cameras stream video without any observable problems. Under DRIVEOS 6.0.5 the --nvsci option did not crash when using these cameras.

According to the below information from this ecosystem page, you should contact Sony for this issue. Thanks.

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