Closed fiepfiep closed 7 months ago
Solved - was a driver issue. I had to specify the gain range in the *_set_pad_format function.
Hi, it's a bit difficult to know what to suggest here. This is presumably either a camera driver or a libcamera bug, and not really anything to do with Picamera2.
I did try this with a v3 camera where the minimum gain is 1.12, and this seems to be advertised correctly as soon as the camera is configured, so there's no obvious sign of a problem there. Of course, I can't try your camera. Have you put some debug messages into your driver to see what analogue gain ranges it's advertising to libcamera? I guess you must have written a CamHelper? Can you say what gain code/value conversions that is being asked to do?
I made a driver for a sensor called mira050 which supports various bitmodes/analog gains. in the 8bit mode, the range should be 1x-16x. However, first time, the max is 1.06 -- how come? for some reason, i have to configure the sensor twice to make picamera2 get the correct anagain range..
returns