DriveWorks sample_camera does not work with Sony IMX728

Hello NVIDIA Support Team,
We are currently trying to verify camera image capture on a DRIVE AGX Thor by connecting Sony cameras and running the DriveWorks sample application sample_camera.
However, when we run sample_camera, warning messages continue to be printed repeatedly, and no camera image is displayed or captured.
In addition, the application becomes unresponsive and cannot be terminated normally, even with Ctrl+C.
We are able to successfully display camera images with nvsipl_camera, but the issue occurs when running the DW sample_camera.
The environment is shown below. Could you please let us know if there is anything incorrect in our setup or configuration?

Environment

Platform: NVIDIA DRIVE AGX Thor
P/N: 940-63960-0010-000
DRIVE OS Version: DRIVE OS 7.0.3.0-41012141
Deserializer: MAX96724

Cameras and Connections

IMX728EVB-MSH-SMM17 CSI-GH Link0​
IMX728EVB-MLH-SMM3 CSI-GH Link1​
IMX728EVB-MLH-SMM1 CSI-GH Link2

The Sony camera driver has already been installed.

Command

./sample_camera --rig

We tested both of the following configurations:

Pattern A: All three cameras are specified in the rig file.

rig file

{
    "rig": {
        "sensors": [
            {
                "name": "IMX728EVB-MSH-SMM17",
                "nominalSensor2Rig_FLU": {
                    "roll-pitch-yaw": [
                        0.0,
                        0.0,
                        0.0
                    ],
                    "t": [
                        1.8621,
                        -0.1939,
                        1.3165
                    ]
                },
                "parameter": "camera-name=IMX728_RGGB,interface=csi-gh,deserializer=MAX96724_Fusa_nv,disable-custintf=1,skip-eeprom=1,CPHY-mode=1,link=0,output-format=processed,fifo-size=4,async-record=1,file-buffer-size=16777216,format=mp4,nito-file=/usr/share/camera/IMX728_RGGB_FoV120.nito",
                "properties": {
                    "Model": "ftheta",
                    "bw-poly": "0.000000000000000 5.35356812179089e-4 4.99266072928606e-10 4.27370422037554e-12 -6.68245573791717e-16",
                    "cx": "1927.764404",
                    "cy": "1096.686646",
                    "height": "2160",
                    "width": "3840"
                },
                
                "protocol": "camera.gmsl"
            },
            {
                "name": "IMX728EVB-MLH-SMM3",
                "nominalSensor2Rig_FLU": {
                    "roll-pitch-yaw": [
                        0.0,
                        0.0,
                        0.0
                    ],
                    "t": [
                        1.8621,
                        -0.1939,
                        1.3165
                    ]
                },
                "parameter": "camera-name=IMX728_RGGB,interface=csi-gh,deserializer=MAX96724_Fusa_nv,disable-custintf=1,skip-eeprom=1,CPHY-mode=1,link=1,output-format=processed,fifo-size=4,async-record=1,file-buffer-size=16777216,format=mp4,nito-file=/usr/share/camera/IMX728_RGGB_FoV120.nito",
                "properties": {
                    "Model": "ftheta",
                    "bw-poly": "0.000000000000000 5.35356812179089e-4 4.99266072928606e-10 4.27370422037554e-12 -6.68245573791717e-16",
                    "cx": "1927.764404",
                    "cy": "1096.686646",
                    "height": "2160",
                    "width": "3840"
                },
                
                "protocol": "camera.gmsl"
            },
            {
                "name": "IMX728EVB-MLH-SMM1",
                "nominalSensor2Rig_FLU": {
                    "roll-pitch-yaw": [
                        0.0,
                        0.0,
                        0.0
                    ],
                    "t": [
                        1.8621,
                        -0.1939,
                        1.3165
                    ]
                },
                "parameter": "camera-name=IMX728_RGGB,interface=csi-gh,deserializer=MAX96724_Fusa_nv,disable-custintf=1,skip-eeprom=1,CPHY-mode=1,link=2,output-format=processed,fifo-size=4,async-record=1,file-buffer-size=16777216,format=mp4,nito-file=/usr/share/camera/IMX728_RGGB_FoV30.nito",
                "properties": {
                    "Model": "ftheta",
                    "bw-poly": "0.000000000000000 5.35356812179089e-4 4.99266072928606e-10 4.27370422037554e-12 -6.68245573791717e-16",
                    "cx": "1927.764404",
                    "cy": "1096.686646",
                    "height": "2160",
                    "width": "3840"
                },
                
                "protocol": "camera.gmsl"
            }
        ],
        "vehicle": {
            "valid": false
        }
    },
    "version": 2
}

result
log_20261116_sample_camera_all.txt (328.3 KB)

Warnings / Errors observed

  • NOTIF_WARN_ICP_FRAME_DROP
  • NOTIF_ERROR_DESERIALIZER_FAILURE
  • DW_NOT_READY
  • NOTIF_WARN_ICP_CAPTURE_TIMEOUT
  • Deserializer Error Buffer

Pattern B: Only one camera is specified in the rig file.

rig file

