Skip to content

Libcamera FPS regression #308

Closed
Closed

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.

Activity

  1. naushir commented on Sep 22, 2025

    @naushir
    Collaborator

    This is caused by a missing commit in the latest kernel release: raspberrypi/linux#7045.

  2. Alexei-Kornienko commented on Sep 23, 2025

    @Alexei-Kornienko
    Author

    Hi. Thanks for your help. I confirm that issue is fixed in kernel 6.12.48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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