V4L2 - 4K Resolution

Hello,

We are using 4032x3040 with V4L2 driver.
It doesn’t work after JetPack Update.

I found the issue as it

I want to make it clear which JetPack version can use 4032x3040.

hello sumin.lee,

that resolution should still available with JP-4.6 release image.
please note the driver update for IMX477, the sensor mode 4032x3040@30FPS has removed for the next coming JetPack release.

I found.
imx477_mode_tbls.h are different.

JetPack 4.5.1

static const imx477_reg *mode_table[] = {
	[IMX477_MODE_4032x3040_30FPS] = imx477_mode_4032x3040_30fps,
	[IMX477_MODE_1920x1080_60FPS] = imx477_mode_1920x1080_60fps,
	[IMX477_MODE_COMMON] = imx477_mode_common,
	[IMX477_START_STREAM] = imx477_start,
	[IMX477_STOP_STREAM] = imx477_stop,
};

JetPack 4.6

static const imx477_reg *mode_table[] = {
	[IMX477_MODE_3840x2160_30FPS] = imx477_mode_3840x2160_30fps,
	[IMX477_MODE_1920x1080_60FPS] = imx477_mode_1920x1080_60fps,
	[IMX477_MODE_COMMON] = imx477_mode_common,
	[IMX477_START_STREAM] = imx477_start,
	[IMX477_STOP_STREAM] = imx477_stop,
};

Dear, @JerryChang

If I copy imx477_mode_tbls.h to 4.6 from 4.5.1, does it work ?

You won’t be able to just copy the mode table. You’d need the registers as well. You may be able to just install the Arducam driver - IMX477 - How to install the Driver - Arducam

That’s how I was able to use the 4032x3040 mode in 32.6.1

Also, even with the Arducam driver, you won’t be able to use 4032x3040 in v4l2-ctl (as noted in the post of mine you first referenced), though it does work in Argus apps (ie. Gstreamer + nvarguscamerasrc).

Happy to help if you need anything else.

Dear @JerryChang.

Since I’ve got request from our customer, I should check one more time.
They already developed their Camera and Application with 4032x3040.
The reduced resolution is critical issue on their system.

I said they have to use JetPack4.5.1 for using 4032x3040.
They are understanding the situation for just now.
And they ask me Is there any considering for using 4032x3040 on latest JetPack release.
Could you check it?

hello sumin.lee,

the rel-32 code-line has change imx477’s default 4K resolution as 3840x2160. they won’t see 4032x3040 mode table for the later JetPack release.

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