0:00:17.590800288 1707 0x428520 DEBUG nvcamerasrc gstnvcamerasrc.cpp:3219:gst_nvcamerasrc_start:<nvcamerasrc0> start
0:00:17.590819360 1707 0x428520 ERROR nvcamerasrc gstnvcamerasrc.cpp:2336:gst_nvcamera_open:<nvcamerasrc0> REQ_NVCAM_CREATE_SESSION to camera_daemon failed
gst_nvcamera_open() failed ret=0
0:00:17.590839488 1707 0x428520 WARN basesrc gstbasesrc.c:3353:gst_base_src_start:<nvcamerasrc0> error: Failed to start
0:00:17.590892960 1707 0x428520 INFO GST_ERROR_SYSTEM gstelement.c:1881:gst_element_message_full:<nvcamerasrc0> posting message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
0:00:17.590950688 1707 0x428520 INFO GST_ERROR_SYSTEM gstelement.c:1904:gst_element_message_full:<nvcamerasrc0> posted error message: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
0:00:17.590972800 1707 0x428520 WARN basesrc gstbasesrc.c:3724:gst_base_src_activate_push:<nvcamerasrc0> Failed to start in push mode
0:00:17.590983200 1707 0x428520 INFO GST_PADS gstpad.c:1237:activate_mode_internal:<nvcamerasrc0:src> failed to activate in push mode
0:00:17.590996864 1707 0x428520 WARN GST_PADS gstpad.c:1106:gst_pad_set_active:<nvcamerasrc0:src> Failed to activate pad
@cloundliu
Below pipeline is no problem for me on TX1 with reference sensor ov5693.
If your sensor is output raw sensor the “format=(string)I420” is incorrect.
I have tried the pipeline you supplied, but it failed, the error still as before.
I can use v4l2src and v4l2-ctl to capture raw image, and the image is right.
Generally speaking, my camera output raw10 image, and the same as ov5693.
root@tegra-ubuntu:/home/nvidia# /usr/sbin/nvcamera-daemon
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
PCLHW_DTParser
PCLHW_DTParser
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16LoadOverridesFile: looking for override file [/data/nvcam/settings/hl_front_P5V27C2.isp] 6/16LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/hl_front_P5V27C2.isp] 7/16LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/hl_front_P5V27C2.isp] 8/16---- imager: No override file found. ----
checkDriverVersion: Mixed or missing V4L2 controls!
checkDriverVersion: Make sure your kernel driver implements either
checkDriverVersion: V4L2_m_cidFrameLength + V4L2_m_cidCoarseTime(_SHORT)
checkDriverVersion: or
checkDriverVersion: V4L2_m_cidFrameRate + V4L2_m_cidExposure
(NvOdmDevice) Error BadParameter: (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function checkDriverVersion(), line 379)
(NvOdmDevice) Error BadParameter: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function findCustomCids(), line 309)
(NvOdmDevice) Error BadParameter: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initializeV4L2Items(), line 232)
(NvOdmDevice) Error BadParameter: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107)
NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
NvPclStartPlatformDrivers: Failed to start module drivers
NvPclStateControllerOpen: Failed ImagerGUID 1. (error 0x4)
NvPclOpen: PCL Open Failed. Error: 0xf
SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 596)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 781)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 276)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 439)
Segmentation fault (core dumped)
checkDriverVersion: Mixed or missing V4L2 controls!
checkDriverVersion: Make sure your kernel driver implements either
checkDriverVersion: V4L2_m_cidFrameLength + V4L2_m_cidCoarseTime(_SHORT)
checkDriverVersion: or
checkDriverVersion: V4L2_m_cidFrameRate + V4L2_m_cidExposure
Please check the note. This is from sensor programing guide in the l4t-document.
I have implemented this v4l2 controls, and error message as follows:
root@tegra-ubuntu:/home/nvidia# /usr/sbin/nvcamera-daemon
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
NvPclHwGetModuleList: No module data found
PCLHW_DTParser
PCLHW_DTParser
LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16LoadOverridesFile: looking for override file [/data/nvcam/settings/camera_overrides.isp] 2/16LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/camera_overrides.isp] 3/16LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/camera_overrides.isp] 4/16LoadOverridesFile: looking for override file [/data/nvcam/camera_overrides.isp] 5/16LoadOverridesFile: looking for override file [/data/nvcam/settings/hl_front_P5V27C2.isp] 6/16LoadOverridesFile: looking for override file [/opt/nvidia/nvcam/settings/hl_front_P5V27C2.isp] 7/16LoadOverridesFile: looking for override file [/var/nvidia/nvcam/settings/hl_front_P5V27C2.isp] 8/16---- imager: No override file found. ----
SCF: Error BadParameter: Unknown sensor pixel type (in src/common/Utils.cpp, function translateColorFormat(), line 403)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function open(), line 132)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 593)
SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 781)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 276)
SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 439)
Segmentation fault (core dumped)