Got the colors working! And Megapixels works in full res (4032x3024) mode too! Issues to fix:
- Megapixel preview has some weird lines. The top right corner looks good though. Saved image is also good.
- Libcamera+Snapshot still doesn't work in full resolution mode. Snapshot works at only a weird resolution of 1080x1240.
- Close up images looks a bit blurred/unfocused. Maybe the actuator needs to be implemented or another bug.
With these fixed, it will be ready for prime use i guess
@joelselvaraj > Snapshot works at only a weird resolution of 1080x1240
Yeah, because of performance issues we currently limit the resolution to a height of 1080 - that selection can certainly be improved, maybe by taking the aspect ratio of the maximal resolution into account and/or by introducing a selection. Or by preferring 4/3 and 16/9 ratios.
@rmader ah i see. Yeah. That needs improvement.
@joelselvaraj wow, this is exciting!!! Such amazing work, and so cool you got it working in the libcamera stack too, so we can use the camera for more things than just taking photos!!
@joelselvaraj Fantastic, great work! Any idea when this will be possible on e.g. #oneplus6 ?
@tomasoqvist Caleb worked on it. From what i heard recently, it turns out the imx519 sensor used in that phone uses cphy instead of dphy. So it needs some implementation in the QCOM CAMSS kernel driver to support that sensor. Only time will tell when that gets implemented by someone :)
@joelselvaraj Ok, thanks for the update!
@pavel Its Sony IMX363 camera. Xiaomi Poco F1 phone (Qualcomm SDM845 SoC).
@pavel OP6 uses a Sony IMX519 camera, which is different from the one in Poco F1. Also the imx519 in op6 seems to need some changes in kernel to support cphy. Caleb mentioned working on it in the past.