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.1.10844
other
Host Machine Version
native Ubuntu 18.04
other
Hello,
We connected a Sekonix SF3325-100 camera to the drive agx xavier and tried to run the sample for object detector and tracker
However we were unable to obtain any output from the camera
We get an error
Driveworks exception thrown: DW_INVALID_ARGUMENT: FeatureDetectorEx::generateMask: cell size too small! Either increase cell size, or disable mask adjustment.
Please find the detailed log below
nvidia@tegra-ubuntu:/usr/local/driveworks-4.0/bin$ ./sample_object_detector_tracker --input-type=camera
[31-08-2023 00:53:42] Platform: Detected DDPX - Tegra A
[31-08-2023 00:53:42] TimeSource: monotonic epoch time offset is 1693435606846193
[31-08-2023 00:53:42] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to eth0
[31-08-2023 00:53:42] TimeSource Eth: Lost PTP time synchronizaton. Synchronized time will not be available from this timesource.
[31-08-2023 00:53:42] TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
[31-08-2023 00:53:42] Platform: number of GPU devices detected 1
[31-08-2023 00:53:42] Platform: currently selected GPU device integrated ID 0
[31-08-2023 00:53:42] 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]'
[31-08-2023 00:53:42] Context::findDataRootInPathWalk data/DATA_ROOT found at: /usr/local/driveworks-4.0/bin/../data
[31-08-2023 00:53:42] 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]'
[31-08-2023 00:53:42] Context::findDataRootInPathWalk data/DATA_ROOT found at: /usr/local/driveworks-4.0/data
[31-08-2023 00:53:42] Context::mountResourceCandidateDataPath resource FAILED to mount from '/usr/local/driveworks-4.0/data/': VirtualFileSystem: Failed to mount '/usr/local/driveworks-4.0/data/[.pak]'
[31-08-2023 00:53:42] SDK: No resources(.pak) mounted, some modules will not function properly
[31-08-2023 00:53:42] SDK: Create NvMediaDevice
[31-08-2023 00:53:42] SDK: Create NvMedia2D
[31-08-2023 00:53:42] SDK: use EGL display as provided
[31-08-2023 00:53:42] TimeSource: monotonic epoch time offset is 1693435606846192
[31-08-2023 00:53:42] TimeSource: Could not detect valid PTP time source at nvpps. Fallback to eth0
[31-08-2023 00:53:42] TimeSource Eth: Lost PTP time synchronizaton. Synchronized time will not be available from this timesource.
[31-08-2023 00:53:42] TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
[31-08-2023 00:53:42] Initialize DriveWorks SDK v4.0.0
[31-08-2023 00:53:42] Release build with GNU 7.3.1 from no-gitversion-build against Drive PDK v5.2.6.0
[31-08-2023 00:53:42] Initialize DriveWorks VisualizationSDK v4.0.0
[31-08-2023 00:53:42] Initialize DriveWorksGL SDK v4.0.0
[31-08-2023 00:53:43] SensorFactory::createSensor() -> camera.gmsl, camera-type=ar0231-rccb-bae-sf3324,camera-group=a,slave=0,serialize=false,camera-count=4,camera-mask=0001
[31-08-2023 00:53:43] CameraGMSLSelector: cameraCount is a deprecated parameter, please remove as it has no more effect
[31-08-2023 00:53:43] CameraGMSLSelector: camera-mask is a deprecated parameter, please remove from your rig and replace with parameter link
[31-08-2023 00:53:43] CameraGMSLSelector: camera-mask 0001 was automatically translated to link 0. Note that it will be overridden by parameter link if present
[31-08-2023 00:53:43] CameraGMSLSelector: missing siblingIndex to be able to map to new camera.gmsl parameter called link, assuming link 0
[31-08-2023 00:53:43] CameraGMSLSelector: creating CameraClient from remapped old gmsl parameters to camera-type=ar0231-rccb-bae-sf3324,camera-group=a,slave=0,serialize=false,camera-count=4,camera-mask=0001,camera-name=SF3324,interface=csi-ab,link=0
[31-08-2023 00:53:43] CameraGMSLSelector: missing 'output-format=processed/yuv' in the sensor parameters, frames might be captured with bad sensor settings(AE/AWB) and reprocess may result image quality issues
[31-08-2023 00:53:43] CameraBase: pool size set to 8
[31-08-2023 00:53:43] SensorFactory::createSensor() -> camera.gmsl.master,
[31-08-2023 00:53:43] CameraMaster::parseDevBlock Getting device info list.
[31-08-2023 00:53:43] devBlock: 1 Slave = 0 Interface = csi-ab Camera_name = SF3324 Link = 0
[31-08-2023 00:53:43] Camera Match Name: SF3324 Description: Sekonix SF3324 module - 120-deg FOV, DVP AR0231-RCCB, MAX96705 linkIndex: 4294967295 serInfo.Name: MAX96705
[31-08-2023 00:53:43] Client, Setting up information for camera ID 0
[31-08-2023 00:53:43] Client, successfully found info for camera ID 0 bound to id 0
[31-08-2023 00:53:43] CameraClient: no NITO found at /opt/nvidia/nvmedia/nit/SF3324.nito
[31-08-2023 00:53:43] CameraClient: using NITO found at /opt/nvidia/nvmedia/nit/sf3324.nito
SimpleCamera: Camera image: 1920x1208
Camera image with 1920x1208 at 30 FPS
[31-08-2023 00:53:43] StreamConsumerGL: successfully initialized
[31-08-2023 00:53:43] StreamProducerCUDA: successfully initialized
[31-08-2023 00:53:45] Loaded engine size: 45 MB
[31-08-2023 00:53:45] [MemUsageSnapshot] deserializeCudaEngine begin: CPU 335 MB, GPU 3550 MB
[31-08-2023 00:53:49] [MemUsageChange] Init cuDNN: CPU +923, GPU +998, now: CPU 1258, GPU 4549 (MB)
[31-08-2023 00:53:50] [MemUsageChange] Init cuBlas: CPU +227, GPU +228, now: CPU 1485, GPU 4777 (MB)
[31-08-2023 00:53:50] Deserialize required 5081603 microseconds.
[31-08-2023 00:53:50] [MemUsageSnapshot] deserializeCudaEngine end: CPU 1484 MB, GPU 4777 MB
[31-08-2023 00:53:50] [MemUsageChange] Init cuDNN: CPU +0, GPU +0, now: CPU 1484, GPU 4777 (MB)
[31-08-2023 00:53:50] [MemUsageChange] Init cuBlas: CPU +1, GPU +0, now: CPU 1485, GPU 4777 (MB)
[31-08-2023 00:53:50] DNN: Missing or incompatible parameter in metadata (tonemapType). Parameter is set to default value. See dwDataConditioner for default values.
[31-08-2023 00:53:50] DataConditioner: Scale transformation has been configured with 1.0000000.
[31-08-2023 00:53:50] DataConditioner: Mean value subtract transformation has been configured with {0.00000, 0.00000, 0.00000}.
[31-08-2023 00:53:50] DataConditioner: Standard deviation has been configured with {1.00000, 1.00000, 1.00000}.
[31-08-2023 00:53:50] Driveworks exception thrown: DW_INVALID_ARGUMENT: FeatureDetectorEx::generateMask: cell size too small! Either increase cell size, or disable mask adjustment.
terminate called after throwing an instance of 'std::runtime_error'
what(): [2023-08-31 00:53:50] DW Error DW_INVALID_ARGUMENT executing DW function:
dwFeature2DDetector_initialize(&m_featureDetector, &featureDetectorConfig, m_cudaStream, m_sdk)
at samples/dnn/sample_object_detector_tracker/main.cpp:341
Aborted (core dumped)
Please could you kindly support us on resolving this issue?
Best regards,
Roshan