Hi,
I am using the driveworks sample_camera application for quanta camera. I have updated the rig.json accordingly.
I was successfully able to run nvsipl_camera and record in raw,yuv formats.
But when I run driveworks, i face this problem
nvidia@tegra-ubuntu:/usr/local/driveworks/samples/bin$ ./sample_camera --offscreen=2
sample_camera !
dw_samples::SamplesDataPath::get() : /usr/local/driveworks-5.10/data
ProgramArguments: Missing argument ‘dwTracePath’ requested
WindowEGL: find EGL devices
WindowEGL: found 1 EGL devices
WindowEGL: init EGL with GLES3 context
WindowEGL: bind OpenGLES3 API
WindowEGL: offscreen mode → use EGL PBuffer surface 1280x800
WindowEGL: create EGL context
WindowEGL: assign EGL context to current thread
[04-10-2023 12:26:35] Platform: Detected Drive Orin P3710
[04-10-2023 12:26:35] TimeSource: monotonic epoch time offset is 1696407401634844
[04-10-2023 12:26:35] TimeSourceVibranteLinux: detect valid PTP interface mgbe2_0
[04-10-2023 12:26:35] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to mgbe2_0
[04-10-2023 12:26:35] PTP Time is available from Eth Driver
[04-10-2023 12:26:35] Adding variable DW_Base:DW_Version
[04-10-2023 12:26:35] Added variable DW_Base:DW_Version
[04-10-2023 12:26:35] Platform: number of GPU devices detected 1
[04-10-2023 12:26:35] Platform: currently selected GPU device 0, Resource Data Dir: trt_08_05_10_03, Arch: ga10b
[04-10-2023 12:26:35] Platform: currently selected GPU device integrated ID 0
[04-10-2023 12:26:35] CUDLAEngine:getDLACount: CUDLA version is = 1003000
[04-10-2023 12:26:35] CUDLAEngine:getDLACount: Number of DLA devices = 2
[04-10-2023 12:26:35] Context::mountResourceCandidateDataPath resource FAILED to mount from ‘./resources’: VirtualFileSystem: Failed to mount ‘./resources/resources.pak’
[04-10-2023 12:26:35] Context::mountResourceCandidateDataPath resource FAILED to mount from ‘/usr/local/driveworks-5.10/samples/bin/data’: VirtualFileSystem: Failed to mount ‘/usr/local/driveworks-5.10/samples/bin/data/resources.pak’
[04-10-2023 12:26:35] Context::findDataRootInPathWalk data/DATA_ROOT found at: /usr/local/driveworks/data
[04-10-2023 12:26:35] Context::mountResourceCandidateDataPath resource FAILED to mount from ‘/usr/local/driveworks/data’: VirtualFileSystem: Failed to mount ‘/usr/local/driveworks/data/resources.pak’
[04-10-2023 12:26:35] Context::findDataRootInPathWalk data/DATA_ROOT found at: /usr/local/driveworks-5.10/data
[04-10-2023 12:26:35] Context::mountResourceCandidateDataPath resource FAILED to mount from ‘/usr/local/driveworks-5.10/data’: VirtualFileSystem: Failed to mount ‘/usr/local/driveworks-5.10/data/resources.pak’
[04-10-2023 12:26:35] Context::findResourcesPackageInPathWalk: Could not find ./resources/resources.pak in upto 7 parent directories from /usr/local/driveworks/lib/libdw_base.so.5.10
[04-10-2023 12:26:35] Context::findResourcesPackageInPathWalk: Could not find ./resources/resources.pak in upto 7 parent directories from /usr/local/driveworks-5.10/targets/aarch64-Linux/lib/libdw_base.so.5.10
[04-10-2023 12:26:35] SDK: No resources(.pak) mounted, some modules will not function properly
[04-10-2023 12:26:35] SDK: use EGL display as provided
[04-10-2023 12:26:35] TimeSource: monotonic epoch time offset is 1696407401634844
[04-10-2023 12:26:35] TimeSourceVibranteLinux: detect valid PTP interface mgbe2_0
[04-10-2023 12:26:35] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to mgbe2_0
[04-10-2023 12:26:35] PTP Time is available from Eth Driver
[04-10-2023 12:26:35] Initialize DriveWorks SDK v5.10.87
[04-10-2023 12:26:35] Release build with GNU 9.3.0 from buildbrain-branch-0-g9a5b4670e12 against Drive PDK v6.0.6.0
[04-10-2023 12:26:35] SensorFactory::createSensor() → time.nvpps, nvpps-device=/dev/nvpps0
[04-10-2023 12:26:35] Can not create time sensor: DW_HAL_CANNOT_OPEN_CHANNEL: EndpointNVPPS: cannot open NVPPS device with name: /dev/nvpps0
Error: Permission denied
[04-10-2023 12:26:35] fromFile: Loading rig file: /usr/local/driveworks-5.10/data/samples/sensors/camera/camera/rig.json
[04-10-2023 12:26:35] rig::DatabaseOverlayer: Failed to open a file ‘/tmp/car_vin’ - file likely does not exist - skipping overlay
[04-10-2023 12:26:35] No valid data file found for camera:sample3 in parameter string: camera-name=HZKJ_IMX728_ES2_V2_120FOV,interface=csi-ab,CPHY-mode=1,link=0,output-format=processed,async-record=1,file-buffer-size=16777216 (using configuration folder /usr/local/driveworks-5.10/data/samples/sensors/camera/camera/)
[04-10-2023 12:26:35] rig::DatabaseOverlayer: Failed to open a file ‘/tmp/car_vin’ - file likely does not exist - skipping overlay
onInitialize: creating camera.gmsl with params: camera-name=HZKJ_IMX728_ES2_V2_120FOV,interface=csi-ab,CPHY-mode=1,link=0,output-format=processed,async-record=1,file-buffer-size=16777216
[04-10-2023 12:26:35] SensorFactory::createSensor() → camera.gmsl, camera-name=HZKJ_IMX728_ES2_V2_120FOV,interface=csi-ab,CPHY-mode=1,link=0,output-format=processed,async-record=1,file-buffer-size=16777216
[04-10-2023 12:26:35] CameraBase: pool size set to 8
[04-10-2023 12:26:35] SensorFactory::createSensor() → camera.gmsl.master,
[04-10-2023 12:26:35] CameraMaster::parseDevBlock Getting device info list.
[04-10-2023 12:26:35] devBlock: 0 Slave = 0 Interface = csi-ab Camera_name = HZKJ_IMX728_ES2_V2_120FOV Link = 0 GroupInit = 0 RecCfg = 1
[04-10-2023 12:26:35] Camera Match Name: HZKJ_IMX728_ES2_V2_120FOV Description: QUANTA IMX728 ES2 V2 RGGB module - 120-deg FOV, MIPI-IMX728, MAX96717 linkIndex: 4294967295 serInfo.Name: MAX96717F
[04-10-2023 12:26:35] Client, Setting up information for camera ID 0
[04-10-2023 12:26:35] Client, successfully found info for camera ID 0 bound to id 0
[04-10-2023 12:26:35] ImageStreamer(NvMedia → CUDA)
[04-10-2023 12:26:35] ImageStreamer(NvMedia → CUDA)
[04-10-2023 12:26:35] ImageStreamer(NvMedia → CUDA)
[04-10-2023 12:26:35] ImageStreamer(NvMedia → CUDA)
[04-10-2023 12:26:35] ImageStreamer(NvMedia → CUDA)
[04-10-2023 12:26:35] ImageStreamer(NvMedia → CUDA)
[04-10-2023 12:26:35] ImageStreamer(NvMedia → CUDA)
[04-10-2023 12:26:35] ImageStreamer(NvMedia → CUDA)
[04-10-2023 12:26:35] CameraClient: using NITO found at /usr/share/camera/HZKJ_IMX728_ES2_V2_120FOV.nito
[04-10-2023 12:26:35] SIPLMaster::SIPLMaster: Setting up master camera
[04-10-2023 12:26:35] Platform:
[04-10-2023 12:26:35] Platform Config:
[04-10-2023 12:26:35] Description:
[04-10-2023 12:26:35] Number of device blocks: 1
[04-10-2023 12:26:35] Device Block : 0
[04-10-2023 12:26:35] csiPort: 2
[04-10-2023 12:26:35] i2cDevice: 0
[04-10-2023 12:26:35] Deserializer Name: MAX96712
[04-10-2023 12:26:35] Deserializer Description: Maxim 96712 Aggregator
[04-10-2023 12:26:35] Deserializer i2cAddress: 41
[04-10-2023 12:26:35] Simulator Mode: 0
[04-10-2023 12:26:35] Passive Mode: 0
[04-10-2023 12:26:35] Phy Mode: 1
[04-10-2023 12:26:35] Number of camera modules: 1
[04-10-2023 12:26:35] CameraModule index: 0
[04-10-2023 12:26:35] Name :HZKJ_IMX728_ES2_V2_120FOV
[04-10-2023 12:26:35] Description: QUANTA IMX728 ES2 V2 RGGB module - 120-deg FOV, MIPI-IMX728, MAX96717
[04-10-2023 12:26:35] Serializer name: MAX96717F
[04-10-2023 12:26:35] Serializer description: Maxim 96717F Serializer
[04-10-2023 12:26:35] Serializer i2cAdress: 64
[04-10-2023 12:26:35] EEPROM name: N24C64
[04-10-2023 12:26:35] EEPROM i2cAddress: 84
[04-10-2023 12:26:35] EEPROM description: N24C64 64-Kbit serial I2C EEPROM
[04-10-2023 12:26:35] Sensor ID: 0
[04-10-2023 12:26:35] Sensor name: IMX728
[04-10-2023 12:26:35] Sensor description: Sony IMX728 Sensor
[04-10-2023 12:26:35] Sensor i2cAddress: 28
[04-10-2023 12:26:35] Sensor isTPGEnabled: 0
[04-10-2023 12:26:35] Sensor isTriggerMode: 1
[04-10-2023 12:26:35] cfa: 33
[04-10-2023 12:26:35] embeddedTopLines: 1
[04-10-2023 12:26:35] embeddedBottomLines: 20
[04-10-2023 12:26:35] inputFormat: 8
[04-10-2023 12:26:35] height: 2160
[04-10-2023 12:26:35] width: 3840
[04-10-2023 12:26:35] fps: 30.000000
[04-10-2023 12:26:35] Embedded Data: 0
[04-10-2023 12:26:35] CameraMaster available outputs: 1
[04-10-2023 12:26:35] CameraClient: setting pipeline config for camera ID 0
[04-10-2023 12:26:35] CameraMaster: master initiation
MAX96712: Revision 5 detected
MAX96712 Link 0: PHY optimization was enabled
[04-10-2023 12:26:36] CameraMaster: master init failed with status = 10
[04-10-2023 12:26:36] Driveworks exception thrown: DW_UNEXPECTED_EVENT: CameraMaster::bootstrap failed with sipl status 10
terminate called after throwing an instance of ‘std::runtime_error’
what(): [2023-10-04 12:26:36] DW Error DW_UNEXPECTED_EVENT executing DW function:
dwSAL_start(m_sal)
at /usr/local/driveworks/samples/src/sensors/camera/camera/main.cpp:363
Aborted (core dumped)