Description
Certainly jumping the gun on this one, I'm attempting to get rpicam-apps/libcamera working with the IMX294 on kernel 6.12
I've had to make some minor adjustments to the driver to account for some v4l2 api changes, specifically:
v4l2_subdev_get_try_crop
-> v4l2_subdev_state_get_crop
v4l2_subdev_get_try_format
-> v4l2_subdev_state_get_format
and:
#include <asm/unaligned.h>
-> #include <linux/unaligned.h>
With that I can get the driver to successfully compile. However there are new issues to contend with. I have image artifacts for nearly all the sensor modes.
SRGGB10_CSI2P,1896x1404/190.223 - Score: 14202.4
SRGGB12_CSI2P,1392x248/461.681 - Score: 0
SRGGB12_CSI2P,1392x736/351.494 - Score: 11286.8
SRGGB12_CSI2P,3872x2180/61.4288 - Score: 12613.3
SRGGB12_CSI2P,4144x2184/57.7601 - Score: 12318.4
SRGGB12_CSI2P,4176x2184/54.3685 - Score: 12282.4
SRGGB12_CSI2P,3792x2840/41.8305 - Score: 14081.1
SRGGB14_CSI2P,3792x2840/28.8218 - Score: 15081.1
I say nearly because there are 2 odd sensor modes that seem to not be affected...for whatever reason.
14-bit 3792x2840: ( this one is using the software 14-bit unpacking patch, which does work. )
All the other modes exhibit some kind of garbled image output:
Certainly something not right...but I'm not sure where specifically that is ( PiSP, CFE, Libcamera, elsewhere? )