Camera Module V1 (OV5647) 640×480 @ 90 FPS mode not available
christianrauch opened this issue · comments
Describe the bug
The Camera Module V1 (OV5647) is advertised with video modes "1080p30, 720p60 and 640 × 480p60/90" but the video mode with 640 × 480 @ 90 FPS is not available when using the libcamera
stack.
This was originally reported to libcamera-apps
as raspberrypi/rpicam-apps#427 but it turns out that this is an issue with the ov5647
kernel module, which only defines 4 10bpp-modes
linux/drivers/media/i2c/ov5647.c
Lines 507 to 592 in 3af3e39
Hence the new libcamera
stack cannot be used with all advertised modes. Since the old "mmal" stack is deprecated, I expect that all features will be available on the new libcamera
stack
Steps to reproduce the behaviour
libcamera-vid --list-cameras
will list modes between 15 and 60 FPS:
0 : ov5647 [2592x1944] (/base/soc/i2c0mux/i2c@1/ov5647@36)
Modes: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]
1296x972 [43.25 fps - (0, 0)/2592x1944 crop]
1920x1080 [30.62 fps - (348, 434)/1928x1080 crop]
2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]
The 90 FPS mode is missing.
Device (s)
Raspberry Pi Zero 2 W, Raspberry Pi 2 Mod. B
System
- Raspberry Pi OS 11 (bullseye)
- kernel 5.15
Logs
No response
Additional context
No response