Issue with video format and data type in camera driver development

Hello,
I encountered issue while developing a new camera driver on Jetson AGX, which I hope you can help me with.

I am currently using the video format grey_y8 (V4L2_PIX_FMT_GREY, 8bpp), which is configured in the device tree file with the following parameters:

mclk_khz = "24000";
num_lanes = "4";
tegra_sinterface = "serial_c";
vc_id = "0";
phy_mode = "DPHY";
discontinuous_clk = "no";
dpcm_enable = "false";
cil_settletime = "0";
dynamic_pixel_bit_depth = "8";
csi_pixel_bit_depth = "8";
mode_type = "grey";
pixel_phase = "y";
...
embedded_metadata_height = "0";

This is what v4l2-ctl sees:

sudo v4l2-ctl --all -d /dev/video0 
Driver Info (not using libv4l2):
	Driver name   : tegra-video
	Card type     : vi-output, xxxxx 32-0010
	Bus info      : platform:15c10000.vi:2
	Driver version: 4.9.253
	Capabilities  : 0x84200001
		Video Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Priority: 2
Video input : 0 (Camera 2: no power)
Format Video Capture:
	Width/Height      : 2560/1984
	Pixel Format      : 'GREY'
	Field             : None
	Bytes per Line    : 2560
	Size Image        : 5079040
	Colorspace        : Raw
	Transfer Function : Default (maps to None)
	YCbCr/HSV Encoding: Default (maps to ITU-R 601)
	Quantization      : Default (maps to Full Range)
	Flags             :

When I start the video with
gst-launch-1.0 -v v4l2src device=/dev/video0 ! videoconvert ! queue ! xvimagesink
there is no picture and dmesg shows following errors:

[  332.629370] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072 status: 14 
[  342.864102] tegra194-vi5 15c10000.vi: no reply from camera processor
[  342.864260] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 10000 ms
[  342.864396] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel

Looks like the imager is sending frames with data type 0x33 (51), which is causing following error messages to appear:

     kworker/0:0-4     [000] ....   110.368036: rtcpu_vinotify_event: tstamp:3841435542 tag:FE channel:0x00 frame:0 vi_tstamp:3841434956 data:0x00000022
     kworker/0:0-4     [000] ....   110.424025: rtcpu_vinotify_event: tstamp:3842066486 tag:FS channel:0x00 frame:0 vi_tstamp:3842051160 data:0x00000012
     kworker/0:0-4     [000] ....   110.424027: rtcpu_vinotify_event: tstamp:3842066634 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3842051455 data:0x00000669
     kworker/0:0-4     [000] ....   110.424028: rtcpu_vinotify_event: tstamp:3843131863 tag:FE channel:0x00 frame:0 vi_tstamp:3842780655 data:0x00000022
     kworker/0:0-4     [000] ....   110.480075: rtcpu_vinotify_event: tstamp:3843487020 tag:FS channel:0x00 frame:0 vi_tstamp:3843396789 data:0x00000012
     kworker/0:0-4     [000] ....   110.480081: rtcpu_vinotify_event: tstamp:3843487191 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3843397084 data:0x00000669
     kworker/0:0-4     [000] ....   110.480081: rtcpu_vinotify_event: tstamp:3844197234 tag:FE channel:0x00 frame:0 vi_tstamp:3844126200 data:0x00000022
     kworker/0:0-4     [000] ....   110.480082: rtcpu_vinotify_event: tstamp:3844907422 tag:FS channel:0x00 frame:0 vi_tstamp:3844742417 data:0x00000012
     kworker/0:0-4     [000] ....   110.480083: rtcpu_vinotify_event: tstamp:3844907571 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3844742712 data:0x00000669
     kworker/0:0-4     [000] ....   110.536022: rtcpu_vinotify_event: tstamp:3845617641 tag:FE channel:0x00 frame:0 vi_tstamp:3845471854 data:0x00000022
     kworker/0:0-4     [000] ....   110.536026: rtos_queue_peek_from_isr_failed: tstamp:3845786539 queue:0x0bcbbbb8
     kworker/0:0-4     [000] ....   110.536028: rtcpu_vinotify_event: tstamp:3846327964 tag:FS channel:0x00 frame:0 vi_tstamp:3846088046 data:0x00000012
     kworker/0:0-4     [000] ....   110.536028: rtcpu_vinotify_event: tstamp:3846328135 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3846088341 data:0x00000669
     kworker/0:0-4     [000] ....   110.592036: rtcpu_vinotify_event: tstamp:3847038179 tag:FE channel:0x00 frame:0 vi_tstamp:3846817560 data:0x00000022
     kworker/0:0-4     [000] ....   110.592038: rtcpu_vinotify_event: tstamp:3847748370 tag:FS channel:0x00 frame:0 vi_tstamp:3847433674 data:0x00000012
     kworker/0:0-4     [000] ....   110.592039: rtcpu_vinotify_event: tstamp:3847748519 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3847433970 data:0x00000669
     kworker/0:0-4     [000] ....   110.592040: rtcpu_vinotify_event: tstamp:3848458585 tag:FE channel:0x00 frame:0 vi_tstamp:3848163095 data:0x00000022
     kworker/0:0-4     [000] ....   110.648014: rtcpu_vinotify_event: tstamp:3848780146 tag:FS channel:0x00 frame:0 vi_tstamp:3848779303 data:0x00000012
     kworker/0:0-4     [000] ....   110.648016: rtcpu_vinotify_event: tstamp:3849133387 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3848779598 data:0x00000669
     kworker/0:0-4     [000] ....   110.648016: rtcpu_vinotify_event: tstamp:3849843597 tag:FE channel:0x00 frame:0 vi_tstamp:3849508798 data:0x00000022
     kworker/0:0-4     [000] ....   110.648017: rtcpu_vinotify_event: tstamp:3850198755 tag:FS channel:0x00 frame:0 vi_tstamp:3850124932 data:0x00000012
     kworker/0:0-4     [000] ....   110.648018: rtcpu_vinotify_event: tstamp:3850198904 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3850125226 data:0x00000669
     kworker/0:0-4     [000] ....   110.704014: rtos_queue_peek_from_isr_failed: tstamp:3850786543 queue:0x0bcbbbb8
     kworker/0:0-4     [000] ....   110.704037: rtcpu_vinotify_event: tstamp:3850908969 tag:FE channel:0x00 frame:0 vi_tstamp:3850854460 data:0x00000022
     kworker/0:0-4     [000] ....   110.704038: rtcpu_vinotify_event: tstamp:3851619157 tag:FS channel:0x00 frame:0 vi_tstamp:3851470561 data:0x00000012
     kworker/0:0-4     [000] ....   110.704039: rtcpu_vinotify_event: tstamp:3851619328 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3851470855 data:0x00000669
     kworker/0:0-4     [000] ....   110.760012: rtcpu_vinotify_event: tstamp:3852329376 tag:FE channel:0x00 frame:0 vi_tstamp:3852199999 data:0x00000022
     kworker/0:0-4     [000] ....   110.760013: rtcpu_vinotify_event: tstamp:3853039695 tag:FS channel:0x00 frame:0 vi_tstamp:3852816189 data:0x00000012
     kworker/0:0-4     [000] ....   110.760014: rtcpu_vinotify_event: tstamp:3853039843 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3852816484 data:0x00000669
     kworker/0:0-4     [000] ....   110.816035: rtcpu_vinotify_event: tstamp:3853749913 tag:FE channel:0x00 frame:0 vi_tstamp:3853545700 data:0x00000022
     kworker/0:0-4     [000] ....   110.816037: rtcpu_vinotify_event: tstamp:3854460101 tag:FS channel:0x00 frame:0 vi_tstamp:3854161817 data:0x00000012
     kworker/0:0-4     [000] ....   110.816037: rtcpu_vinotify_event: tstamp:3854460272 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3854162113 data:0x00000669
     kworker/0:0-4     [000] ....   110.816038: rtcpu_vinotify_event: tstamp:3855170316 tag:FE channel:0x00 frame:0 vi_tstamp:3854891242 data:0x00000022
     kworker/0:0-4     [000] ....   110.872032: rtcpu_vinotify_event: tstamp:3855508577 tag:FS channel:0x00 frame:0 vi_tstamp:3855507446 data:0x00000012
     kworker/0:0-4     [000] ....   110.872034: rtcpu_vinotify_event: tstamp:3855508732 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:3855507741 data:0x00000669

