Skip to content

cam0/devicetree issue for L4T 36.4.0 Nvidia Jetson Orin Nano dev kit Orin Nx 16GB module IMX273C #169

@mKunzendorf

Description

@mKunzendorf

Any suggestions how to get both cam0 and cam1 to work with gstreamer on the same time?

Status:

  • Both cam0 and cam1 working with v4l2-ctl
  • gstreamer only working on cam1
  • in the device tree, for gstreamer to work on cam1, cam0 also have to be enable

Using following device tree:

vc_mipi_nvidia/src/devicetree/NV_DevKit_OrinNano/tegra234-p3767-camera-p3768-vc_mipi-dual.dts

cam0 and cam1 enabled in dts

IMX273C connected to cam0:

vc@nvidia:~$ sudo dmesg | grep i2c 
[sudo] password for vc: 
[    0.185961] i2c_dev: i2c /dev entries driver
[    3.221927] tegra-i2c 3160000.i2c: Adding to iommu group 1
[    3.226426] tegra-i2c 3180000.i2c: Adding to iommu group 1
[    3.228590] tegra-i2c 31b0000.i2c: Adding to iommu group 1
[    3.231009] tegra-i2c c240000.i2c: Adding to iommu group 1
[    3.233251] i2c 1-0025: Fixing up cyclic dependency with 3520000.padctl
[    3.233765] tegra-i2c c250000.i2c: Adding to iommu group 1
[    3.236946] i2c i2c-2: Added multiplexed i2c bus 9
[    3.237680] i2c i2c-2: Added multiplexed i2c bus 10
[    3.237684] i2c-mux-gpio bus@0:cam_i2cmux: 2 port mux on 3180000.i2c adapter
[   13.160100] i2c 10-0010: +--- VC MIPI Camera -----------------------------------+
[   13.160108] i2c 10-0010: | MANUF. | Vision Components               MID: 0x0427 |
[   13.160110] i2c 10-0010: | MODULE | ID:  0x0273                     REV:   0018 |
[   13.160112] i2c 10-0010: | SENSOR | SONY IMX273C                                |
[   13.160113] i2c 10-0010: +--------+---------------------------------------------+
[   13.160114] i2c 10-0010: +--- Sensor Registers ------+--------+--------+--------+
[   13.160115] i2c 10-0010: |                           | low    | mid    | high   |
[   13.160116] i2c 10-0010: +---------------------------+--------+--------+--------+
[   13.160116] i2c 10-0010: | idle                      | 0x7000 |        |        |
[   13.160118] i2c 10-0010: | horizontal start          | 0x6013 | 0x6014 |        |
[   13.160119] i2c 10-0010: | vertical start            | 0x600e | 0x600f |        |
[   13.160121] i2c 10-0010: | horizontal end            | 0x0000 | 0x0000 |        |
[   13.160122] i2c 10-0010: | vertical end              | 0x0000 | 0x0000 |        |
[   13.160123] i2c 10-0010: | hor. output width         | 0x6015 | 0x6016 |        |
[   13.160125] i2c 10-0010: | ver. output height        | 0x6010 | 0x6011 |        |
[   13.160126] i2c 10-0010: | exposure                  | 0x028d | 0x028e | 0x028f |
[   13.160127] i2c 10-0010: | gain                      | 0x0404 | 0x0405 |        |
[   13.160129] i2c 10-0010: +---------------------------+--------+--------+--------+
[   13.160130] i2c 10-0010: | clock for ext. trigger    | 74250000 Hz              |
[   13.160131] i2c 10-0010: | pixel clock               | 74250000 Hz              |
[   13.160132] i2c 10-0010: | shutter offset            |    12540 us              |
[   13.160133] i2c 10-0010: +---------------------------+--------------------------+
[   13.160133] i2c 10-0010: +--- Module Modes -------+---------+---------+---------+
[   13.160134] i2c 10-0010: |  # | rate    | lanes   | format  | type    | binning |
[   13.160135] i2c 10-0010: +----+---------+---------+---------+---------+---------+
[   13.160136] i2c 10-0010: |  0 |    1500 |       2 | RAW08   | STREAM  |       0 |
[   13.160138] i2c 10-0010: |  1 |    1500 |       2 | RAW10   | STREAM  |       0 |
[   13.160140] i2c 10-0010: |  2 |    1500 |       2 | RAW12   | STREAM  |       0 |
[   13.160141] i2c 10-0010: |  3 |    1500 |       2 | RAW08   | EXT.TRG |       0 |
[   13.160142] i2c 10-0010: |  4 |    1500 |       2 | RAW10   | EXT.TRG |       0 |
[   13.160143] i2c 10-0010: |  5 |    1500 |       2 | RAW12   | EXT.TRG |       0 |
[   13.160145] i2c 10-0010: |  6 |    1500 |       4 | RAW08   | STREAM  |       0 |
[   13.160146] i2c 10-0010: |  7 |    1500 |       4 | RAW10   | STREAM  |       0 |
[   13.160147] i2c 10-0010: |  8 |    1500 |       4 | RAW12   | STREAM  |       0 |
[   13.160149] i2c 10-0010: |  9 |    1500 |       4 | RAW08   | EXT.TRG |       0 |
[   13.160150] i2c 10-0010: | 10 |    1500 |       4 | RAW10   | EXT.TRG |       0 |
[   13.160151] i2c 10-0010: | 11 |    1500 |       4 | RAW12   | EXT.TRG |       0 |
[   13.160152] i2c 10-0010: | 12 |    1500 |       2 | RAW08   | STREAM  |       1 |
[   13.160154] i2c 10-0010: | 13 |    1500 |       2 | RAW10   | STREAM  |       1 |
[   13.160155] i2c 10-0010: | 14 |    1500 |       2 | RAW12   | STREAM  |       1 |
[   13.160157] i2c 10-0010: | 15 |    1500 |       2 | RAW08   | EXT.TRG |       1 |
[   13.160158] i2c 10-0010: | 16 |    1500 |       2 | RAW10   | EXT.TRG |       1 |
[   13.160159] i2c 10-0010: | 17 |    1500 |       2 | RAW12   | EXT.TRG |       1 |
[   13.160160] i2c 10-0010: | 18 |    1500 |       4 | RAW08   | STREAM  |       1 |
[   13.160161] i2c 10-0010: | 19 |    1500 |       4 | RAW10   | STREAM  |       1 |
[   13.160163] i2c 10-0010: | 20 |    1500 |       4 | RAW12   | STREAM  |       1 |
[   13.160164] i2c 10-0010: | 21 |    1500 |       4 | RAW08   | EXT.TRG |       1 |
[   13.160165] i2c 10-0010: | 22 |    1500 |       4 | RAW10   | EXT.TRG |       1 |
[   13.160166] i2c 10-0010: | 23 |    1500 |       4 | RAW12   | EXT.TRG |       1 |
[   13.160168] i2c 10-0010: +----+---------+---------+---------+---------+---------+
[   13.160169] i2c 10-0010: vc_init_ctrl_imx273(): Initialising module control for IMX273
[   13.160173] i2c 10-0010: +-------+--------+------------+-----------+
[   13.160174] i2c 10-0010: | lanes | format | exposure   | framerate |
[   13.160175] i2c 10-0010: |       |        | max [us]   | max [mHz] |
[   13.160175] i2c 10-0010: +-------+--------+------------+-----------+
[   13.160176] i2c 10-0010: |     2 | RAW08  |    4744734 |    195579 |
[   13.160178] i2c 10-0010: |     2 | RAW10  |    5930655 |    156470 |
[   13.160179] i2c 10-0010: |     2 | RAW12  |    6777891 |    136911 |
[   13.160181] i2c 10-0010: |     4 | RAW08  |    3360634 |    276166 |
[   13.160182] i2c 10-0010: |     4 | RAW10  |    4094626 |    226654 |
[   13.160183] i2c 10-0010: |     4 | RAW12  |    5591970 |    165947 |
[   13.160184] i2c 10-0010: +-------+--------+------------+-----------+
[   13.160185] i2c 10-0010: VC MIPI Core successfully initialized
[   13.160192] i2c 10-0010: vc_mod_set_trigger_mode(): Set trigger mode: DISABLED
[   13.160194] i2c 10-0010: vc_mod_set_io_mode(): Set IO mode: DISABLED
vc@nvidia:~/test$ ./demo.sh 
Format (width: 1440, height: 1080, pixelformat: GB10, colorspace: SRGB)
[#0003, ts:   94912, t:   0 ms, 1440, 1080, 2880, GB10] (720, 540) 2008 2048 20c8 1f87 1f47 
[#0004, ts:   94922, t:  10 ms, 1440, 1080, 2880, GB10] (720, 540) 2008 1f87 2008 2088 2148 
vc@nvidia:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 ! 'video/x-raw(memory:NVMM),framerate=156/1,width=1440,height=1080,format=NV12' ! nvvidconv ! queue ! fpsdisplaysink video-sink=xvimagesink text-overlay=true
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 1440 x 1080 FR = 156.500009 fps Duration = 6389776 ; Analog Gain range min 0.000000, max 48.000000; Exposure Range min 1000, max 1000000000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 1440 H = 1080 
   seconds to Run    = 0 
   Frame Rate = 156.500009 
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. gstnvarguscamerasrc.cpp, threadExecute:734 NvBufSurfaceFromFd Failed.
Error generated. gstnvarguscamerasrc.cpp, threadFunction:245 (propagating)
Redistribute latency...
Got EOS from element "pipeline0".
Execution ended after 0:00:04.019696211
Setting pipeline to NULL ...
GST_ARGUS: Cleaning up
GST_ARGUS: Done Success
Freeing pipeline ...

IMX273C connected to cam1:

vc@nvidia:~$ sudo dmesg | grep i2c 
[sudo] password for vc: 
[    0.185197] i2c_dev: i2c /dev entries driver
[    1.753422] tegra-i2c 3160000.i2c: Adding to iommu group 1
[    1.757446] tegra-i2c 3180000.i2c: Adding to iommu group 1
[    1.759554] tegra-i2c 31b0000.i2c: Adding to iommu group 1
[    1.762080] tegra-i2c c240000.i2c: Adding to iommu group 1
[    1.764684] i2c 1-0025: Fixing up cyclic dependency with 3520000.padctl
[    1.765216] tegra-i2c c250000.i2c: Adding to iommu group 1
[    1.768795] i2c i2c-2: Added multiplexed i2c bus 9
[    1.769471] i2c i2c-2: Added multiplexed i2c bus 10
[    1.769475] i2c-mux-gpio bus@0:cam_i2cmux: 2 port mux on 3180000.i2c adapter
[    9.085716] i2c 9-0010: +--- VC MIPI Camera -----------------------------------+
[    9.085719] i2c 9-0010: | MANUF. | Vision Components               MID: 0x0427 |
[    9.085722] i2c 9-0010: | MODULE | ID:  0x0273                     REV:   0018 |
[    9.085725] i2c 9-0010: | SENSOR | SONY IMX273C                                |
[    9.085728] i2c 9-0010: +--------+---------------------------------------------+
[    9.085730] i2c 9-0010: +--- Sensor Registers ------+--------+--------+--------+
[    9.085731] i2c 9-0010: |                           | low    | mid    | high   |
[    9.085733] i2c 9-0010: +---------------------------+--------+--------+--------+
[    9.085735] i2c 9-0010: | idle                      | 0x7000 |        |        |
[    9.085737] i2c 9-0010: | horizontal start          | 0x6013 | 0x6014 |        |
[    9.085740] i2c 9-0010: | vertical start            | 0x600e | 0x600f |        |
[    9.085742] i2c 9-0010: | horizontal end            | 0x0000 | 0x0000 |        |
[    9.085744] i2c 9-0010: | vertical end              | 0x0000 | 0x0000 |        |
[    9.085747] i2c 9-0010: | hor. output width         | 0x6015 | 0x6016 |        |
[    9.085749] i2c 9-0010: | ver. output height        | 0x6010 | 0x6011 |        |
[    9.085751] i2c 9-0010: | exposure                  | 0x028d | 0x028e | 0x028f |
[    9.085753] i2c 9-0010: | gain                      | 0x0404 | 0x0405 |        |
[    9.085754] i2c 9-0010: +---------------------------+--------+--------+--------+
[    9.085755] i2c 9-0010: | clock for ext. trigger    | 74250000 Hz              |
[    9.085756] i2c 9-0010: | pixel clock               | 74250000 Hz              |
[    9.085757] i2c 9-0010: | shutter offset            |    12540 us              |
[    9.085758] i2c 9-0010: +---------------------------+--------------------------+
[    9.085759] i2c 9-0010: +--- Module Modes -------+---------+---------+---------+
[    9.085759] i2c 9-0010: |  # | rate    | lanes   | format  | type    | binning |
[    9.085760] i2c 9-0010: +----+---------+---------+---------+---------+---------+
[    9.085762] i2c 9-0010: |  0 |    1500 |       2 | RAW08   | STREAM  |       0 |
[    9.085764] i2c 9-0010: |  1 |    1500 |       2 | RAW10   | STREAM  |       0 |
[    9.085765] i2c 9-0010: |  2 |    1500 |       2 | RAW12   | STREAM  |       0 |
[    9.085766] i2c 9-0010: |  3 |    1500 |       2 | RAW08   | EXT.TRG |       0 |
[    9.085768] i2c 9-0010: |  4 |    1500 |       2 | RAW10   | EXT.TRG |       0 |
[    9.085769] i2c 9-0010: |  5 |    1500 |       2 | RAW12   | EXT.TRG |       0 |
[    9.085770] i2c 9-0010: |  6 |    1500 |       4 | RAW08   | STREAM  |       0 |
[    9.085771] i2c 9-0010: |  7 |    1500 |       4 | RAW10   | STREAM  |       0 |
[    9.085772] i2c 9-0010: |  8 |    1500 |       4 | RAW12   | STREAM  |       0 |
[    9.085773] i2c 9-0010: |  9 |    1500 |       4 | RAW08   | EXT.TRG |       0 |
[    9.085775] i2c 9-0010: | 10 |    1500 |       4 | RAW10   | EXT.TRG |       0 |
[    9.085776] i2c 9-0010: | 11 |    1500 |       4 | RAW12   | EXT.TRG |       0 |
[    9.085777] i2c 9-0010: | 12 |    1500 |       2 | RAW08   | STREAM  |       1 |
[    9.085778] i2c 9-0010: | 13 |    1500 |       2 | RAW10   | STREAM  |       1 |
[    9.085780] i2c 9-0010: | 14 |    1500 |       2 | RAW12   | STREAM  |       1 |
[    9.085781] i2c 9-0010: | 15 |    1500 |       2 | RAW08   | EXT.TRG |       1 |
[    9.085782] i2c 9-0010: | 16 |    1500 |       2 | RAW10   | EXT.TRG |       1 |
[    9.085783] i2c 9-0010: | 17 |    1500 |       2 | RAW12   | EXT.TRG |       1 |
[    9.085785] i2c 9-0010: | 18 |    1500 |       4 | RAW08   | STREAM  |       1 |
[    9.085786] i2c 9-0010: | 19 |    1500 |       4 | RAW10   | STREAM  |       1 |
[    9.085787] i2c 9-0010: | 20 |    1500 |       4 | RAW12   | STREAM  |       1 |
[    9.085788] i2c 9-0010: | 21 |    1500 |       4 | RAW08   | EXT.TRG |       1 |
[    9.085789] i2c 9-0010: | 22 |    1500 |       4 | RAW10   | EXT.TRG |       1 |
[    9.085791] i2c 9-0010: | 23 |    1500 |       4 | RAW12   | EXT.TRG |       1 |
[    9.085792] i2c 9-0010: +----+---------+---------+---------+---------+---------+
[    9.085793] i2c 9-0010: vc_init_ctrl_imx273(): Initialising module control for IMX273
[    9.085797] i2c 9-0010: +-------+--------+------------+-----------+
[    9.085798] i2c 9-0010: | lanes | format | exposure   | framerate |
[    9.085799] i2c 9-0010: |       |        | max [us]   | max [mHz] |
[    9.085800] i2c 9-0010: +-------+--------+------------+-----------+
[    9.085801] i2c 9-0010: |     2 | RAW08  |    4744734 |    195579 |
[    9.085803] i2c 9-0010: |     2 | RAW10  |    5930655 |    156470 |
[    9.085804] i2c 9-0010: |     2 | RAW12  |    6777891 |    136911 |
[    9.085805] i2c 9-0010: |     4 | RAW08  |    3360634 |    276166 |
[    9.085807] i2c 9-0010: |     4 | RAW10  |    4094626 |    226654 |
[    9.085808] i2c 9-0010: |     4 | RAW12  |    5591970 |    165947 |
[    9.085809] i2c 9-0010: +-------+--------+------------+-----------+
[    9.085810] i2c 9-0010: VC MIPI Core successfully initialized
[    9.085816] i2c 9-0010: vc_mod_set_trigger_mode(): Set trigger mode: DISABLED
[    9.085818] i2c 9-0010: vc_mod_set_io_mode(): Set IO mode: DISABLED
vc@nvidia:~/test$ ./demo.sh 
Format (width: 1440, height: 1080, pixelformat: RG10, colorspace: SRGB)
[#0003, ts:  366067, t:   0 ms, 1440, 1080, 2880, RG10] (720, 540) 1f87 2148 1f07 1f87 20c8 
[#0004, ts:  366077, t:  10 ms, 1440, 1080, 2880, RG10] (720, 540) 1fc7 2048 20c8 2088 2188 
vc@nvidia:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 ! 'video/x-raw(memory:NVMM),framerate=156/1,width=1440,height=1080,format=NV12' ! nvvidconv ! queue ! fpsdisplaysink video-sink=xvimagesink text-overlay=true
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 1440 x 1080 FR = 156.500009 fps Duration = 6389776 ; Analog Gain range min 0.000000, max 48.000000; Exposure Range min 1000, max 1000000000;

GST_ARGUS: Running with following settings:
   Camera index = 0 
   Camera mode  = 0 
   Output Stream W = 1440 H = 1080 
   seconds to Run    = 0 
   Frame Rate = 156.500009 
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstXvImageSink:xvimagesink0: Output window was closed
Additional debug info:
../sys/xvimage/xvimagesink.c(568): gst_xv_image_sink_handle_xevents (): /GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0/GstXvImageSink:xvimagesink0
Execution ended after 0:00:08.882454404
Setting pipeline to NULL ...
GST_ARGUS: Cleaning up
^CCONSUMER: Done Success
GST_ARGUS: Done Success
Freeing pipeline ...

cam0 disable and cam1 enabled in dts

IMX273C connected to cam1

vc@nvidia:~$ sudo dmesg | grep i2c 
[sudo] password for vc: 
[    0.185946] i2c_dev: i2c /dev entries driver
[    2.201293] tegra-i2c 3160000.i2c: Adding to iommu group 1
[    2.209001] tegra-i2c 3180000.i2c: Adding to iommu group 1
[    2.214047] tegra-i2c 31b0000.i2c: Adding to iommu group 1
[    2.217183] tegra-i2c c240000.i2c: Adding to iommu group 1
[    2.219934] i2c 1-0025: Fixing up cyclic dependency with 3520000.padctl
[    2.220554] tegra-i2c c250000.i2c: Adding to iommu group 1
[    2.224443] i2c i2c-2: Added multiplexed i2c bus 9
[    2.225160] i2c i2c-2: Added multiplexed i2c bus 10
[    2.225163] i2c-mux-gpio bus@0:cam_i2cmux: 2 port mux on 3180000.i2c adapter
[    9.687094] i2c 9-0010: +--- VC MIPI Camera -----------------------------------+
[    9.687102] i2c 9-0010: | MANUF. | Vision Components               MID: 0x0427 |
[    9.687105] i2c 9-0010: | MODULE | ID:  0x0273                     REV:   0018 |
[    9.687108] i2c 9-0010: | SENSOR | SONY IMX273C                                |
[    9.687109] i2c 9-0010: +--------+---------------------------------------------+
[    9.687110] i2c 9-0010: +--- Sensor Registers ------+--------+--------+--------+
[    9.687111] i2c 9-0010: |                           | low    | mid    | high   |
[    9.687111] i2c 9-0010: +---------------------------+--------+--------+--------+
[    9.687112] i2c 9-0010: | idle                      | 0x7000 |        |        |
[    9.687113] i2c 9-0010: | horizontal start          | 0x6013 | 0x6014 |        |
[    9.687114] i2c 9-0010: | vertical start            | 0x600e | 0x600f |        |
[    9.687115] i2c 9-0010: | horizontal end            | 0x0000 | 0x0000 |        |
[    9.687116] i2c 9-0010: | vertical end              | 0x0000 | 0x0000 |        |
[    9.687117] i2c 9-0010: | hor. output width         | 0x6015 | 0x6016 |        |
[    9.687118] i2c 9-0010: | ver. output height        | 0x6010 | 0x6011 |        |
[    9.687119] i2c 9-0010: | exposure                  | 0x028d | 0x028e | 0x028f |
[    9.687120] i2c 9-0010: | gain                      | 0x0404 | 0x0405 |        |
[    9.687121] i2c 9-0010: +---------------------------+--------+--------+--------+
[    9.687122] i2c 9-0010: | clock for ext. trigger    | 74250000 Hz              |
[    9.687123] i2c 9-0010: | pixel clock               | 74250000 Hz              |
[    9.687124] i2c 9-0010: | shutter offset            |    12540 us              |
[    9.687124] i2c 9-0010: +---------------------------+--------------------------+
[    9.687125] i2c 9-0010: +--- Module Modes -------+---------+---------+---------+
[    9.687126] i2c 9-0010: |  # | rate    | lanes   | format  | type    | binning |
[    9.687127] i2c 9-0010: +----+---------+---------+---------+---------+---------+
[    9.687128] i2c 9-0010: |  0 |    1500 |       2 | RAW08   | STREAM  |       0 |
[    9.687129] i2c 9-0010: |  1 |    1500 |       2 | RAW10   | STREAM  |       0 |
[    9.687131] i2c 9-0010: |  2 |    1500 |       2 | RAW12   | STREAM  |       0 |
[    9.687132] i2c 9-0010: |  3 |    1500 |       2 | RAW08   | EXT.TRG |       0 |
[    9.687133] i2c 9-0010: |  4 |    1500 |       2 | RAW10   | EXT.TRG |       0 |
[    9.687135] i2c 9-0010: |  5 |    1500 |       2 | RAW12   | EXT.TRG |       0 |
[    9.687136] i2c 9-0010: |  6 |    1500 |       4 | RAW08   | STREAM  |       0 |
[    9.687137] i2c 9-0010: |  7 |    1500 |       4 | RAW10   | STREAM  |       0 |
[    9.687138] i2c 9-0010: |  8 |    1500 |       4 | RAW12   | STREAM  |       0 |
[    9.687139] i2c 9-0010: |  9 |    1500 |       4 | RAW08   | EXT.TRG |       0 |
[    9.687141] i2c 9-0010: | 10 |    1500 |       4 | RAW10   | EXT.TRG |       0 |
[    9.687142] i2c 9-0010: | 11 |    1500 |       4 | RAW12   | EXT.TRG |       0 |
[    9.687143] i2c 9-0010: | 12 |    1500 |       2 | RAW08   | STREAM  |       1 |
[    9.687144] i2c 9-0010: | 13 |    1500 |       2 | RAW10   | STREAM  |       1 |
[    9.687145] i2c 9-0010: | 14 |    1500 |       2 | RAW12   | STREAM  |       1 |
[    9.687147] i2c 9-0010: | 15 |    1500 |       2 | RAW08   | EXT.TRG |       1 |
[    9.687148] i2c 9-0010: | 16 |    1500 |       2 | RAW10   | EXT.TRG |       1 |
[    9.687149] i2c 9-0010: | 17 |    1500 |       2 | RAW12   | EXT.TRG |       1 |
[    9.687150] i2c 9-0010: | 18 |    1500 |       4 | RAW08   | STREAM  |       1 |
[    9.687151] i2c 9-0010: | 19 |    1500 |       4 | RAW10   | STREAM  |       1 |
[    9.687152] i2c 9-0010: | 20 |    1500 |       4 | RAW12   | STREAM  |       1 |
[    9.687154] i2c 9-0010: | 21 |    1500 |       4 | RAW08   | EXT.TRG |       1 |
[    9.687155] i2c 9-0010: | 22 |    1500 |       4 | RAW10   | EXT.TRG |       1 |
[    9.687156] i2c 9-0010: | 23 |    1500 |       4 | RAW12   | EXT.TRG |       1 |
[    9.687157] i2c 9-0010: +----+---------+---------+---------+---------+---------+
[    9.687158] i2c 9-0010: vc_init_ctrl_imx273(): Initialising module control for IMX273
[    9.687163] i2c 9-0010: +-------+--------+------------+-----------+
[    9.687163] i2c 9-0010: | lanes | format | exposure   | framerate |
[    9.687164] i2c 9-0010: |       |        | max [us]   | max [mHz] |
[    9.687165] i2c 9-0010: +-------+--------+------------+-----------+
[    9.687166] i2c 9-0010: |     2 | RAW08  |    4744734 |    195579 |
[    9.687167] i2c 9-0010: |     2 | RAW10  |    5930655 |    156470 |
[    9.687169] i2c 9-0010: |     2 | RAW12  |    6777891 |    136911 |
[    9.687170] i2c 9-0010: |     4 | RAW08  |    3360634 |    276166 |
[    9.687172] i2c 9-0010: |     4 | RAW10  |    4094626 |    226654 |
[    9.687173] i2c 9-0010: |     4 | RAW12  |    5591970 |    165947 |
[    9.687174] i2c 9-0010: +-------+--------+------------+-----------+
[    9.687175] i2c 9-0010: VC MIPI Core successfully initialized
[    9.687182] i2c 9-0010: vc_mod_set_trigger_mode(): Set trigger mode: DISABLED
[    9.687184] i2c 9-0010: vc_mod_set_io_mode(): Set IO mode: DISABLED
vc@nvidia:~/test$ ./demo.sh --device 0
Cannot open device /dev/video0, exiting.
open (path: /dev/video0):: No such file or directory
Unknown error code
VIDIOC_G_FMT: Bad file descriptor
The file descriptor is not a valid.
Control (name: 'Exposure') not found!
VIDIOC_G_FMT: Bad file descriptor
The file descriptor is not a valid.
Control (name: 'Gain') not found!
VIDIOC_G_FMT: Bad file descriptor
The file descriptor is not a valid.
close (fd: -1):: Bad file descriptor
fd is not a valid open file descriptor.
vc@nvidia:~/test$ ./demo.sh --device 1
Cannot open device /dev/video0, exiting.
open (path: /dev/video1):: No such file or directory
Unknown error code
VIDIOC_G_FMT: Bad file descriptor
The file descriptor is not a valid.
Control (name: 'Exposure') not found!
VIDIOC_G_FMT: Bad file descriptor
The file descriptor is not a valid.
Control (name: 'Gain') not found!
VIDIOC_G_FMT: Bad file descriptor
The file descriptor is not a valid.
close (fd: -1):: Bad file descriptor
fd is not a valid open file descriptor.
vc@nvidia:~/test$ 
vc@nvidia:~$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=0 ! 'video/x-raw(memory:NVMM),framerate=156/1,width=1440,height=1080,format=NV12' ! nvvidconv ! queue ! fpsdisplaysink video-sink=xvimagesink text-overlay=true
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. gstnvarguscamerasrc.cpp, execute:794 No cameras available
Redistribute latency...
Got EOS from element "pipeline0".
Execution ended after 0:00:00.027031002
Setting pipeline to NULL ...
Freeing pipeline ...
vc@nvidia:~$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions