CSi Camera Kernel Driver for Sony IMX477 as used in High Quality Camera
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 43/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, linux
- Lĩnh vực
- embedded-iot, operating-systems
Hướng nghiên cứu
Start by reading the IMX477 kernel driver and its mode and timing tables, then compare the available modes with the sensor data sheet and the reported 2-lane CSI bandwidth limits. The issue proposes adding a cropped 2440x1600 mode at about 53 fps; confirm its timing and image quality on Raspberry Pi 5, then check that libcamera can select it and that existing modes still work.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
IMX477.ko kernel driver is not achieving anything like the maximum resolution/frame duration performance the sensor is capable of delivering. This not a bug per-se, but significant 'under-performance' of the typical Pi setup
Steps to reproduce the behaviour
Pi 5 8GB, Libcamera/Picamera library, Python, High Quality Camera
Also Hailo 8L HAT
Request modes from camera during init, compare pixels and frame duration to Sony IMX477 data sheet. Driver uses 'sensor binning' below max resolution (loss of image quality) when some combinations of Native Sensor Cropping would offer a better performance compromise for use cases needing maximum image quality
Device (s)
Raspberry Pi 5
System
Raspberry Pi reference 2026-06-18
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, ca8aeed0ae300c2a89f55ce9617d5f96a27e99e5, stage4
2026/05/26 16:01:25
Copyright (c) 2012 Broadcom
version 086b83e3 (release) (embedded)
Linux PI5HAT 6.18.50+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.50-1+rpt1 (2026-09-11) aarch64 GNU/Linux
Logs
No response
Additional context
Raspberry Pi 5 (2-lane CSi interface), Raspberry Pi High Quality Camera based on Sony IMX477 sensor.
Sony publish performance specs that suggest the sensor is capable of running 16MP at 30 or 60fps using the sensor's 4-lane CSi interface. As implemented for Raspberry Pi, and with the construct of the kernel driver, at 4056x3056 resolution and 8-bit this drops to around 17fps.
With my limited knowledge I have investigated what Native Sensor Cropping and Timings would fit within the 2-lane CSi bandwidth and the Sony Sensor's timing limits. This has lead me to 2440x1600 8-bit at 53.02fps.
To achieve this I have added a timing 'table' to the driver, and a resolution entry for libcamera to recognise and set. I am having to rmmod and re-load the IMX477.ko kernel driver after reboot, and if there is any kernel updates will have to re-compile the .ko.
Would the maintainers be interested in adopting this timing enhancement for inclusion in the standard library so all users with a want for higher fps can get a better compromise than the current library?
Happy to place the code here (however that is done) should it be wanted.
- Ngôn ngữ chính
- C
- Star
- 13.3k
- Fork
- 5.5k
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 21
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của raspberrypi/linux
-
drm/vc4: hdmi: vc4_hdmi_hpd_irq_thread() checks !force_hotplug globally instead of per-connector bitmaskCó thể đã có người làm @popcornmix đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
raspberrypi/linux#7724 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
raspberrypi/linux#7718 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
raspberrypi/linux#7415 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace appĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
raspberrypi/linux#7399 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documentation update requiredĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
raspberrypi/linux#7357 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của raspberrypi/linux
Issue tương tự
-
good first issue help wanted program
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
hffgzktbcc-blip/ounce-core#297 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
mt7621 编译报错:expected 'struct sockaddr *' but argument is of type 'struct sockaddr_unsized *'Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
coolsnowwolf/lede#14283 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
OpenVisualCloud/SVT-JPEG-XS#130 ·
Maintainer thường phản hồi trong vòng 1 ngày