I have noticed that this data type is listed in kernel/nvidia/include/soc/tegra/camrtc-capture.h:
#define NVCSI_DATATYPE_USER_4 U32_C(51)

However, I am unsure of how to use it as it doesn’t appear to be referred anywhere in the L4T source code. How I can change the expected data type in CHANSEL? Alternatively, is there a way to accept all incoming data types?

Thank you for your time and assistance.

hello 4k4ndr,

the error code, corr_err: discarding frame 0, flags: 0, err_data 131072 status: 14
it shows capture channel encountered uncorrectable error and it must be reset.
this may due to mismatch NVCSI data types.

hence,
had you also update VI driver to extend the support formats?
for example, $public_sources/kernel_src/kernel/nvidia/drivers/media/platform/tegra/camera/sensor_common.c
static int extract_pixel_format( const char *pixel_t, u32 *format)

1 Like

Hi Jerry,
Thank you for confirming that this is a data type issue.
I am using this pixel format:

	else if (strncmp(pixel_t, "grey_y8", size) == 0)
		*format = V4L2_PIX_FMT_GREY;

which comes from DT settings:

csi_pixel_bit_depth = "8";
mode_type = "grey";
pixel_phase = "y";

Is the data type expected by VI derived from the pixel format variable?

hello 4k4ndr,

you may use Raw formats, please refer to Topic 112135 for reference,

1 Like

Hi Jerry,
I looked at the discussion you shared, and it seems that the data type number needs to be defined. However, I would prefer to use the existing pixel format, which is ‘grey_y8’.
I created new TEGRA_VIDEO_FORMAT:

	TEGRA_VIDEO_FORMAT(RAW8, 8, USR4_1X8, 1, 1, T_R8,
				USER4, GREY, "USER4"),

and I added new data type:

	enum tegra_image_dt {
		(...)
		TEGRA_IMAGE_DT_USER4 = 51,
	};

as well as new media bus


enum v4l2_mbus_pixelcode {
	(...)
	V4L2_MBUS_FROM_MEDIA_BUS_FMT(USR4_1X8),
};

#define MEDIA_BUS_FMT_USR4_1X8			0x5002

static const struct soc_mbus_lookup mbus_fmt[] = {
(...)
}, {
	.code = MEDIA_BUS_FMT_USR4_1X8,
	.fmt = {
		.fourcc			= V4L2_PIX_FMT_GREY,
		.name			= "User 4",
		.bits_per_sample	= 8,
		.packing		= SOC_MBUS_PACKING_NONE,
		.order			= SOC_MBUS_ORDER_LE,
		.layout			= SOC_MBUS_LAYOUT_PACKED,
	},
}, {
(...)
};

