it’s not correct that you have implementation without ISP autocontrol.
please refer to Camera Software Development Solution chapter, and you may refer to [Camera Architecture Stack] session for software architecture.
could you please verify gain control works well with argus_camera application?
1) it's not correct that you have implementation without ISP autocontrol.
What do you mean by this? I simply want the ISP to debayer my image to NV12/YUV/RGB. You’re saying libargus can’t do this? I would expect a low level imaging library not to force me to color correct my image.
Hello, I am running a modified version of example 13 to control two csi-2 cameras without ISP autocontrols.
you’re running example 13 which actually with ISP autocontrols.
thanks
OK, well please provide settings to prevent the ISP autocontrols from color correcting the image. Every time I turn on the sensor through libargus the image looks different even with AWB off.
Also, why does the system lock for 60 seconds before I can turn on jetson_clocks.sh? I’d like to use the system without waiting a minute.
may I know what’s your environment setups,
could you please share several captured images through libargus to demonstrate the difference.
for your second question about system lock,
had you tried to configure the [System Settings]->[Brightness & Lock] and [System Settings]->[Power] to disable system suspend.
I have attached 2 iamges showing the difference. These were run back to back with the same settings. It looks like the black levels are different when I am setting this explicitly in libargus.
I don’t mean the screen is locking, I mean when I call jetson_clocks.sh in /etc/rc.local it doesn’t take effect.
“rc.local” may be calling jetson_clocks.sh prior to having all cores ready or prior to being able to write to the DVFS tables. As an experiment to test if this is the case, at the end of rc.local try this, but wait a bit more than 60 seconds to test after boot:
Each time I start the program using libargus with the same settings the amount of noise changes in each sensor. I have attached dmesg output to show my driver is writing the same settings to both sensors. Could this be a clock issue with the TX2? I am running 4096x2778 RAW12 @ 30fps streams.
[22164.969428] imx294 30-001a: imx294_power_on: power on
[22164.974935] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22164.979749] [IMX294]: TEGRA_CAMERA_CID_FRAME_LENGTH.
[22164.984723] imx294 30-001a: imx294_set_frame_length: val: 3904
[22164.991495] imx294 30-001a: imx294_set_frame_length: frame_rate: 44 vmax: 1428
[22164.998722] [IMX294]: TEGRA_CAMERA_CID_GAIN.
[22165.003004] imx294 30-001a: imx294_set_gain : gain = 1
[22165.008143] imx294 30-001a: imx294_set_gain : digital gain = 0, analog gain = 1
[22165.016342] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[22165.021238] imx294 30-001a: imx294_set_coarse_time: val: 3894
[22165.026996] imx294 30-001a: imx294_calculate_shr: shr: 58 vmax: 1428
[22165.033932] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.039720] misc tegra_camera_ctrl: ISO BW req 2147483647 > 4687500 (max) capping to max
[22165.047820] misc tegra_camera_ctrl: vi_v4l2_update_isobw: requested iso bw is larger than max
[22165.066805] imx294 30-001a: imx294_s_stream++,enable:1
[22165.082779] imx294 30-001a: imx294_s_stream mode[0]
[22165.197802] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.202607] [IMX294]: TEGRA_CAMERA_CID_FRAME_LENGTH.
[22165.207584] imx294 30-001a: imx294_set_frame_length: val: 5727
[22165.214307] imx294 30-001a: imx294_set_frame_length: frame_rate: 30 vmax: 2100
[22165.221540] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[22165.226422] imx294 30-001a: imx294_set_coarse_time: val: 5717
[22165.232172] imx294 30-001a: imx294_calculate_shr: shr: 88 vmax: 2100
[22165.239117] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.244799] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.249602] [IMX294]: TEGRA_CAMERA_CID_GAIN.
[22165.253881] imx294 30-001a: imx294_set_gain : gain = 1900
[22165.259293] imx294 30-001a: imx294_set_gain : digital gain = 2, analog gain = 364
[22165.267683] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.273718] imx294 31-001a: imx294_power_on: power on
[22165.279321] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.284164] [IMX294]: TEGRA_CAMERA_CID_FRAME_LENGTH.
[22165.289206] imx294 31-001a: imx294_set_frame_length: val: 3904
[22165.296071] imx294 31-001a: imx294_set_frame_length: frame_rate: 44 vmax: 1428
[22165.303310] [IMX294]: TEGRA_CAMERA_CID_GAIN.
[22165.307595] imx294 31-001a: imx294_set_gain : gain = 1
[22165.312790] imx294 31-001a: imx294_set_gain : digital gain = 0, analog gain = 1
[22165.321107] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[22165.326044] imx294 31-001a: imx294_set_coarse_time: val: 3894
[22165.331812] imx294 31-001a: imx294_calculate_shr: shr: 58 vmax: 1428
[22165.338842] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.345516] misc tegra_camera_ctrl: ISO BW req 4294967294 > 4687500 (max) capping to max
[22165.353620] misc tegra_camera_ctrl: vi_v4l2_update_isobw: requested iso bw is larger than max
[22165.372356] imx294 31-001a: imx294_s_stream++,enable:1
[22165.388388] imx294 31-001a: imx294_s_stream mode[0]
[22165.503983] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.508784] [IMX294]: TEGRA_CAMERA_CID_FRAME_LENGTH.
[22165.513760] imx294 31-001a: imx294_set_frame_length: val: 5727
[22165.520476] imx294 31-001a: imx294_set_frame_length: frame_rate: 30 vmax: 2100
[22165.527708] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[22165.532591] imx294 31-001a: imx294_set_coarse_time: val: 5717
[22165.538341] imx294 31-001a: imx294_calculate_shr: shr: 88 vmax: 2100
[22165.545278] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.550999] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.555793] [IMX294]: TEGRA_CAMERA_CID_GAIN.
[22165.560067] imx294 31-001a: imx294_set_gain : gain = 1900
[22165.565469] imx294 31-001a: imx294_set_gain : digital gain = 2, analog gain = 364
[22165.573836] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22165.940449] misc tegra_camera_ctrl: ISO BW req 2148960209 > 4687500 (max) capping to max
[22165.948557] misc tegra_camera_ctrl: vi_v4l2_update_isobw: requested iso bw is larger than max
[22168.292712] imx294 30-001a: imx294_s_stream++,enable:0
[22168.366966] imx294 31-001a: imx294_s_stream++,enable:0
[22168.438227] imx294 30-001a: imx294_power_off: power off
[22168.443783] imx294 31-001a: imx294_power_off: power off
[22171.839728] imx294 30-001a: imx294_power_on: power on
[22171.847138] imx294 30-001a: imx294_power_off: power off
[22171.852916] imx294 31-001a: imx294_power_on: power on
[22171.858401] imx294 31-001a: imx294_power_off: power off
[22171.864035] imx294 32-001a: imx294_power_on: power on
[22171.869514] imx294 32-001a: imx294_power_off: power off
[22171.875863] imx294 30-001a: imx294_power_on: power on
[22171.881478] imx294 30-001a: imx294_power_off: power off
[22171.887225] imx294 31-001a: imx294_power_on: power on
[22171.892741] imx294 31-001a: imx294_power_off: power off
[22171.898456] imx294 32-001a: imx294_power_on: power on
[22171.904012] imx294 32-001a: imx294_power_off: power off
[22171.919594] imx294 32-001a: imx294_power_on: power on
[22171.925089] imx294 32-001a: imx294_power_off: power off
[22171.930746] imx294 31-001a: imx294_power_on: power on
[22171.936229] imx294 31-001a: imx294_power_off: power off
[22171.941936] imx294 30-001a: imx294_power_on: power on
[22171.947401] imx294 30-001a: imx294_power_off: power off
[22171.953065] imx294 30-001a: imx294_power_on: power on
[22171.958586] imx294 30-001a: imx294_power_off: power off
[22171.964260] imx294 30-001a: imx294_power_on: power on
[22171.969773] imx294 30-001a: imx294_power_off: power off
[22171.981686] imx294 32-001a: imx294_power_on: power on
[22171.987206] imx294 32-001a: imx294_power_off: power off
[22171.992867] imx294 31-001a: imx294_power_on: power on
[22171.998359] imx294 31-001a: imx294_power_off: power off
[22172.004018] imx294 31-001a: imx294_power_on: power on
[22172.009542] imx294 31-001a: imx294_power_off: power off
[22172.015216] imx294 31-001a: imx294_power_on: power on
[22172.020716] imx294 31-001a: imx294_power_off: power off
[22172.030264] imx294 32-001a: imx294_power_on: power on
[22172.035782] imx294 32-001a: imx294_power_off: power off
[22172.041451] imx294 32-001a: imx294_power_on: power on
[22172.046992] imx294 32-001a: imx294_power_off: power off
[22172.052653] imx294 32-001a: imx294_power_on: power on
[22172.058170] imx294 32-001a: imx294_power_off: power off
[22172.110129] nvmap_alloc_handle: PID 5703: indio: WARNING: All NvMap Allocations must have a tag to identify the subsystem allocating memory.Please pass the tag to the API call NvRmMemHanldeAllocAttr() or relevant.
[22172.159562] imx294 30-001a: imx294_power_on: power on
[22172.165057] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.169873] [IMX294]: TEGRA_CAMERA_CID_FRAME_LENGTH.
[22172.174854] imx294 30-001a: imx294_set_frame_length: val: 3904
[22172.181587] imx294 30-001a: imx294_set_frame_length: frame_rate: 44 vmax: 1428
[22172.188825] [IMX294]: TEGRA_CAMERA_CID_GAIN.
[22172.193100] imx294 30-001a: imx294_set_gain : gain = 1
[22172.198240] imx294 30-001a: imx294_set_gain : digital gain = 0, analog gain = 1
[22172.206431] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[22172.211313] imx294 30-001a: imx294_set_coarse_time: val: 3894
[22172.217061] imx294 30-001a: imx294_calculate_shr: shr: 58 vmax: 1428
[22172.224000] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.229746] misc tegra_camera_ctrl: ISO BW req 2147483647 > 4687500 (max) capping to max
[22172.237845] misc tegra_camera_ctrl: vi_v4l2_update_isobw: requested iso bw is larger than max
[22172.256804] imx294 30-001a: imx294_s_stream++,enable:1
[22172.272775] imx294 30-001a: imx294_s_stream mode[0]
[22172.388342] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.393143] [IMX294]: TEGRA_CAMERA_CID_FRAME_LENGTH.
[22172.398116] imx294 30-001a: imx294_set_frame_length: val: 5727
[22172.404831] imx294 30-001a: imx294_set_frame_length: frame_rate: 30 vmax: 2100
[22172.412065] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[22172.416946] imx294 30-001a: imx294_set_coarse_time: val: 5717
[22172.422695] imx294 30-001a: imx294_calculate_shr: shr: 88 vmax: 2100
[22172.429634] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.435361] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.440162] [IMX294]: TEGRA_CAMERA_CID_GAIN.
[22172.444438] imx294 30-001a: imx294_set_gain : gain = 1900
[22172.449852] imx294 30-001a: imx294_set_gain : digital gain = 2, analog gain = 364
[22172.458243] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.464294] imx294 31-001a: imx294_power_on: power on
[22172.469897] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.474730] [IMX294]: TEGRA_CAMERA_CID_FRAME_LENGTH.
[22172.479772] imx294 31-001a: imx294_set_frame_length: val: 3904
[22172.486623] imx294 31-001a: imx294_set_frame_length: frame_rate: 44 vmax: 1428
[22172.493856] [IMX294]: TEGRA_CAMERA_CID_GAIN.
[22172.498142] imx294 31-001a: imx294_set_gain : gain = 1
[22172.503338] imx294 31-001a: imx294_set_gain : digital gain = 0, analog gain = 1
[22172.511660] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[22172.516590] imx294 31-001a: imx294_set_coarse_time: val: 3894
[22172.522348] imx294 31-001a: imx294_calculate_shr: shr: 58 vmax: 1428
[22172.529371] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.535983] misc tegra_camera_ctrl: ISO BW req 4294967294 > 4687500 (max) capping to max
[22172.544090] misc tegra_camera_ctrl: vi_v4l2_update_isobw: requested iso bw is larger than max
[22172.562806] imx294 31-001a: imx294_s_stream++,enable:1
[22172.578836] imx294 31-001a: imx294_s_stream mode[0]
[22172.694365] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.699171] [IMX294]: TEGRA_CAMERA_CID_FRAME_LENGTH.
[22172.704145] imx294 31-001a: imx294_set_frame_length: val: 5727
[22172.710863] imx294 31-001a: imx294_set_frame_length: frame_rate: 30 vmax: 2100
[22172.718095] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[22172.722977] imx294 31-001a: imx294_set_coarse_time: val: 5717
[22172.728728] imx294 31-001a: imx294_calculate_shr: shr: 88 vmax: 2100
[22172.735678] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.741389] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22172.746192] [IMX294]: TEGRA_CAMERA_CID_GAIN.
[22172.750467] imx294 31-001a: imx294_set_gain : gain = 1900
[22172.755870] imx294 31-001a: imx294_set_gain : digital gain = 2, analog gain = 364
[22172.764239] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[22173.131109] misc tegra_camera_ctrl: ISO BW req 2148960209 > 4687500 (max) capping to max
[22173.139236] misc tegra_camera_ctrl: vi_v4l2_update_isobw: requested iso bw is larger than max
[22175.483257] imx294 30-001a: imx294_s_stream++,enable:0
[22175.557327] imx294 31-001a: imx294_s_stream++,enable:0
[22175.624105] imx294 30-001a: imx294_power_off: power off
[22175.629649] imx294 31-001a: imx294_power_off: power off
these seems like power noise,
could you please also arrange your hardware engineer to check the power.
or you should contact your sensor vendor to examine your hardware.
thanks