VC-MIPI-modules / vc_mipi_nvidia

Vision Components MIPI CSI-2 driver for NVIDIA Jetson Nano, Xavier NX, AGX Xavier, TX2 and Orin Nano, Orin NX
69 stars 31 forks source link

Device tree configuration for Jetson Linux 36.2 #73

Open andresmanelli opened 3 months ago

andresmanelli commented 3 months ago

Hello,

I'm trying to capture images with two IMX264 modules (monochrome), using the recent 36.2 release (kernel 5.15).

I receive almost good images, but I get a lot of black stripes (see attachment). The stripes are 64 bit long, and contain the value 0.

Changing the pix_clk_hz property and the csi/vi/etc clocks seems to impact the number of stripes, but I could not find a proper configuration to remove all of them.

Another piece of information: using more buffers with v4l2 generates better images.

Could you tell me how to configure all these clocks in the SoM and/or the device tree for IMX264 ?

Thank you!

P.S.: I've adjusted the white threshold just to show the black stripes, but the image is OK, it is not just all white..

Screenshot from 2024-03-04 11-22-26

bazo80 commented 2 months ago

Hello @andresmanelli ,

sorry for being late. We are about to integrate the jetpack 6. But we have not tested all of the sensors with 36.2 DP You could have a look at the branch https://github.com/VC-MIPI-modules/vc_mipi_nvidia/tree/77-support-nvidia-l4t-362 The file tegra234-p3767-camera-p3768-vc_mipi-dual.dts is not very clean, but with the configurated values of IMX296 and IMX565, I managed to get a stream via v4l2 and nvargus. Does this problem occur with every bit depth?