I used the existing V4L2_PIX_FMT_GREY format since adding a new one is probably not necessary from my perspective. I noticed in the table that the same V4L2_PIX_FMT_* can be used in multiple MEDIA_BUS_FMT_*.
My question is, do I need to specify and, if so, where the driver will be using the specific MEDIA_BUS_FMT_USR4_1X8? In the L4T sources, I see that imagers do not typically set these definitions in their implementations. Is it inferred from V4L2_PIX_FMT? If so, how can a single V4L2_PIX_FMT be referenced in multiple MEDIA_BUS_FMTs?

Update - During debugging, with the above changes, I have observed that the data type appears to be set correctly. The function vi5_setup_surface receives the correct data type, which is 51, in the structure:
u32 data_type = chan->fmtinfo->img_dt;
There might be an additional issue, as I can see in the trace:

kworker/0:2-8641  [000] ....  4406.624724: rtcpu_vinotify_event: tstamp:138606568732 tag:FS channel:0x00 frame:0 vi_tstamp:138606464527 data:0x00000012
     kworker/0:2-8641  [000] ....  4406.624727: rtcpu_vinotify_event: tstamp:138606568910 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:138606464528 data:0x00000000
     kworker/0:2-8641  [000] ....  4406.624728: rtcpu_vinotify_event: tstamp:138606569103 tag:CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:138606464822 data:0x00008001
     kworker/0:2-8641  [000] ....  4406.624729: rtcpu_vinotify_event: tstamp:138606569277 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:140439579616 data:0x01020001
     kworker/0:2-8641  [000] ....  4406.624729: rtcpu_vinotify_event: tstamp:138607278968 tag:FE channel:0x00 frame:0 vi_tstamp:138607153028 data:0x00000022
     kworker/0:2-8641  [000] ....  4406.624730: rtcpu_vinotify_event: tstamp:138607279142 tag:CHANSEL_SHORT_FRAME channel:0x04 frame:0 vi_tstamp:138607153028 data:0x01000000
     kworker/0:2-8641  [000] ....  4406.624730: rtcpu_vinotify_event: tstamp:138607279289 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:140461603808 data:0x01020001
     kworker/0:2-8641  [000] ....  4406.624731: rtcpu_vinotify_event: tstamp:138607279462 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:138607153029 data:0x00000000
     kworker/0:2-8641  [000] ....  4406.624732: rtcpu_vinotify_event: tstamp:138607279609 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:140461606336 data:0x07020002
     kworker/0:2-8641  [000] ....  4406.680726: rtcpu_vinotify_event: tstamp:138607770449 tag:FS channel:0x00 frame:0 vi_tstamp:138607769186 data:0x00000012
     kworker/0:2-8641  [000] ....  4406.680729: rtcpu_vinotify_event: tstamp:138607770600 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:138607769186 data:0x00000000
     kworker/0:2-8641  [000] ....  4406.680730: rtcpu_vinotify_event: tstamp:138608095817 tag:CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:138607769479 data:0x00008001
     kworker/0:2-8641  [000] ....  4406.680731: rtcpu_vinotify_event: tstamp:138608095965 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:140481329568 data:0x01020002
     kworker/0:2-8641  [000] ....  4406.680735: rtcpu_vinotify_event: tstamp:138608806034 tag:CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:138608496476 data:0x07bf8002
     kworker/0:2-8641  [000] ....  4406.680736: rtcpu_vinotify_event: tstamp:138608806182 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:140504592544 data:0x01020002
     kworker/0:2-8641  [000] ....  4406.680736: rtcpu_vinotify_event: tstamp:138608806353 tag:FE channel:0x00 frame:0 vi_tstamp:138608498612 data:0x00000022
     kworker/0:2-8641  [000] ....  4406.680737: rtcpu_vinotify_event: tstamp:138608806499 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:138608498612 data:0x00000000
     kworker/0:2-8641  [000] ....  4406.680738: rtcpu_vinotify_event: tstamp:138609161196 tag:FS channel:0x00 frame:0 vi_tstamp:138609114816 data:0x00000012
     kworker/0:2-8641  [000] ....  4406.680738: rtcpu_vinotify_event: tstamp:138609161344 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:138609115111 data:0x00000669
     kworker/0:2-8641  [000] ....  4406.736715: rtos_queue_peek_from_isr_failed: tstamp:138609663314 queue:0x0bcbbbb8
     kworker/0:2-8641  [000] ....  4406.736717: rtcpu_vinotify_event: tstamp:138609871435 tag:FE channel:0x00 frame:0 vi_tstamp:138609844314 data:0x00000022
     kworker/0:2-8641  [000] ....  4406.736718: rtcpu_vinotify_event: tstamp:138610581642 tag:FS channel:0x00 frame:0 vi_tstamp:138610460447 data:0x00000012
     kworker/0:2-8641  [000] ....  4406.736719: rtcpu_vinotify_event: tstamp:138610581813 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:138610460742 data:0x00000669
     kworker/0:2-8641  [000] ....  4406.792722: rtcpu_vinotify_event: tstamp:138611291883 tag:FE channel:0x00 frame:0 vi_tstamp:138611189855 data:0x00000022
     kworker/0:2-8641  [000] ....  4406.792725: rtcpu_vinotify_event: tstamp:138612002092 tag:FS channel:0x00 frame:0 vi_tstamp:138611806078 data:0x00000012
     kworker/0:2-8641  [000] ....  4406.792727: rtcpu_vinotify_event: tstamp:138612002241 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:138611806373 data:0x00000669
     kworker/0:2-8641  [000] ....  4406.792728: rtcpu_vinotify_event: tstamp:138612712332 tag:FE channel:0x00 frame:0 vi_tstamp:138612535516 data:0x00000022
     kworker/0:2-8641  [000] ....  4406.848717: rtcpu_vinotify_event: tstamp:138613152551 tag:FS channel:0x00 frame:0 vi_tstamp:138613151710 data:0x00000012
     kworker/0:2-8641  [000] ....  4406.848720: rtcpu_vinotify_event: tstamp:138613493568 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:138613152004 data:0x00000669
     kworker/0:2-8641  [000] ....  4406.848721: rtcpu_vinotify_event: tstamp:138614203808 tag:FE channel:0x00 frame:0 vi_tstamp:138613881217 data:0x00000022
     kworker/0:2-8641  [000] ....  4406.848721: rtcpu_vinotify_event: tstamp:138614558972 tag:FS channel:0x00 frame:0 vi_tstamp:138614497341 data:0x00000012
     kworker/0:2-8641  [000] ....  4406.848722: rtcpu_vinotify_event: tstamp:138614559121 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:138614497635 data:0x00000669

