Skip to content

Libcamera FPS regression #308

@Alexei-Kornienko

Description

@Alexei-Kornienko

I have a raspberry pi 5 with a camera v2 module (imx219)

When I use old debian version (2024-07-04-raspios-bookworm-arm64.img) it's setup with libcamera version 0.3.2

And when I list my cameras I see:

rpicam-hello --list-cameras
Available cameras
-----------------
0 : imx219 [3280x2464 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@88000/imx219@10)
    Modes: 'SRGGB10_CSI2P' : 640x480 [206.65 fps - (1000, 752)/1280x960 crop]
                             1640x1232 [41.85 fps - (0, 0)/3280x2464 crop]
                             1920x1080 [47.57 fps - (680, 692)/1920x1080 crop]
                             3280x2464 [21.19 fps - (0, 0)/3280x2464 crop]
           'SRGGB8' : 640x480 [206.65 fps - (1000, 752)/1280x960 crop]
                      1640x1232 [83.70 fps - (0, 0)/3280x2464 crop]
                      1920x1080 [47.57 fps - (680, 692)/1920x1080 crop]
                      3280x2464 [21.19 fps - (0, 0)/3280x2464 crop]

I can actually read the raw data from sensor at 83 fps.

However for a latest debian and libcamera 0.5 for the same request I get only 100 fps for a 640x480 mode and 42 fps for a 1640x1232. So for me it definetely looks like a regression.

Can you advise a workaround or possibly how to fix this? Cause is seems that sensor is able to provide much higher fps but driver doesn't use it properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions