Any change you could help me with my log? nvcamera-daemon segfaults when trying to start nvcamerasrc pipeline
This all is for the default ov5693 with default sensor coming with devboard.
root@tegra-ubuntu:~# /usr/sbin/nvcamera-daemon&
[1] 3159
root@tegra-ubuntu:~# gst-launch-1.0 nvcamerasrc fpsRange="20 20" ! nvvidconv ! nvoverlaysink
Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingThread 1 getting next capture
Thread 1 is waiting
Thread 2 getting next capture
Thread 2 is waiting
Thread 3 getting next capture
Thread 3 is waiting
Starting services...
Thread 4 getting next capture
Thread 4 is waiting
getInstance: s_instance(0x7fa9198910)
doCreateSensor: create SensorType(gyroscope) sensor(0x7fa9198a10)
doCreateSensor: create SensorType(accelerometer) sensor(0x7fa9198d50)
doCreateSensor: create SensorType(magnetometer) sensor(0x7fa9198de0)
doCreateSensor: create SensorType(temperature) sensor(0x7fa9215090)
doCreateSensor: create SensorType(proximity) sensor(0x7fa9218470)
doCreateSensor: create SensorType(rotation vector) sensor(0x7fa921b850)
doCreateSensor: create SensorType(linear acceleration) sensor(0x7fa921ec30)
getInstance: s_instance(0x7fa9198910)
AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
Services are started
NvPclSetHotplugCallback: ++++++++++++++++++++++
###### imager: Calibration blob file handling NOT supported in this build ######
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclHwMatchPartNum: Found calibration Part#:P5V27C:"P5V27C"
NvPclHwGetModuleData: Misc Driver v4l2_focuser_stub already exists. Avoiding duplicate drivers
NvPclHwPrintModuleDefinition -- Name: e3326_front_P5V27C
NvPclHwPrintModuleDefinition -- Position: 0
NvPclHwPrintModuleDefinition -- CalibrationData Found: 1
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].Name: v4l2_focuser_stub
NvPclHwPrintCameraSubModule -- HwCamSubModule[0].DevName: lc898212 6-0072
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].Name: v4l2_sensor
NvPclHwPrintCameraSubModule -- HwCamSubModule[1].DevName: ov5693 6-0036
NvPclHwGetModuleList: OFParserListModules Succeeded
NvPclModuleListInitialize: NvPclModule list[0]: e3326_front_P5V27C position0
NvPclHwScanExternalCameras -- adding video0 to discover list
NvPclHwScanExternalCameras -- adding video0 to discover list
initialize: /dev/video0
getHotplugMonitor: Getting hotplug monitor instance
initializeHotplug++
hotPlugfunc ++
addWatch: Watch added wd='1'
setHotplugCallback: Registered new callback client
NvPclSetHotplugCallback: ----------------------
NvPclOpen: ++++++++++++++++++++++
NvPclStateControllerOpen: Found GUID 0 match at index[0]
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_focuser_stub)
NvPclCreateDriver: Found a Driver name match (v4l2_focuser_stub)
NvPclCreateDriver: Found NvPcl Driver Hal dev_name match (v4l2_sensor)
NvPclCreateDriver: Found a Driver name match (v4l2_sensor)
NvPclConnectDrivers: hImager was NULL, creating new imager
NvPclInitializeDrivers: v4l2_focuser_stub ++++++++++++++++++
NvPclDriver_V4L2_Focuser_Stub_Initialize WARNING: No focuser object, allocating for lens
NvPclDriver_V4L2_Focuser_Stub_Initialize: Loaded focuser static properties--------------
NvPclInitializeDrivers: NvOdmLensStub ------------------
NvPclInitializeDrivers: v4l2_sensor ++++++++++++++++++
OFDPropertyGetString: could not read property [devnode-bus]
initialize: ov5693 6-0036
OFDPropertyGetString: could not read property [use_decibel_gain]
OFDPropertyGetString: could not read property [use_sensor_mode_id]
OFDPropertyCopyToLong: could not read property [has-eeprom]
Control Frame Rate not found
Control Exposure not found
Sensor_FindCustomCIDs: calculated MaxCoarseDiff 6
Sensor_LoadBinaryBlob: Binary read 8
Sensor_LoadBinaryBlob: Binary read 512
OFDPropertyGetString: could not read property [type]
Sensor_LoadSubType: Sensor type missing in DT, 502
OFDPropertyCopyToLong: could not read property [mode0.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode0.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode0.mode_type]
Sensor_LoadModeModeType: mode 0: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode0.pixel_phase]
Sensor_LoadModePixelPhase: mode 0: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode0.x_start]
OFDPropertyGetString: could not read property [mode0.y_start]
OFDPropertyGetString: could not read property [mode0.x_end]
OFDPropertyGetString: could not read property [mode0.y_end]
OFDPropertyGetString: could not read property [mode0.h_scaling]
OFDPropertyGetString: could not read property [mode0.v_scaling]
OFDPropertyCopyToLong: could not read property [mode1.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode1.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode1.mode_type]
Sensor_LoadModeModeType: mode 1: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode1.pixel_phase]
Sensor_LoadModePixelPhase: mode 1: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode1.x_start]
OFDPropertyGetString: could not read property [mode1.y_start]
OFDPropertyGetString: could not read property [mode1.x_end]
OFDPropertyGetString: could not read property [mode1.y_end]
OFDPropertyGetString: could not read property [mode1.h_scaling]
OFDPropertyGetString: could not read property [mode1.v_scaling]
OFDPropertyCopyToLong: could not read property [mode2.csi_pixel_bit_depth]
OFDPropertyCopyToLong: could not read property [mode2.dynamic_pixel_bit_depth]
OFDPropertyGetString: could not read property [mode2.mode_type]
Sensor_LoadModeModeType: mode 2: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode2.pixel_phase]
Sensor_LoadModePixelPhase: mode 2: Failed to load pixeltype
OFDPropertyGetString: could not read property [mode2.x_start]
OFDPropertyGetString: could not read property [mode2.y_start]
OFDPropertyGetString: could not read property [mode2.x_end]
OFDPropertyGetString: could not read property [mode2.y_end]
OFDPropertyGetString: could not read property [mode2.h_scaling]
OFDPropertyGetString: could not read property [mode2.v_scaling]
NvPclDriver_V4L2_Sensor_Initialize: Loaded Driver: 3 Modes Available--------------
NvPclInitializeDrivers: v4l2_sensor ------------------
NvPclOpen: ----------------------
populateStaticProperties
populateStaticProperties
sourceRegistry[0] assigned
ispRegistry[0] assigned
Using Source GUID 0
NvPclPowerOn: +++++++++++
NvPclPowerOn: -----------
Using ISP A
AC plugin not present: dlopen "acplugin.so", acplugin.so: cannot open shared object file: No such file or directory
No library found, disabling AC plugin.
SCF: Error InsufficientMemory: Unable to create GL context (in src/services/gl/GLService.cpp, function createContextInternal(), line 314)
SCF: Error InsufficientMemory: (propagating from src/services/gl/GLService.cpp, function createGLES2Context(), line 379)
SCF: Error InsufficientMemory: (propagating from src/components/stages/AOHDRDeinterleaveStage.cpp, function doAsyncInitialize(), line 113)
SCF: Error InsufficientMemory: AoHdrDeinterleaveStage initialization failed (in src/components/stages/AOHDRDeinterleaveStage.cpp, function doAsyncInitialize(), line 138)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function createContext() line 212
Unable to create GL context
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function initialize() line 93
(propagating)
SCF: Error InsufficientMemory: Unable to create GL context (in src/services/gl/GLService.cpp, function createContextInternal(), line 314)
SCF: Error InsufficientMemory: (propagating from src/services/gl/GLService.cpp, function createGLContext(), line 354)
SCF: Error InsufficientMemory: (propagating from src/components/stages/GpuBlitStage.cpp, function initialize(), line 55)
SCF: Error InsufficientMemory: (propagating from src/components/stages/GpuBlitStage.cpp, function doAsyncInitialize(), line 692)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function createContext() line 212
Unable to create GL context
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function createContext() line 212
Unable to create GL context
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function createGLContext() line 219
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function createGLContext() line 219
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGL.cpp function initialize() line 146
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGL.cpp function initialize() line 146
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/backendOpenGL.cpp function initialize() line 173
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/backendOpenGL.cpp function initialize() line 173
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/backend.cpp function create() line 34
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/backend.cpp function create() line 34
(propagating)
SCF: Error InsufficientMemory: (propagating from src/components/stages/AoltmStage.cpp, function doAsyncInitialize(), line 77)
SCF: Error InsufficientMemory: AoltmStage initialization failed (in src/components/stages/AoltmStage.cpp, function doAsyncInitialize(), line 129)
SCF: Error InsufficientMemory: (propagating from src/components/stages/HdfxStage.cpp, function doAsyncInitialize(), line 121)
SCF: Error InsufficientMemory: HdfxStage initialization failed (in src/components/stages/HdfxStage.cpp, function doAsyncInitialize(), line 243)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function createContext() line 212
Unable to create GL context
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function createGLContext() line 219
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGL.cpp function initialize() line 146
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/backendOpenGL.cpp function initialize() line 173
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/backend.cpp function create() line 34
(propagating)
SCF: Error InsufficientMemory: (propagating from src/components/stages/DeFogStage.cpp, function doAsyncInitialize(), line 69)
SCF: Error InsufficientMemory: DeFogStage initialization failed (in src/components/stages/DeFogStage.cpp, function doAsyncInitialize(), line 146)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function createContext() line 212
Unable to create GL context
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGLEGL.cpp function createGLContext() line 219
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/OpenGL.cpp function initialize() line 146
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/OpenGL/backendOpenGL.cpp function initialize() line 173
(propagating)
FNET: Error in /dvs/git/dirty/git-master_linux/camera/utils/nvfnet/src/backends/backend.cpp function create() line 34
(propagating)
SCF: Error InsufficientMemory: (propagating from src/components/stages/SharpenStage.cpp, function doAsyncInitialize(), line 152)
SCF: Error InsufficientMemory: AoltmStage initialization failed (in src/components/stages/SharpenStage.cpp, function doAsyncInitialize(), line 178)
Available Sensor modes :
2592 x 1944 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
2592 x 1458 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
1280 x 720 FR=120.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
NvCameraSrc: Trying To Set Default Camera Resolution. Selected 640x480 FrameRate = 30.000000 ...
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
Sensor_WriteMode: Target mode Id(1): Resolution 2592x1458
Sensor_GetV4LPixelType: pixel type 0x101 invalid
setActiveBufferMemory: 2
setActivePixelFormat: 808535890
INPUT: Width 2592 Height 1944 pixelformat RG10
INPUT: Width 2592 Height 1458 pixelformat RG10
Sensor_WriteFrameRate: INPUT frameLength:1984, frameRate:30.000000
Sensor_WriteGain: INPUT gainCtrl:100 analogGain:1.000000
Sensor_WriteExposure: INPUT coarseTime:1978, expTime:0.033230
NvPclDriver_UpdateOutputSettings: OUTPUT frameLength:1984, frameRate:30.001921
NvPclDriver_UpdateOutputSettings: OUTPUT analogGain:1.000000
NvPclDriver_UpdateOutputSettings: OUTPUT coarseTime:1978, expTime:0.033230
NvPclDriver_V4L2_Sensor_Write:-----------------------
NvPclSettingsApply: Reading PCL settings
NvPclSettingsUpdate: Sending Updated Settings through PCL
NvPclSettingsApply: Applying last settings through PCL
NvPclDriver_V4L2_Sensor_Write:+++++++++++++++++++++++
Socket read error. Camera Daemon stopped functioning.....
ERROR: from element /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstNvCameraSrc:nvcamerasrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.037850225
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...