I am not sure about this short frame, as I set the resolution to the one from the sensor’s documentation. If there is a size issue, I would rather expect the incoming frame to be too big. Is there a way to decode what frame size is actually coming? I think I need to review the serdes link configuration once again…

FYI,
CHANSEL_FAULT=0x00008001, it indicate the DTYPE (NVCSI datatype) mismatch of start-of-frame.

1 Like

Hi Jerry,

I found that file kernel/nvidia/include/soc/tegra/camrtc-capture.h has a definition of DataType 51, NVCSI_DATATYPE_USER_4, so this is acceptable DataType, right?

I added also pixel format, instead of GREY now I am using SBGGR8, but it didn’t change the problem. To summarize changes:
in file kernel/nvidia/drivers/media/platform/tegra/camera/vi/vi5_formats.h

    static const struct tegra_video_format vi5_video_formats[] = {
    (...)
          TEGRA_VIDEO_FORMAT(RAW8, 8, SBGGR8_1X8, 1, 1, T_R8,
                            USER4, SBGGR8, "BGBG.. GRGR.."),
    (...)
  }

Defined pixel format relation to media bus in kernel/nvidia/drivers/media/platform/tegra/camera/camera_common.c

    static const struct camera_common_colorfmt camera_common_color_fmts[] = {
    (...)
          {
                MEDIA_BUS_FMT_USR4_1X8,
                V4L2_COLORSPACE_SRGB,
                V4L2_PIX_FMT_SBGGR8,
          },
    (...)
    }