{
    "rig": {
        "sensors": [
            {
                "name": "IMX728EVB-MLH-SMM1",
                "nominalSensor2Rig_FLU": {
                    "roll-pitch-yaw": [
                        0.0,
                        0.0,
                        0.0
                    ],
                    "t": [
                        1.8621,
                        -0.1939,
                        1.3165
                    ]
                },
                "parameter": "camera-name=IMX728_RGGB,interface=csi-gh,deserializer=MAX96724_Fusa_nv,disable-custintf=1,skip-eeprom=1,CPHY-mode=1,link=2,output-format=processed,fifo-size=4,async-record=1,file-buffer-size=16777216,format=mp4,nito-file=/usr/share/camera/IMX728_RGGB_FoV30.nito",
                "properties": {
                    "Model": "ftheta",
                    "bw-poly": "0.000000000000000 5.35356812179089e-4 4.99266072928606e-10 4.27370422037554e-12 -6.68245573791717e-16",
                    "cx": "1927.764404",
                    "cy": "1096.686646",
                    "height": "2160",
                    "width": "3840"
                },
                
                "protocol": "camera.gmsl"
            }
        ],
        "vehicle": {
            "valid": false
        }
    },
    "version": 2
}

result
log_20261116_sample_camera_30_SMM1.txt (45.0 KB)

Warnings / Errors observed

  • NOTIF_ERROR_DESERIALIZER_FAILURE
  • DW_NOT_READY
  • NOTIF_WARN_ICP_CAPTURE_TIMEOUT
  • Deserializer Error Buffer

For Pattern B, we tested each camera individually, and all cameras exhibited the same behavior.

Thank you for your support.

Dear @ryo.takano.qq ,
Could you share the working nvsipl_camera command and /var/log/syslog. dmesg when running nvsipl_camera. Also, is there any dependence on DOS 7.0.3 or can be upgraded to latest release?

Hello @SivaRamaKrishnaNV,
Thank you for the reply.

The /var/log/syslog file is approximately 480MB in size.
Therefore, instead of attaching the entire file, I have attached output of journalctl -b.

Please let me know if you need the complete syslog file.

Working nvsipl_camera command:

To execute

$ cd /opt/nvidia/drive-linux/samples/nvmedia/nvsipl/test/camera/
$ sudo systemctl stop gdm
$ ./nvsipl_camera -c IMX728_96724_RGGB_CPHY_x4 --link-enable-masks “0x0000 0x0000 0x0000 0x0111” -d 1

To quit

$ q
$ sudo systemctl start gdm

Attached Files:

journalctl output
journal_boot.txt (11.7 MB)

dmesg
dmesg_nvsipl_camera.txt (126.1 KB)

We would prefer to use the camera input on DRIVE OS 7.0.3.
Do you think upgrading to 7.2.5 is likely to resolve this issue?

Please let me know if you need any additional information.

Best regards.

Hello,

I would like to follow up on this issue.
Are there any update s on this?

Thank you for your support.

Dear @ryo.takano.qq ,

---------- START PLATFORM CONFIGURATION ----------
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425310278] Module_id 30 Severity 5 : platform:
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425312843] Module_id 30 Severity 5 : platformConfig: IMX728_96724_RGGB_CPHY_x4
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425314667] Module_id 30 Severity 5 : description: IMX728 RGGB module in 4 lane cphy mode
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425317908] Module_id 30 Severity 5 : numDeviceBlocks: 1
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425320074] Module_id 30 Severity 5 : DeviceBlockInfo deviceBlockList 0
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425322195] Module_id 30 Severity 5 : -csiPort: 11
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425323574] Module_id 30 Severity 5 : -phyMode: 1
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425325093] Module_id 30 Severity 5 : -i2cDevice: 1
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425326713] Module_id 30 Severity 5 : -DeserInfo deserInfo
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425328889] Module_id 30 Severity 5 : --name: MAX96724_Fusa_nv
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425330528] Module_id 30 Severity 5 : --description: Maxim 96724 Aggregator Fusa
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425332824] Module_id 30 Severity 5 : --i2cAddress: 0x000027
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425335574] Module_id 30 Severity 5 : --errGpios.size(): 2
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425337537] Module_id 30 Severity 5 : ---errGpios: 0
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425339297] Module_id 30 Severity 5 : ---status: false
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425340723] Module_id 30 Severity 5 : ---timeout(ms): 0
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425342362] Module_id 30 Severity 5 : ---errGpios: 1
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425343806] Module_id 30 Severity 5 : ---status: false
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425345334] Module_id 30 Severity 5 : ---timeout(ms): 0
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425346852] Module_id 30 Severity 5 : --useCDIv2API: false
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425348213] Module_id 30 Severity 5 : --resetAll: false
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425349797] Module_id 30 Severity 5 : -numCameraModules: 3
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425351352] Module_id 30 Severity 5 : -CameraModuleInfo cameraModuleInfoList 0
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425353093] Module_id 30 Severity 5 : --name: IMX728_RGGB
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425354649] Module_id 30 Severity 5 : --description: Sony IMX728 RGGB module, MAX96717, 30FPS
Nov 25 01:44:11 tegra-ubuntu nvsipl_camera[3228]: [TS:271425356056] Module_id 30 Severity 5 : --linkIndex: 0

From the nvsipl_camera logs, The used DW rig looks good.
Is /usr/share/camera/IMX728_RGGB_FoV30.nito provided by sony?

Please reboot target before you run the application to manek sure camera, system is stable state.
Could you use export DW_SIPL_NVMEDIA_VERBOSITY=4 before you run sample_camera. Clear the content in /var/log/syslog before running sample_camera. Share sample_camera, syslog. dmesg for the run.