libargus not working as expected

Hello, I am running a modified version of example 13 to control two csi-2 cameras without ISP autocontrols.

This is my main loop:

while (true) {
                for (uint32_t j = 0; j < 2; j++)
                {
                    ICaptureSession *iCaptureSession = interface_cast<ICaptureSession>(captureHolders[j].get()->getSession());
                    Request *request = captureHolders[j].get()->getRequest();
                    IRequest *iRequest = interface_cast<IRequest>(request);
                    IAutoControlSettings *iAutoControlSettings = interface_cast<IAutoControlSettings>(iRequest->getAutoControlSettings());
                    if (!iAutoControlSettings)
                        ORIGINATE_ERROR("Failed to get AutoControlSettings interface");
                    iAutoControlSettings->setIspDigitalGainRange(Range<float>(1.0));
                    iAutoControlSettings->setAwbMode(AWB_MODE_OFF);
                    iAutoControlSettings->setColorCorrectionMatrixEnable(true);
                    ISourceSettings *iSourceSettings = interface_cast<ISourceSettings>(iRequest->getSourceSettings());
                    if (!iSourceSettings)
                        ORIGINATE_ERROR("Failed to get SourceSettings interface");
                    iSourceSettings->setFrameDurationRange(Range<uint64_t>(1e9/FPS));
                    iSourceSettings->setGainRange(Range<float>(100.0));
                    iSourceSettings->setOpticalBlackEnable(true);
                    iSourceSettings->setOpticalBlack(0.04);
                    iSourceSettings->setExposureTimeRange(Range<uint64_t>(140000000));
                    if (j == 1) {
                        iAutoControlSettings->setColorCorrectionMatrix(g_matrix);
                    }
                    uint32_t frameId = iCaptureSession->capture(request);
                    if (frameId == 0)
                        ORIGINATE_ERROR("Failed to submit capture request");
                }
            }

Even though I am setting the gain, exposure, etc., the exposure is fluctuating and the setGainRange is ignored. Here is the log output:

[  660.791033] imx294 31-001a: imx294_power_off: power off
[  678.876609] imx294 30-001a: imx294_power_on: power on
[  678.883865] imx294 30-001a: imx294_power_off: power off
[  678.889666] imx294 31-001a: imx294_power_on: power on
[  678.895277] imx294 31-001a: imx294_power_off: power off
[  678.900958] imx294 32-001a: imx294_power_on: power on
[  678.906431] imx294 32-001a: imx294_power_off: power off
[  678.912916] imx294 30-001a: imx294_power_on: power on
[  678.918401] imx294 30-001a: imx294_power_off: power off
[  678.924075] imx294 31-001a: imx294_power_on: power on
[  678.929598] imx294 31-001a: imx294_power_off: power off
[  678.935259] imx294 32-001a: imx294_power_on: power on
[  678.940763] imx294 32-001a: imx294_power_off: power off
[  678.954229] imx294 32-001a: imx294_power_on: power on
[  678.959708] imx294 32-001a: imx294_power_off: power off
[  678.965361] imx294 31-001a: imx294_power_on: power on
[  678.970834] imx294 31-001a: imx294_power_off: power off
[  678.976483] imx294 30-001a: imx294_power_on: power on
[  678.981966] imx294 30-001a: imx294_power_off: power off
[  678.987692] imx294 30-001a: imx294_power_on: power on
[  678.993198] imx294 30-001a: imx294_power_off: power off
[  678.998828] imx294 30-001a: imx294_power_on: power on
[  679.004315] imx294 30-001a: imx294_power_off: power off
[  679.014840] imx294 32-001a: imx294_power_on: power on
[  679.020329] imx294 32-001a: imx294_power_off: power off
[  679.025979] imx294 31-001a: imx294_power_on: power on
[  679.031446] imx294 31-001a: imx294_power_off: power off
[  679.037101] imx294 31-001a: imx294_power_on: power on
[  679.042625] imx294 31-001a: imx294_power_off: power off
[  679.048293] imx294 31-001a: imx294_power_on: power on
[  679.053834] imx294 31-001a: imx294_power_off: power off
[  679.062940] imx294 32-001a: imx294_power_on: power on
[  679.068427] imx294 32-001a: imx294_power_off: power off
[  679.074088] imx294 32-001a: imx294_power_on: power on
[  679.079612] imx294 32-001a: imx294_power_off: power.
[  680.568966] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.573934] imx294 31-001a: imx294_set_coarse_time: val: 137
[  680.579636] imx294 31-001a: imx294_calculate_shr: shr: 2052 vmax: 2100
[  680.587235] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.597294] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.602158] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.607094] imx294 31-001a: imx294_set_coarse_time: val: 181
[  680.612851] imx294 31-001a: imx294_calculate_shr: shr: 2037 vmax: 2100
[  680.620589] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.630436] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.635356] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.640422] imx294 31-001a: imx294_set_coarse_time: val: 239
[  680.646177] imx294 31-001a: imx294_calculate_shr: shr: 2017 vmax: 2100
[  680.653799] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.661696] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.666679] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.671842] imx294 30-001a: imx294_set_coarse_time: val: 5066
[  680.677698] imx294 30-001a: imx294_calculate_shr: shr: 317 vmax: 2100
[  680.685342] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.694873] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.699763] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.704708] imx294 30-001a: imx294_set_coarse_time: val: 5989
[  680.710546] imx294 30-001a: imx294_calculate_shr: shr: 5 vmax: 2100
[  680.717880] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.729848] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.734893] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.739852] imx294 31-001a: imx294_set_coarse_time: val: 316
[  680.745663] imx294 31-001a: imx294_calculate_shr: shr: 1989 vmax: 2100
[  680.753434] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.762995] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.767867] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.772842] imx294 31-001a: imx294_set_coarse_time: val: 417
[  680.778672] imx294 31-001a: imx294_calculate_shr: shr: 1954 vmax: 2100
[  680.786457] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.796098] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.801007] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.806176] imx294 31-001a: imx294_set_coarse_time: val: 551
[  680.812148] imx294 31-001a: imx294_calculate_shr: shr: 1907 vmax: 2100
[  680.820113] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.829188] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.834025] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.839042] imx294 31-001a: imx294_set_coarse_time: val: 727
[  680.844902] imx294 31-001a: imx294_calculate_shr: shr: 1845 vmax: 2100
[  680.852702] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.862357] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.867191] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.872205] imx294 31-001a: imx294_set_coarse_time: val: 959
[  680.878011] imx294 31-001a: imx294_calculate_shr: shr: 1763 vmax: 2100
[  680.885669] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.895525] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.900368] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.905425] imx294 31-001a: imx294_set_coarse_time: val: 1266
[  680.911236] imx294 31-001a: imx294_calculate_shr: shr: 1655 vmax: 2100
[  680.918850] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.928736] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.933654] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.938824] imx294 31-001a: imx294_set_coarse_time: val: 1671
[  680.944688] imx294 31-001a: imx294_calculate_shr: shr: 1512 vmax: 2100
[  680.952694] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.961770] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.966685] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  680.971835] imx294 31-001a: imx294_set_coarse_time: val: 2205
[  680.977740] imx294 31-001a: imx294_calculate_shr: shr: 1324 vmax: 2100
[  680.985697] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.994945] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  680.999799] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  681.004808] imx294 31-001a: imx294_set_coarse_time: val: 2910
[  681.010601] imx294 31-001a: imx294_calculate_shr: shr: 1076 vmax: 2100
[  681.018237] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  681.028053] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  681.032927] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  681.037895] imx294 31-001a: imx294_set_coarse_time: val: 3839
[  681.043768] imx294 31-001a: imx294_calculate_shr: shr: 749 vmax: 2100
[  681.051440] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  681.061216] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  681.066351] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  681.071295] imx294 31-001a: imx294_set_coarse_time: val: 5066
[  681.077251] imx294 31-001a: imx294_calculate_shr: shr: 317 vmax: 2100
[  681.084986] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  681.094298] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  681.099200] [IMX294]: TEGRA_CAMERA_CID_COARSE_TIME.
[  681.104171] imx294 31-001a: imx294_set_coarse_time: val: 5989
[  681.109989] imx294 31-001a: imx294_calculate_shr: shr: 5 vmax: 2100
[  681.117617] [IMX294]: TEGRA_CAMERA_CID_GROUP_HOLD.
[  683.731985] imx294 30-001a: imx294_s_stream++,enable:0
[  683.965754] imx294 31-001a: imx294_s_stream++,enable:0
[  684.164347] imx294 30-001a: imx294_power_off: power off
[  684.170014] imx294 31-001a: imx294_power_off: power off

hello lancehxh2z,

  1. 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.
  2. 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 lancehxh2z

I would like to revise your understanding,

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.

hello kjasper,

  1. may I know what’s your environment setups,
    could you please share several captured images through libargus to demonstrate the difference.

  2. 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.

  1. 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.

  2. 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:

sleep 60; /home/nvidia/jetson_clocks.sh

hello kjasper,

  1. may I know which JetPack release you’re working with.
  2. could you please try input some control properties, to check if you’re able to get the identical results.
    for example,
gst-launch-1.0 nvcamerasrc fpsRange="30 30" auto-exposure=1 exposure-time=0.033 wbmode=2 ! nvoverlaysink
  1. Jetpack 3.2
  2. The images look pretty similar using that command. I am still seeing banding noise though.

I have attached 3 images taken with the lens cap on. The image contains 2 sensors side by side like this:

------------- ------------
|             |            |
|     1       |     2      |
|             |            |
|             |            |
 ------------- ------------

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



hello kjasper,

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