Open burak-ayd opened 11 months ago
CSI cam0 port cannot start, but I can start cam1 csi port with this command:
gst-launch-1.0 nvarguscamerasrc sensor-id=X ! 'video/x-raw(memory:NVMM),width=2472,height=2048,framerate=78/1,format=NV12' ! nvvidconv ! fpsdisplaysink video-sink=xvimagesink sync=false
There are some non-understandable in .dtsi file of Jetson Orin Nano like:
#define VC_MIPI_CAM_1 1 // 1: Enabled, 0: Disabled (serial_a => CSI Port 0 => VI Stream 0)
#define VC_MIPI_CAM_0 1 // 1: Enabled, 0: Disabled (serial_c => CSI Port 2 => VI Stream 2)
says 'serial_a' but when coming to configuration, it set to 'serial_b' in line
extra: I cannot start the camera with this command also: gst-launch-1.0 nvarguscamerasrc sensor-id=X
, should it be opened by this command?
Jetson Orin Nano with VC IMX568 cam
command output
gstream
-gstream command
GST_ARGUS: Running with following settings: Camera index = 0 Camera mode = 0 Output Stream W = 2464 H = 2048 seconds to Run = 0 Frame Rate = 78.800002 GST_ARGUS: Setup Complete, Starting captures for 0 seconds GST_ARGUS: Starting repeat capture requests. CONSUMER: Producer has connected; continuing. nvbuf_utils: dmabuf_fd -1 mapped entry NOT found Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:694 NvBufSurfaceFromFd Failed. Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating) ERROR: from element /GstPipeline:pipeline0/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED Additional debug info: Argus Error Status Execution ended after 0:00:00.420879376 Setting pipeline to NULL ... GST_ARGUS: Cleaning up
[ 189.067207] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 41554 mHz [ 189.074502] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 10000 us [ 189.085201] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz [ 189.092527] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 10000 us [ 189.101261] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10 [ 189.107939] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 189.120776] bwmgr API not supported [ 189.121080] vc_mipi 9-001a: vc_core_set_format(): Set format 0x300f (RG10) [ 189.131793] vc_mipi 9-001a: vc_core_try_format(): Try format 0x300f (RG10, format: 0x2b) [ 189.131798] vc_mipi 9-001a: vc_update_image_size_from_mode(): Update image size from mode0 (l: 0, t: 0, w: 2464, h: 2048) [ 189.143094] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10 [ 189.149729] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 189.158418] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz [ 189.165671] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 189.174355] i2c 9-0010: vc_mod_set_mode(): Set module mode: 10 (lanes: 4, format: RG10, type: EXT.TRG) [ 189.183944] i2c 9-0010: vc_mod_set_power(): Set module power: down [ 189.184213] i2c 9-0010: vc_mod_set_power(): Set module power: up [ 189.585492] vc_mipi 9-001a: vc_sen_set_roi(): Set sensor roi: (left: 0, top: 0, width: 2464, height: 2048) [ 189.596860] vc_mipi 9-001a: vc_sen_set_roi(): i2c_write_reg: 14658 [ 189.603358] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 189.612125] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10 [ 189.618818] vc_mipi 9-001a: vc_sen_set_blacklevel(): Set sensor black level: 60 [ 189.626657] vc_mipi 9-001a: vc_sen_start_stream(): Start streaming [ 189.834097] bwmgr API not supported [ 1034.174784] vc_mipi 9-001a: vc_sen_stop_stream(): Stop streaming [ 1034.239951] bwmgr API not supported [ 1036.795497] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 67060 mHz [ 1036.806408] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1036.815174] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 0 [ 1036.823687] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz [ 1036.830982] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1036.840442] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10 [ 1036.850549] bwmgr API not supported [ 1036.850859] vc_mipi 9-001a: vc_core_set_format(): Set format 0x300f (RG10) [ 1036.861586] vc_mipi 9-001a: vc_core_try_format(): Try format 0x300f (RG10, format: 0x2b) [ 1036.861591] vc_mipi 9-001a: vc_update_image_size_from_mode(): Update image size from mode0 (l: 0, t: 0, w: 2464, h: 2048) [ 1036.872915] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10 [ 1036.879591] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1036.888319] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz [ 1036.895696] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1036.904479] vc_mipi 9-001a: vc_sen_set_roi(): Set sensor roi: (left: 0, top: 0, width: 2464, height: 2048) [ 1036.915849] vc_mipi 9-001a: vc_sen_set_roi(): i2c_write_reg: 14658 [ 1036.922304] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1036.931055] vc_mipi 9-001a: vc_sen_start_stream(): Start streaming [ 1037.138411] bwmgr API not supported [ 1077.915361] vc_mipi 9-001a: vc_sen_stop_stream(): Stop streaming [ 1077.980722] bwmgr API not supported [ 1088.440177] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 67060 mHz [ 1088.451107] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1088.459915] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 0 [ 1088.467680] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz [ 1088.474980] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1088.483714] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10 [ 1088.493863] bwmgr API not supported [ 1088.494171] vc_mipi 9-001a: vc_core_set_format(): Set format 0x300f (RG10) [ 1088.504873] vc_mipi 9-001a: vc_core_try_format(): Try format 0x300f (RG10, format: 0x2b) [ 1088.504878] vc_mipi 9-001a: vc_update_image_size_from_mode(): Update image size from mode0 (l: 0, t: 0, w: 2464, h: 2048) [ 1088.516180] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10 [ 1088.522818] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1088.531503] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz [ 1088.538774] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1088.547471] vc_mipi 9-001a: vc_sen_set_roi(): Set sensor roi: (left: 0, top: 0, width: 2464, height: 2048) [ 1088.558607] vc_mipi 9-001a: vc_sen_set_roi(): i2c_write_reg: 14658 [ 1088.565067] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1088.573748] vc_mipi 9-001a: vc_sen_start_stream(): Start streaming [ 1088.781042] bwmgr API not supported [ 1101.227032] vc_mipi 9-001a: vc_sen_stop_stream(): Stop streaming [ 1101.292261] bwmgr API not supported [ 1102.786192] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 67060 mHz [ 1102.797078] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1102.805919] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 0 [ 1102.814286] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz [ 1102.821649] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1102.830543] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10 [ 1102.840631] bwmgr API not supported [ 1102.840940] vc_mipi 9-001a: vc_core_set_format(): Set format 0x300f (RG10) [ 1102.851634] vc_mipi 9-001a: vc_core_try_format(): Try format 0x300f (RG10, format: 0x2b) [ 1102.851639] vc_mipi 9-001a: vc_update_image_size_from_mode(): Update image size from mode0 (l: 0, t: 0, w: 2464, h: 2048) [ 1102.862928] vc_mipi 9-001a: vc_sen_set_gain(): Set sensor gain: 10 [ 1102.869546] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1102.878193] vc_mipi 9-001a: vc_core_set_framerate(): Set framerate 30000 mHz [ 1102.885449] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1102.894117] vc_mipi 9-001a: vc_sen_set_roi(): Set sensor roi: (left: 0, top: 0, width: 2464, height: 2048) [ 1102.905203] vc_mipi 9-001a: vc_sen_set_roi(): i2c_write_reg: 14658 [ 1102.911671] vc_mipi 9-001a: vc_sen_set_exposure(): Set sensor exposure: 33330 us [ 1102.920319] vc_mipi 9-001a: vc_sen_start_stream(): Start streaming``