and kernel/kernel-4.9/drivers/media/platform/soc_camera/soc_mediabus.c

    static const struct soc_mbus_lookup mbus_fmt[] = {
        (...)
        }, {
              .code = MEDIA_BUS_FMT_USR4_1X8,
              .fmt = {
                    .fourcc                 = V4L2_PIX_FMT_SBGGR8,
                    .name             = "Bayer 8 BGGR User 4",
                    .bits_per_sample  = 8,
                    .packing          = SOC_MBUS_PACKING_NONE,
                    .order                  = SOC_MBUS_ORDER_LE,
                    .layout                 = SOC_MBUS_LAYOUT_PACKED,
              },
        }, {
        (...)

and kernel/kernel-4.9/include/uapi/linux/v4l2-mediabus.h

    enum v4l2_mbus_pixelcode {
    (...)
          V4L2_MBUS_FROM_MEDIA_BUS_FMT(USR4_1X8),
    };

Current sensor’s device tree configuration:

                              mode0 { 
                                    mclk_khz = "24000";
                                    num_lanes = "4";

                                    tegra_sinterface = "serial_c";
                                    vc_id = "0";

                                    phy_mode = "DPHY";
                                    discontinuous_clk = "no";
                                    dpcm_enable = "false";
                                    cil_settletime = "0";
                                    dynamic_pixel_bit_depth = "8";
                                    csi_pixel_bit_depth = "8";
                                    mode_type = "bayer";
                                    pixel_phase = "bggr";

                                    active_w = "2560";
                                    active_h = "1984";
                                    readout_orientation = "0";
                                    line_length = "2560";
                                    inherent_gain = "1";
                                    pix_clk_hz = "445500000";
                                    serdes_pix_clk_hz = "4687500000";
                                    (...)
                                    default_framerate= "30000000";
                                    (...)
                                    embedded_metadata_height = "0";

At runtime I can see that function vi5_setup_surface() from kernel/nvidia/drivers/media/platform/tegra/camera/vi/vi5_fops.c is getting DataType I set (51), from the variable u32 data_type = chan->fmtinfo->img_dt; but it is only called once. When streaming works (e.g. for DataType 42), this function seems to be called every time.

As mentioned previously, I have enabled camera traces:

    echo 1 > /sys/kernel/debug/tracing/tracing_on
    echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
    echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
    echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
    echo 2 > /sys/kernel/debug/camrtc/log-level
    echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable

The problem seems to be in CHANSEL_FAULT:

             kworker/0:0-4     [000] ....   268.553003: rtcpu_vinotify_event: tstamp:9292727016 tag:FS channel:0x00 frame:0 vi_tstamp:9292627614 data:0x00000012
             kworker/0:0-4     [000] ....   268.553008: rtcpu_vinotify_event: tstamp:9292727212 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:9292627614 data:0x00000000
             kworker/0:0-4     [000] ....   268.553009: rtcpu_vinotify_event: tstamp:9292727366 tag:CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:9292627907 data:0x00008001
             kworker/0:0-4     [000] ....   268.553009: rtcpu_vinotify_event: tstamp:9292727538 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9601285504 data:0x01020001
             kworker/0:0-4     [000] ....   268.553010: rtcpu_vinotify_event: tstamp:9293317703 tag:FE channel:0x00 frame:0 vi_tstamp:9293316483 data:0x00000022
             kworker/0:0-4     [000] ....   268.553011: rtcpu_vinotify_event: tstamp:9293317879 tag:CHANSEL_SHORT_FRAME channel:0x04 frame:0 vi_tstamp:9293316483 data:0x01000000
             kworker/0:0-4     [000] ....   268.553011: rtcpu_vinotify_event: tstamp:9293318027 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9623321536 data:0x01020001
             kworker/0:0-4     [000] ....   268.553012: rtcpu_vinotify_event: tstamp:9293318201 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:9293316483 data:0x00000000
             kworker/0:0-4     [000] ....   268.553012: rtcpu_vinotify_event: tstamp:9293318346 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9623324032 data:0x07020002
             kworker/0:0-4     [000] ....   268.553013: rtcpu_vinotify_event: tstamp:9293318516 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:9623333600 data:0x10000000
             kworker/0:0-4     [000] ....   268.553014: rtcpu_vinotify_event: tstamp:9293318660 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:9623339040 data:0x31000003
             kworker/0:0-4     [000] ....   268.553014: rtcpu_vinotify_event: tstamp:9293935264 tag:FS channel:0x00 frame:0 vi_tstamp:9293932459 data:0x00000012
             kworker/0:0-4     [000] ....   268.553015: rtcpu_vinotify_event: tstamp:9293935417 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:9293932460 data:0x00000000
             kworker/0:0-4     [000] ....   268.553015: rtcpu_vinotify_event: tstamp:9293935592 tag:CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:9293932754 data:0x00008001
             kworker/0:0-4     [000] ....   268.553016: rtcpu_vinotify_event: tstamp:9293935737 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9643040608 data:0x01020002
             kworker/0:0-4     [000] ....   268.609070: rtcpu_vinotify_event: tstamp:9294999857 tag:CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:9294659996 data:0x07bf8002
             kworker/0:0-4     [000] ....   268.609074: rtcpu_vinotify_event: tstamp:9295000006 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9666312352 data:0x01020002
             kworker/0:0-4     [000] ....   268.609075: rtcpu_vinotify_event: tstamp:9295000177 tag:FE channel:0x00 frame:0 vi_tstamp:9294662225 data:0x00000022
             kworker/0:0-4     [000] ....   268.609076: rtcpu_vinotify_event: tstamp:9295000325 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:9294662226 data:0x00000000
             kworker/0:0-4     [000] ....   268.609077: rtcpu_vinotify_event: tstamp:9295354889 tag:FS channel:0x00 frame:0 vi_tstamp:9295278088 data:0x00000012
             kworker/0:0-4     [000] ....   268.609077: rtcpu_vinotify_event: tstamp:9295355037 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:9295278089 data:0x00000000
             kworker/0:0-4     [000] ....   268.609078: rtcpu_vinotify_event: tstamp:9295355208 tag:CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:9295278383 data:0x00008001
             kworker/0:0-4     [000] ....   268.609078: rtcpu_vinotify_event: tstamp:9295355352 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9686100736 data:0x01020002
             kworker/0:0-4     [000] ....   268.665106: rtcpu_vinotify_event: tstamp:9296008380 tag:CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:9296005626 data:0x07bf8002
             kworker/0:0-4     [000] ....   268.665111: rtcpu_vinotify_event: tstamp:9296008529 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9709372512 data:0x01020002
             kworker/0:0-4     [000] ....   268.665112: rtcpu_vinotify_event: tstamp:9296008700 tag:FE channel:0x00 frame:0 vi_tstamp:9296007764 data:0x00000022
             kworker/0:0-4     [000] ....   268.665112: rtcpu_vinotify_event: tstamp:9296008847 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:9296007765 data:0x00000000
             kworker/0:0-4     [000] ....   268.665113: rtcpu_vinotify_event: tstamp:9296633358 tag:FS channel:0x00 frame:0 vi_tstamp:9296623716 data:0x00000012
             kworker/0:0-4     [000] ....   268.665114: rtcpu_vinotify_event: tstamp:9296633506 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:9296624013 data:0x00000669
             kworker/0:0-4     [000] ....   268.665116: rtos_queue_peek_from_isr_failed: tstamp:9297234804 queue:0x0bcbbbb8
             kworker/0:0-4     [000] ....   268.721142: rtcpu_vinotify_event: tstamp:9297698743 tag:FE channel:0x00 frame:0 vi_tstamp:9297353420 data:0x00000022
             kworker/0:0-4     [000] ....   268.721146: rtcpu_vinotify_event: tstamp:9298053770 tag:FS channel:0x00 frame:0 vi_tstamp:9297969345 data:0x00000012

As you mentioned, CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:9292627907 data:0x00008001 means that the problem occurs at the start of frame (PIXEL_SOF)

CHANSEL_FAULT channel:0x23 frame:0 vi_tstamp:9294659996 data:0x07bf8002 means EMBED_SOF and EMBED_EOF. How can I interpret this?

I am not sure about CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:9296624013 data:0x00000669, as it indicates datatype 25, that is YUV420, but is also present with mode I can switch the imager to, which works correctly.
From DMESG it looks as follows.

        [  +0,013049] sensr_drv 2-0010: Stream started
        [  +0,033342] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 32768 status: 14
        [  +0,041750] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 32768 status: 14
        [ +10,090841] tegra194-vi5 15c10000.vi: no reply from camera processor
        [  +0,000160] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 10000 ms
        [  +0,000132] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel

In different sensor’s mode, which uses DataType (0x2A=42) I was able to receive frames, by only changing this part from:

	TEGRA_VIDEO_FORMAT(RAW8, 8, SBGGR8_1X8, 1, 1, T_R8,
				USER4, SBGGR8, "BGBG.. GRGR.."),

to

	TEGRA_VIDEO_FORMAT(RAW8, 8, SBGGR8_1X8, 1, 1, T_R8,
				RAW8, SBGGR8, "BGBG.. GRGR.."),

And traces look as follows. CHANSEL_NOMATCH is still present, even though I can receive a frame, which perhaps makes it not an issue?

  kworker/0:1-1274  [000] ....   203.947410: rtos_queue_peek_from_isr_failed: tstamp:7272746186 queue:0x0bcbbbb8
         kworker/0:1-1274  [000] ....   203.947414: rtcpu_vinotify_event: tstamp:7272941273 tag:FS channel:0x00 frame:0 vi_tstamp:7272877825 data:0x00000012
         kworker/0:1-1274  [000] ....   203.947415: rtcpu_vinotify_event: tstamp:7272941449 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:7272877825 data:0x00000000
         kworker/0:1-1274  [000] ....   203.947416: rtcpu_vinotify_event: tstamp:7272941599 tag:CHANSEL_PXL_SOF channel:0x23 frame:0 vi_tstamp:7272878121 data:0x00000001
         kworker/0:1-1274  [000] ....   203.947417: rtcpu_vinotify_event: tstamp:7272941772 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9393801216 data:0x08020011
         kworker/0:1-1274  [000] ....   203.947430: rtcpu_vinotify_event: tstamp:7272941920 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:9393871360 data:0x10000000
         kworker/0:1-1274  [000] ....   203.947431: rtcpu_vinotify_event: tstamp:7272942090 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:9393876768 data:0x31000012
         kworker/0:1-1274  [000] ....   203.947432: rtcpu_vinotify_event: tstamp:7273651425 tag:CHANSEL_PXL_EOF channel:0x23 frame:0 vi_tstamp:7273605364 data:0x07bf0002
         kworker/0:1-1274  [000] ....   203.947432: rtcpu_vinotify_event: tstamp:7273651601 tag:ATOMP_FRAME_DONE channel:0x23 frame:0 vi_tstamp:7273605385 data:0x00000000
         kworker/0:1-1274  [000] ....   203.947433: rtcpu_vinotify_event: tstamp:7273651750 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9417073568 data:0x02020011
         kworker/0:1-1274  [000] ....   203.947434: rtcpu_vinotify_event: tstamp:7273651919 tag:FE channel:0x00 frame:0 vi_tstamp:7273607491 data:0x00000022
         kworker/0:1-1274  [000] ....   203.947435: rtcpu_vinotify_event: tstamp:7273652069 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:7273607491 data:0x00000000
         kworker/0:1-1274  [000] ....   203.947435: rtcpu_vinotify_event: tstamp:7273652240 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9417142752 data:0x00020011
         kworker/0:1-1274  [000] ....   203.947436: rtcpu_vinotify_event: tstamp:7273652388 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:9417146400 data:0x07020012
         kworker/0:1-1274  [000] ....   203.947437: rtcpu_vinotify_event: tstamp:7274224665 tag:FS channel:0x00 frame:0 vi_tstamp:7274223455 data:0x00000012
         kworker/0:1-1274  [000] ....   203.947437: rtcpu_vinotify_event: tstamp:7274224817 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:7274223455 data:0x00000000
     vi-output, vb19-8192  [001] ....   203.964134: tegra_channel_capture_frame: sof:232.775160000
     vi-output, vb19-8192  [001] ....   203.964135: tegra_channel_capture_frame: eof:232.798502144
         kworker/0:1-1274  [000] ....   204.003429: rtcpu_vinotify_event: tstamp:7274574711 tag:CHANSEL_PXL_SOF channel:0x23 frame:0 vi_tstamp:7274223750 data:0x00000001
         kworker/0:1-1274  [000] ....   204.003431: rtcpu_vinotify_event: tstamp:7274574864 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5141894944 data:0x08020012
         kworker/0:1-1274  [000] ....   204.003431: rtcpu_vinotify_event: tstamp:7274575037 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5141975712 data:0x10000000
         kworker/0:1-1274  [000] ....   204.003432: rtcpu_vinotify_event: tstamp:7274575184 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5141981120 data:0x31000013
         kworker/0:1-1274  [000] ....   204.003434: rtcpu_vinotify_event: tstamp:7275285036 tag:CHANSEL_PXL_EOF channel:0x23 frame:0 vi_tstamp:7274950993 data:0x07bf0002
         kworker/0:1-1274  [000] ....   204.003435: rtcpu_vinotify_event: tstamp:7275285185 tag:ATOMP_FRAME_DONE channel:0x23 frame:0 vi_tstamp:7274951014 data:0x00000000
         kworker/0:1-1274  [000] ....   204.003435: rtcpu_vinotify_event: tstamp:7275285360 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5165166400 data:0x02020012
         kworker/0:1-1274  [000] ....   204.003436: rtcpu_vinotify_event: tstamp:7275285507 tag:FE channel:0x00 frame:0 vi_tstamp:7274953192 data:0x00000022
         kworker/0:1-1274  [000] ....   204.003437: rtcpu_vinotify_event: tstamp:7275285679 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:7274953192 data:0x00000000
         kworker/0:1-1274  [000] ....   204.003438: rtcpu_vinotify_event: tstamp:7275285823 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5165237888 data:0x00020012
         kworker/0:1-1274  [000] ....   204.003439: rtcpu_vinotify_event: tstamp:7275285993 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5165241568 data:0x07020013
         kworker/0:1-1274  [000] ....   204.003440: rtcpu_vinotify_event: tstamp:7275572287 tag:FS channel:0x00 frame:0 vi_tstamp:7275569085 data:0x00000012
         kworker/0:1-1274  [000] ....   204.003440: rtcpu_vinotify_event: tstamp:7275572462 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:7275569085 data:0x00000000
         kworker/0:1-1274  [000] ....   204.003441: rtcpu_vinotify_event: tstamp:7275572610 tag:CHANSEL_PXL_SOF channel:0x23 frame:0 vi_tstamp:7275569379 data:0x00000001
         kworker/0:1-1274  [000] ....   204.003442: rtcpu_vinotify_event: tstamp:7275572781 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5184954176 data:0x08020013
         kworker/0:1-1274  [000] ....   204.003442: rtcpu_vinotify_event: tstamp:7275572925 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5185025280 data:0x10000000
         kworker/0:1-1274  [000] ....   204.003443: rtcpu_vinotify_event: tstamp:7275924236 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5185043200 data:0x31000014
    (...)
         kworker/0:1-1274  [000] ....   204.563390: rtcpu_vinotify_event: tstamp:7292444805 tag:CHANSEL_PXL_EOF channel:0x23 frame:0 vi_tstamp:7292444176 data:0x07bf0002
         kworker/0:1-1274  [000] ....   204.563391: rtcpu_vinotify_event: tstamp:7292444982 tag:ATOMP_FRAME_DONE channel:0x23 frame:0 vi_tstamp:7292444197 data:0x00000000
         kworker/0:1-1274  [000] ....   204.563392: rtcpu_vinotify_event: tstamp:7292445132 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5724948256 data:0x0202001f
         kworker/0:1-1274  [000] ....   204.563394: rtos_queue_peek_from_isr_failed: tstamp:7292746182 queue:0x0bcbbbb8
         kworker/0:1-1274  [000] ....   204.563395: rtcpu_vinotify_event: tstamp:7292792239 tag:FE channel:0x00 frame:0 vi_tstamp:7292446392 data:0x00000022
         kworker/0:1-1274  [000] ....   204.563396: rtcpu_vinotify_event: tstamp:7292792392 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:7292446392 data:0x00000000
         kworker/0:1-1274  [000] ....   204.563396: rtcpu_vinotify_event: tstamp:7292792567 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5725020288 data:0x0002001f
         kworker/0:1-1274  [000] ....   204.563397: rtcpu_vinotify_event: tstamp:7292792712 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5725023968 data:0x07020020
         kworker/0:1-1274  [000] ....   204.563398: rtcpu_vinotify_event: tstamp:7293147352 tag:FS channel:0x00 frame:0 vi_tstamp:7293062267 data:0x00000012
         kworker/0:1-1274  [000] ....   204.563399: rtcpu_vinotify_event: tstamp:7293147505 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:7293062268 data:0x00000000
         kworker/0:1-1274  [000] ....   204.563400: rtcpu_vinotify_event: tstamp:7293147677 tag:CHANSEL_PXL_SOF channel:0x23 frame:0 vi_tstamp:7293062561 data:0x00000001
         kworker/0:1-1274  [000] ....   204.563400: rtcpu_vinotify_event: tstamp:7293147825 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5744736000 data:0x08020020
         kworker/0:1-1274  [000] ....   204.563401: rtcpu_vinotify_event: tstamp:7293147995 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5744808832 data:0x10000000
         kworker/0:1-1274  [000] ....   204.563416: rtcpu_vinotify_event: tstamp:7293148140 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:5744814208 data:0x31000021
     vi-output, vb19-8192  [001] ....   204.567010: tegra_channel_capture_frame: sof:233.378001952
     vi-output, vb19-8192  [001] ....   204.567011: tegra_channel_capture_frame: eof:233.401341952
     vi-output, vb19-8192  [001] ....   204.610032: tegra_channel_capture_frame: sof:233.421062112
     vi-output, vb19-8192  [001] ....   204.610033: tegra_channel_capture_frame: eof:233.444404256
         kworker/0:1-1274  [000] ....   204.619385: rtcpu_vinotify_event: tstamp:7293793022 tag:CHANSEL_PXL_EOF channel:0x23 frame:0 vi_tstamp:7293789804 data:0x07bf0002
         kworker/0:1-1274  [000] ....   204.619387: rtcpu_vinotify_event: tstamp:7293793174 tag:ATOMP_FRAME_DONE channel:0x23 frame:0 vi_tstamp:7293789825 data:0x00000000
         kworker/0:1-1274  [000] ....   204.619387: rtcpu_vinotify_event: tstamp:7293793348 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5768008352 data:0x02020020
         kworker/0:1-1274  [000] ....   204.619388: rtcpu_vinotify_event: tstamp:7293793494 tag:FE channel:0x00 frame:0 vi_tstamp:7293791935 data:0x00000022
         kworker/0:1-1274  [000] ....   204.619389: rtcpu_vinotify_event: tstamp:7293793664 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:7293791936 data:0x00000000
         kworker/0:1-1274  [000] ....   204.619389: rtcpu_vinotify_event: tstamp:7293793828 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5768077664 data:0x00020020
         kworker/0:1-1274  [000] ....   204.619406: rtcpu_vinotify_event: tstamp:7294141739 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5768082336 data:0x07020021
         kworker/0:1-1274  [000] ....   204.619407: rtcpu_vinotify_event: tstamp:7294496802 tag:FS channel:0x00 frame:0 vi_tstamp:7294407897 data:0x00000012
         kworker/0:1-1274  [000] ....   204.619408: rtcpu_vinotify_event: tstamp:7294496977 tag:ATOMP_FS channel:0x00 frame:0 vi_tstamp:7294407897 data:0x00000000
         kworker/0:1-1274  [000] ....   204.619409: rtcpu_vinotify_event: tstamp:7294497124 tag:CHANSEL_PXL_SOF channel:0x23 frame:0 vi_tstamp:7294408191 data:0x00000001
         kworker/0:1-1274  [000] ....   204.619409: rtcpu_vinotify_event: tstamp:7294497295 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5787796160 data:0x08020021
         kworker/0:1-1274  [000] ....   204.619410: rtcpu_vinotify_event: tstamp:7295207083 tag:CHANSEL_PXL_EOF channel:0x23 frame:0 vi_tstamp:7295135433 data:0x07bf0002
         kworker/0:1-1274  [000] ....   204.619411: rtcpu_vinotify_event: tstamp:7295207261 tag:ATOMP_FRAME_DONE channel:0x23 frame:0 vi_tstamp:7295135455 data:0x00000000
         kworker/0:1-1274  [000] ....   204.619411: rtcpu_vinotify_event: tstamp:7295207409 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5811068480 data:0x02020021
         kworker/0:1-1274  [000] ....   204.619412: rtcpu_vinotify_event: tstamp:7295207576 tag:FE channel:0x00 frame:0 vi_tstamp:7295137633 data:0x00000022
         kworker/0:1-1274  [000] ....   204.619413: rtcpu_vinotify_event: tstamp:7295207727 tag:ATOMP_FE channel:0x00 frame:0 vi_tstamp:7295137633 data:0x00000000
         kworker/0:1-1274  [000] ....   204.619413: rtcpu_vinotify_event: tstamp:7295207895 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:5811140000 data:0x00020021
         kworker/0:1-1274  [000] ....   204.675390: rtcpu_vinotify_error: tstamp:7295754564 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:7295753820 data:0x00000549
         kworker/0:1-1274  [000] ....   204.675391: rtcpu_vinotify_event: tstamp:7295917314 tag:FS channel:0x00 frame:0 vi_tstamp:7295753526 data:0x00000012
         kworker/0:1-1274  [000] ....   204.675392: rtcpu_vinotify_event: tstamp:7295917487 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:7295753820 data:0x00000549
         kworker/0:1-1274  [000] ....   204.675393: rtcpu_vinotify_event: tstamp:7296627574 tag:FE channel:0x00 frame:0 vi_tstamp:7296483178 data:0x00000022
         kworker/0:1-1274  [000] ....   204.675393: rtcpu_vinotify_error: tstamp:7297100193 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:7297099450 data:0x00000549
         kworker/0:1-1274  [000] ....   204.675394: rtcpu_vinotify_event: tstamp:7297100483 tag:FS channel:0x00 frame:0 vi_tstamp:7297099154 data:0x00000012
         kworker/0:1-1274  [000] ....   204.675409: rtcpu_vinotify_event: tstamp:7297100635 tag:CHANSEL_NOMATCH channel:0x04 frame:0 vi_tstamp:7297099450 data:0x00000549
         kworker/0:1-1274  [000] ....   204.731382: rtos_queue_peek_from_isr_failed: tstamp:7297746186 queue:0x0bcbbbb8

In DMESG, there is information that something is being dropped at the start, but I am still able to capture a picture:

        [  +0,012896] sensr_drv 32-0010: Stream started
        [  +0,039776] tegra194-vi5 15c10000.vi: corr_err: discarding frame 0, flags: 0, err_data 131072 status: 14
        [  +0,179415] sensr_drv 32-0010: Stream stopped

Am I missing something in the configuration of the sources? Does the Xavier support this DataType (51)? Is there a way to obtain more information about the reason for the CHANSEL_FAULT error, such as additional extended logs?

I apologize for the length of my message. I am eager to find a solution to this issue, but unfortunately, seem to be stuck at the moment.

hello 4k4ndr,

FYI, NVCSI supports user defined data, but, our software stack does not support it so far.
in short, for normal frame capturing, our software supports RAW and YUV only.

Hi Jerry,
My understanding is that if I had configured NVCSI correctly, the frame would not be rejected by NVCSI with CHANSEL_FAULT. However, my current changes in Nvidia’s software stack are not sufficient to achieve this. Is the change required in the NVCSI firmware (to which there is no public access to the sources?), rather than at the Linux driver level?
Additionally, could you clarify what is meant by “normal frame capturing”? Is there another way to obtain camera frames in user space, or do you mean a solution such as directly passing the frame to the ISP?

hello 4k4ndr,

I meant software it only support sensor formats reported as RAW, or YUV.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.