4208x3120 resolution with IMX214 M0025-2 hires cam on VOXL 2
-
Hello Team,
This page indicates that the the IMX214 M0025-2 hires cam was tested at full resolution (4208x3120) on the VOXL2. Unfortunately, we can't seem to access images at that resolution with the latest VOXL 2 image. Are we missing anything? More details below
Test configuration:
system-image: 1.4.1-M0054-14.1a-perf
kernel: #1 SMP PREEMPT Thu Oct 13 17:48:16 UTC 2022 4.19.125
hw version: M0054
voxl-suite: 0.9.5After running "voxl-configure-cameras" and changing the "preview_width" and "preview_height" entries of /etc/modalai/voxl-camera-server.conf to 4208 and 3120 respectively for the hires camera:
"name": "hires", "enabled": true, "frame_rate": 30, "type": "imx214", "camera_id": 3, "preview_width": 4208, "preview_height": 3120, "snapshot_width": 3840, "snapshot_height": 2160
Running "voxl-camera-server" throws the following error:
ERROR: Camera 3 failed to find supported preview config: 4208x3120 ERROR: Failed to start camera: hires, exiting
We could verify that 4208x3120 is listed as a supported resolution when running "voxl-camera-server --list"
Stats for camera: 3: ANDROID_SCALER_AVAILABLE_RAW_SIZES: 4208x3120, 4096x2160, 2104x1560, 1920x1080, 1280x720, ANDROID_SCALER_AVAILABLE_PROCESSED_SIZES: 4208x3120, 4096x2160, 2104x1560, 1920x1080, 1280x 720,
-
@Jeff-Delaune said in 4208x3120 resolution with IMX214 M0025-2 hires cam on VOXL 2:
"name": "hires",
"enabled": true,
"frame_rate": 30,
"type": "imx214",
"camera_id": 3,
"preview_width": 4208,
"preview_height": 3120,
"snapshot_width": 3840,
"snapshot_height": 2160Hey @Jeff-Delaune - just tried recreating your issue on SDK 0.9 and can say that I also was unable to run the camera at 4208X3120:
Looks like the reasoning is because there was not a supported PREVIEW config of 4208x3120 - something to note is that the --list basically hits a hal3 api that returns what it believes are the correct camera resolutions. We are currently building out a table of configurable resolutions that are 100% working.
Anyways - please try a preview config of 4096 x 2160 (still 4k) and that will solve this issue.
Let me know if that is not an option though.
Thanks,
Zach -
Thanks for the quick reply @Zachary-Lowell-0 !
We were planning a field test in 1 week for which the full resolution is needed => Is there any plan on your side to get the full resolution to work? If so, do you have a timeline for it?
-
We are aware of the issue. It is a very time consuming task to fix Qualcomm's camera drivers. We are working on it though and hope it will be resolved in a release this summer.
-
Copy. Thanks @Chad-Sweet and team!
-
Hi @Chad-Sweet,
Would you be able to tell us what has been confirmed to work with the Qualcomm driver for the IMX214 hires cam?
Can we get the full frame at a lower resolution?
Which settings crop the image and which settings down-sample the image?
We tried to explore that and now have a sense, but it would be nice if you could tell us what to expect.
I apologize in advance if you already answered these questions to Andrew by email. He is on leave this week.
-
@Jeff-Delaune-_
This is a little late, but we have 4208x3120 working now. The changes weren't in the camera driver itself but the camera pipeline and camera-server... we have it available in a nightly build if you're up to trying a pre-release out!