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.8.0.10363
other
Host Machine Version
native Ubuntu 18.04
other
Our Hyperion 7.1 Hardware suddenly stopped working and currently I am debugging the camera side of things. When running the roadrunner app, a Camera no Detected message appears on screen so I am checking the sample_camera_gsml_custom output to start with:
xavierA:nvidia@tegra-ubuntu:/usr/local/driveworks-3.0/bin$ ./sample_camera_gmsl_custom
[11-07-2022 18:31:46] Platform: Detected DDPX - Tegra A
[11-07-2022 18:31:46] TimeSource: monotonic epoch time offset is 1657563123869338
[11-07-2022 18:31:46] PTP Time is available from NVPPS Driver
[11-07-2022 18:31:46] Platform: number of GPU devices detected 2
[11-07-2022 18:31:46] Platform: currently selected GPU device discrete ID 0
[11-07-2022 18:31:46] Context::getDataPathFromSelfLocation DATA_ROOT found at: /usr/local/driveworks-3.0/data
[11-07-2022 18:31:46] SDK: Resources mounted from /usr/local/driveworks-3.0/data/
[11-07-2022 18:31:46] SDK: Create NvMediaDevice
[11-07-2022 18:31:46] SDK: Create NvMedia2D
[11-07-2022 18:31:46] SDK: use EGL display as provided
[11-07-2022 18:31:46] TimeSource: monotonic epoch time offset is 1657563123869338
[11-07-2022 18:31:46] PTP Time is available from NVPPS Driver
[11-07-2022 18:31:46] Initialize DriveWorks SDK v3.0.5819-experimental
[11-07-2022 18:31:46] Experimental Release build with GNU 7.3.1 from heads/buildbrain-branch-0-ge470818d679 against Drive PDK v5.1.15.2
[11-07-2022 18:31:46] Rig::fromFile: Loading rig file: /usr/local/driveworks-3.0/data/samples/sensors/camera/camera_gmsl_custom/rig.json
[11-07-2022 18:31:46] rig::DatabaseOverlayer: no valid VIN loaded - skipping overlay
[11-07-2022 18:31:46] rig::DatabaseOverlayer: no valid VIN loaded - skipping overlay
onInitialize: creating camera.gmsl with params: camera-name=SF3324,interface=csi-a,link=0,output-format=processed
[11-07-2022 18:31:46] SensorFactory::createSensor() → camera.gmsl, camera-name=SF3324,interface=csi-a,link=0,output-format=processed
[11-07-2022 18:31:46] SensorFactory::createSensor() → camera.gmsl.master,
[11-07-2022 18:31:46] CameraMaster::parseDevBlock Getting device info list.
[11-07-2022 18:31:46] devBlock: 1 Slave = 0 Interface = csi-a Camera_name = SF3324 Link = 0
[11-07-2022 18:31:46] Camera Match Name: SF3324 Description: Sekonix SF3324 module - 120-deg FOV, DVP AR0231-RCCB, MAX96705 linkIndex: 4294967295 serInfo.Name: MAX96705
[11-07-2022 18:31:46] Client, Setting up information for camera ID 0
[11-07-2022 18:31:46] Client, successfully found info for camera ID 0 bound to id 0
[11-07-2022 18:31:46] Initialize DriveWorks VisualizationSDK v3.0.5819-experimental
[11-07-2022 18:31:46] Initialize DriveWorksGL SDK v3.0.5819-experimental
onInitialize: Total cameras 1
onInitialize: getting image props 0
onInitialize: initilizing stream: 0
[11-07-2022 18:31:47] StreamConsumerGL: successfully initialized
[11-07-2022 18:31:47] StreamProducerCUDA: successfully initialized
Main: Starting master.
[11-07-2022 18:31:47] CameraGSMLMaster: starting…
[11-07-2022 18:31:47] SIPLMaster::SIPLMaster: Setting up master camera
[11-07-2022 18:31:47] Platform:
[11-07-2022 18:31:47] Platform Config:
[11-07-2022 18:31:47] Description:
[11-07-2022 18:31:47] Number of device blocks: 1
[11-07-2022 18:31:47] Device Block : 0
[11-07-2022 18:31:47] csiPort: 0
[11-07-2022 18:31:47] i2cDevice: 0
[11-07-2022 18:31:47] Deserializer Name: MAX96712
[11-07-2022 18:31:47] Deserializer Description: Maxim 96712 Aggregator
[11-07-2022 18:31:47] Deserializer i2cAddress: 41
[11-07-2022 18:31:47] Simulator Mode: 0
[11-07-2022 18:31:47] Slave Mode: 0
[11-07-2022 18:31:47] Phy Mode: 0
[11-07-2022 18:31:47] Number of camera modules: 1
[11-07-2022 18:31:47] CameraModule index: 0
[11-07-2022 18:31:47] Name :SF3324
[11-07-2022 18:31:47] Description: Sekonix SF3324 module - 120-deg FOV, DVP AR0231-RCCB, MAX96705
[11-07-2022 18:31:47] Serializer name: MAX96705
[11-07-2022 18:31:47] Serializer description: Maxim 96705 Serializer
[11-07-2022 18:31:47] Serializer i2cAdress: 64
[11-07-2022 18:31:47] Number of EEPROMs: 0
[11-07-2022 18:31:47] Number of Sensors: 1
[11-07-2022 18:31:47] Sensor index: 0
[11-07-2022 18:31:47] Sensor ID: 0
[11-07-2022 18:31:47] Sensor name: AR0231
[11-07-2022 18:31:47] Sensor description: OnSemi AR0231 Sensor
[11-07-2022 18:31:47] Sensor i2cAddress: 16
[11-07-2022 18:31:47] Sensor isTPGEnabled: 0
[11-07-2022 18:31:47] Sensor isTriggerMode: 1
[11-07-2022 18:31:47] Sensor Number of Virt. Chan.: 0
[11-07-2022 18:31:47] Virt. Chan. Index: 0
[11-07-2022 18:31:47] cfa: 39
[11-07-2022 18:31:47] embeddedTopLines: 24
[11-07-2022 18:31:47] embeddedBottomLines: 4
[11-07-2022 18:31:47] inputFormat: raw12
[11-07-2022 18:31:47] height: 1208
[11-07-2022 18:31:47] width: 1920
[11-07-2022 18:31:47] fps: 30.0000000
[11-07-2022 18:31:47] Embedded Data: 0
[11-07-2022 18:31:47] CameraMaster::setOutputDescription Setting output consumer descriptors for sensor: OutputType: 1
[11-07-2022 18:31:47] Client, setting pipeline config for camera ID 0
[11-07-2022 18:31:47] CameraMaster: master initiation
DEVBLK_WORKER_0: pwr_utils.cpp: 271: PowerControlSetPower: PowerControlSetPower: nvccp_set_cam_pwr_on failed with status (1)
DEVBLK_WORKER_0: CNvMDeviceBlockMgr.hpp: 121: ThreadFunc: Device block init failed(7f)
sample_camera_g: CNvMDeviceBlockMgr.cpp: 97: WorkersDoAction: Device block action:1 failed for block:0
sample_camera_g: CNvMDeviceBlockMgr.cpp: 131: Init: Failed to initialize device blocks
sample_camera_g: CNvMCamera.cpp: 239: Init: DeviceBlock manager init failed
[11-07-2022 18:31:47] CameraMaster: master init failed127
sample_camera_g: CNvMCamera.cpp: 457: GetImageAttributes: Pipeline 0 not found
[11-07-2022 18:31:47] CameraMaster: GetImageAttributes failed1
[11-07-2022 18:31:47] CameraClient: GetImageAttributes failed1
[11-07-2022 18:31:47] CameraClient: Failed to allocate images groups!1
[11-07-2022 18:31:47] Driveworks exception thrown: DW_FAILURE: CameraClient: Failed to allocate images pool!
**** Stack trace ****
/usr/local/driveworks-3.0/bin/…/targets/aarch64-Linux/lib/libdriveworks_visualization.so.3: dw_5ed3c2be0a4fc47847a935953bba7432caaeb8d8()+0x90 [0x7fb0787c80]
/usr/local/driveworks-3.0/bin/…/targets/aarch64-Linux/lib/libdriveworks.so.3: dw_26c551493b354091ceaf8fa0c5c7791e29aa601e()+0xd98 [0x7f9a559610]
/usr/local/driveworks-3.0/bin/…/targets/aarch64-Linux/lib/libdriveworks.so.3: dw_53ece75864c25a07b06e64b3c49d8a04bfcb81d9()+0x64 [0x7f9a54aa9c]
/usr/local/driveworks-3.0/bin/…/targets/aarch64-Linux/lib/libdriveworks.so.3: dw_8db4123cdee707e134ea5c01b34d68cfce0c661f()+0x9c8 [0x7f9a54f048]
/usr/local/driveworks-3.0/bin/…/targets/aarch64-Linux/lib/libdriveworks.so.3: dw_ec58f74e8f4b130a25d923f2f29ba5f19206ad3a()+0x254 [0x7f9a54fbd4]
/usr/local/driveworks-3.0/bin/…/targets/aarch64-Linux/lib/libdriveworks.so.3: dwSensor_start()+0x214 [0x7f9a646974]
./sample_camera_gmsl_custom: CameraCustomSimpleApp::onInitialize()+0x8e8 [0x416cc8]
./sample_camera_gmsl_custom: dw_samples::common::DriveWorksSample::run()+0x30 [0x41bd10]
./sample_camera_gmsl_custom: main()+0x310 [0x411080]
/lib/aarch64-linux-gnu/libc.so.6: __libc_start_main()+0xe0 [0x7f61e0d6e0]
./sample_camera_gmsl_custom() [0x411528]
terminate called after throwing an instance of ‘std::runtime_error’
what(): [2022-07-11 18:31:47] DW Error DW_FAILURE executing DW function:
dwSensor_start(m_camera[0])
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_gmsl_custom/main.cpp:361
Aborted (core dumped)
xavierA:nvidia@tegra-ubuntu:/usr/local/driveworks-3.0/bin$ packet_write_wait: Connection to 192.168.0.10 port 22: Broken pipe
Questions:
-
Is it an I2C problem? It seems the power command is not successfully transmitted for camera power.
-
How all the cameras can be affected and not be able to stream frames? Is the deserializer engine hardware bad?
-
Any suggestions to debug further about this issue?