-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not see grey pixel formate on R35.4.1 #131
Comments
Sometimes, it flashed but the vc driver can not initialized and got this root@jetson-orin-nano-devkit-nvme:~# dmesg | grep vc_mipi |
Hello @Ray9090 , sorry for the late response.
will only show the formats which are defined in the device-tree modeX. For the IMX252 you could extend your dtsi settings by two additional modes mode0 { ... // mode_type = "bayer"; // pixel_phase = "rggb"; csi_pixel_bit_depth = "10"; pixel_t = "y10"; ... }; mode1 { ... // mode_type = "bayer"; // pixel_phase = "rggb"; csi_pixel_bit_depth = "12"; pixel_t = "y12"; ... }; mode2 { ... // mode_type = "bayer"; // pixel_phase = "rggb"; csi_pixel_bit_depth = "8"; pixel_t = "gray"; ... }; Although the pixel_t is marked as deprecated in the NVIDIAs developer guide, it is still in use. The csi_pixel_bit_depth is an obligation, but the mode_type and the pixel_phase can be left out when the pixel_t is given. My IMX568 output: vc@nvidia:~$ v4l2-ctl --list-formats-ext ioctl: VIDIOC_ENUM_FMT Type: Video Capture [0]: 'GREY' (8-bit Greyscale) Size: Discrete
After that dtsi changes you can call: v4l2-ctl -d /dev/video0 --set-fmt-video=width=2048,height=1536,pixelformat="GREY" --stream-mmap v4l2-ctl -d /dev/video0 --set-fmt-video=width=2048,height=1536,pixelformat="Y10 " --stream-mmap v4l2-ctl -d /dev/video0 --set-fmt-video=width=2048,height=1536,pixelformat="Y12 " --stream-mmap best regards |
I am using R354.1 on Jetson Orin Nano Devkit using Yocto build tools and IMX 252 camera. I found out there is only one-pixel format. First, I tried to set it from the terminal 'v4l2-ctl -d /dev/video0 --set-fmt-video=pixelformat=GREY'. Later I see in tegra234-camera-vc-mipi-cam.dtsi, the pixel_phase = "rggb";
I have set it to 'grey' and flashed the image, but it stuck on the flashing process.
Should not there be a formate list? (like mention as Image Streaming in GREY, Y10, Y12, SRGGB8, SRGGB10, SRGGB12, SGBRG8, SGBRG10, SGBRG12 format). If not, then did I do right?
The text was updated successfully, but these errors were encountered: