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.9.10816
other
Host Machine Version
native Ubuntu 18.04
other
Dear Nvidia Support,
Last week, when running the sample_camera
program from Driveworks, we were met with the following error.
nvidia@tegra-ubuntu:~/tmp$ /usr/local/driveworks/bin/sample_camera
[01-12-2022 18:01:15] Platform: Detected DDPX - Tegra A
[01-12-2022 18:01:15] TimeSource: monotonic epoch time offset is 1669889917193888
[01-12-2022 18:01:15] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to eth0
[01-12-2022 18:01:15] TimeSource Eth: Lost PTP time synchronizaton. Synchronized time will not be available from this timesource.
[01-12-2022 18:01:15] TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
[01-12-2022 18:01:15] Platform: number of GPU devices detected 2
[01-12-2022 18:01:15] Platform: currently selected GPU device discrete ID 0
[01-12-2022 18:01:15] Context::mountResourceCandidateDataPath resource FAILED to mount from '/home/nvidia/tmp/data/': VirtualFileSystem: Failed to mount '/home/nvidia/tmp/data/[.pak]'
[01-12-2022 18:01:15] Context::findDataRootInPathWalk data/DATA_ROOT found at: /usr/local/driveworks-4.0/bin/../data
[01-12-2022 18:01:15] Context::mountResourceCandidateDataPath resource FAILED to mount from '/usr/local/driveworks-4.0/bin/../data/': VirtualFileSystem: Failed to mount '/usr/local/driveworks-4.0/bin/../data/[.pak]'
[01-12-2022 18:01:15] Context::findDataRootInPathWalk data/DATA_ROOT found at: /usr/local/driveworks-4.0/data
[01-12-2022 18:01:15] Context::mountResourceCandidateDataPath resource FAILED to mount from '/usr/local/driveworks-4.0/data/': VirtualFileSystem: Failed to mount '/usr/local/driveworks-4.0/data/[.pak]'
[01-12-2022 18:01:15] SDK: No resources(.pak) mounted, some modules will not function properly
[01-12-2022 18:01:15] SDK: Create NvMediaDevice
[01-12-2022 18:01:15] SDK: Create NvMedia2D
[01-12-2022 18:01:15] SDK: use EGL display as provided
[01-12-2022 18:01:15] TimeSource: monotonic epoch time offset is 1669889917193888
[01-12-2022 18:01:15] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to eth0
[01-12-2022 18:01:15] TimeSource Eth: Lost PTP time synchronizaton. Synchronized time will not be available from this timesource.
[01-12-2022 18:01:15] TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
[01-12-2022 18:01:15] Initialize DriveWorks SDK v4.0.0
[01-12-2022 18:01:15] Release build with GNU 7.3.1 from no-gitversion-build against Drive PDK v5.2.6.0
[01-12-2022 18:01:15] Rig::fromFile: Loading rig file: /usr/local/driveworks-4.0/data/samples/sensors/camera/camera/rig.json
[01-12-2022 18:01:15] rig::DatabaseOverlayer: Failed to open a file '/tmp/car_vin' - file likely does not exist - skipping overlay
[01-12-2022 18:01:15] No valid data file found for camera:sample0 in parameter string: camera-name=SF3324,interface=csi-a,link=0,output-format=processed (using configuration folder /usr/local/driveworks-4.0/data/samples/sensors/camera/camera/)
[01-12-2022 18:01:15] 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=SF3324,interface=csi-a,link=0,output-format=processed
[01-12-2022 18:01:15] SensorFactory::createSensor() -> camera.gmsl, camera-name=SF3324,interface=csi-a,link=0,output-format=processed
[01-12-2022 18:01:15] CameraBase: pool size set to 8
[01-12-2022 18:01:15] SensorFactory::createSensor() -> camera.gmsl.master,
[01-12-2022 18:01:16] CameraMaster::parseDevBlock Getting device info list.
[01-12-2022 18:01:16] devBlock: 1 Slave = 0 Interface = csi-a Camera_name = SF3324 Link = 0
[01-12-2022 18:01:16] Camera Match Name: SF3324 Description: Sekonix SF3324 module - 120-deg FOV, DVP AR0231-RCCB, MAX96705 linkIndex: 4294967295 serInfo.Name: MAX96705
[01-12-2022 18:01:16] Client, Setting up information for camera ID 0
[01-12-2022 18:01:16] Client, successfully found info for camera ID 0 bound to id 0
[01-12-2022 18:01:16] CameraClient: no NITO found at /opt/nvidia/nvmedia/nit/SF3324.nito
[01-12-2022 18:01:16] CameraClient: using NITO found at /opt/nvidia/nvmedia/nit/sf3324.nito
[01-12-2022 18:01:16] Initialize DriveWorks VisualizationSDK v4.0.0
[01-12-2022 18:01:16] Initialize DriveWorksGL SDK v4.0.0
onInitialize: Total cameras 1
onInitialize: getting image props 0
onInitialize: initilizing stream: 0
[01-12-2022 18:01:16] StreamConsumerGL: successfully initialized
[01-12-2022 18:01:16] StreamProducerCUDA: successfully initialized
Main: Starting master.
[01-12-2022 18:01:16] CameraGSMLMaster: starting...
[01-12-2022 18:01:16] SIPLMaster::SIPLMaster: Setting up master camera
[01-12-2022 18:01:16] Platform:
[01-12-2022 18:01:16] Platform Config:
[01-12-2022 18:01:16] Description:
[01-12-2022 18:01:16] Number of device blocks: 1
[01-12-2022 18:01:16] Device Block : 0
[01-12-2022 18:01:16] csiPort: 0
[01-12-2022 18:01:16] i2cDevice: 0
[01-12-2022 18:01:16] Deserializer Name: MAX96712
[01-12-2022 18:01:16] Deserializer Description: Maxim 96712 Aggregator
[01-12-2022 18:01:16] Deserializer i2cAddress: 41
[01-12-2022 18:01:16] Simulator Mode: 0
[01-12-2022 18:01:16] Slave Mode: 0
[01-12-2022 18:01:16] Phy Mode: 0
[01-12-2022 18:01:16] Number of camera modules: 1
[01-12-2022 18:01:16] CameraModule index: 0
[01-12-2022 18:01:16] Name :SF3324
[01-12-2022 18:01:16] Description: Sekonix SF3324 module - 120-deg FOV, DVP AR0231-RCCB, MAX96705
[01-12-2022 18:01:16] Serializer name: MAX96705
[01-12-2022 18:01:16] Serializer description: Maxim 96705 Serializer
[01-12-2022 18:01:16] Serializer i2cAdress: 64
[01-12-2022 18:01:16] Sensor ID: 0
[01-12-2022 18:01:16] Sensor name: AR0231
[01-12-2022 18:01:16] Sensor description: OnSemi AR0231 Sensor
[01-12-2022 18:01:16] Sensor i2cAddress: 16
[01-12-2022 18:01:16] Sensor isTPGEnabled: 0
[01-12-2022 18:01:16] Sensor isTriggerMode: 1
[01-12-2022 18:01:16] cfa: 39
[01-12-2022 18:01:16] embeddedTopLines: 24
[01-12-2022 18:01:16] embeddedBottomLines: 4
[01-12-2022 18:01:16] inputFormat: 8
[01-12-2022 18:01:16] height: 1208
[01-12-2022 18:01:16] width: 1920
[01-12-2022 18:01:16] fps: 30.0000000
[01-12-2022 18:01:16] Embedded Data: 0
[01-12-2022 18:01:16] CameraMaster available outputs: 1
[01-12-2022 18:01:16] CameraClient: setting pipeline config for camera ID 0
[01-12-2022 18:01:16] CameraMaster: master initiation
Module_id 30 Severity 2 : src/devblk/fusa/cameramodule/common/utils/pwr_utils.cpp 493
Module_id 30 Severity 2 : nvccp_set_cam_unit_pwr_on failed with status 1001
Module_id 30 Severity 2 : src/devblk/nonfusa/cameramodule/MAX96712cameramodule/CNvMMAX96712CameraModule.cpp 790
Module_id 30 Severity 2 : MAX96712: CNvMMAX96712CameraModule::DoSetPower failed with SIPL error 127
Module_id 30 Severity 2 : src/devblk/common/ddi/ModuleIF/CNvMCameraModule.cpp 70
Module_id 30 Severity 2 : CNvMCameraModule::SetPower failed with SIPL error 127
Module_id 30 Severity 2 : src/devblk/common/core/CNvMDeviceBlock.cpp 678
Module_id 30 Severity 2 : CameraModule SetPower failed with SIPL error 127
DEVBLK_WORKER_0: /dvs/git/dirty/git-master_linux/camera/fusa/sipl/src/core/CNvMDeviceBlockMgr.cpp: 435: ThreadFunc: Device block init failed(7f)
Module_id 30 Severity 2 : src/core/CNvMDeviceBlockMgr.cpp 144
Module_id 30 Severity 2 : Device block action failed for block (action, block) 10
Module_id 30 Severity 2 : src/core/CNvMDeviceBlockMgr.cpp 180
Module_id 30 Severity 2 : Failed to initialize device blocks
sample_camera: /dvs/git/dirty/git-master_linux/camera/fusa/sipl/src/core/CNvMCamera.cpp: 436: Init: DeviceBlock manager init failed
[01-12-2022 18:01:16] CameraMaster: master init failed127
sample_camera: /dvs/git/dirty/git-master_linux/camera/fusa/sipl/src/core/CNvMCamera.cpp: 615: GetImageAttributes: Incorrect pipeline state for pipeline:0
[01-12-2022 18:01:16] CameraMaster: GetImageAttributes failed6
[01-12-2022 18:01:16] CameraClient: GetImageAttributes failed6
[01-12-2022 18:01:16] CameraClient: Failed to allocate images groups!6
[01-12-2022 18:01:16] Driveworks exception thrown: DW_FAILURE: CameraClient: Failed to allocate images pool!
terminate called after throwing an instance of 'std::runtime_error'
what(): [2022-12-01 18:01:16] DW Error DW_FAILURE executing DW function:
dwSensor_start(m_camera[i])
at samples/sensors/camera/camera/main.cpp:367
Aborted (core dumped)
When we first met with this issue, the problem was resolved by simply waiting around an hour. Several days later, the same issue came up. It was resolved by extensively trying out different cameras, cables, and ports. Now, the issue still persists even after waiting and trying out different cameras, cables, and ports.
Looking through the forums, we found NvSIPLCamera Init failed faced the same issue. We followed the recommended actions in the thread, namely:
aurixreset
- Reflashing Driveworks on both Tegras
- Running the
sample_camera
program on both Tegras
and still face the same error.
We also checked Hardware Errata #4 and can confirm that a small, round, QC sticker exists. A photo can be provided if needed.
How should we best continue?