-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Describe the bug
I am noticing what seems to be a bug affecting pictures captured by rpicam-still happening after I upgraded my kernel version from 6.12 (Bookworm) to 6.12.55-v8-16k+. I've tested reverting to stable bookworm release and found the image capture to be normal there so it seems that the cause is the new kernel.
Images captured with rpicam-still now have a rectangular block of pixels along the bottom which are completely black. I've found this line measures 42px tall when capturing images with a Raspberry Pi HQ Camera at 4056x3040 resolution. I have written some reproduction steps below.
Steps to reproduce the behaviour
First, be on a stable release (Tested on Bookworm) and test an rpicam-still picture output from a Raspberry Pi HQ Camera, a full frame image should be 4056x3040 resolution and all pixels should contain image data from the effective area of the sensor.
Example usable command: rpicam-still -o test.jpg -e jpg
Run these commands to install bleeding edge kernel:
sudo apt install rpi-update
sudo rpi-update
sudo reboot
At the time of my testing this is the kernel version I am on as reported by uname -a
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.12.55-v8-16k+ #1915 SMP PREEMPT Fri Oct 24 11:53:30 BST 2025 aarch64 GNU/Linux
Run the rpicam-still command again and check the output image. The image has the same size (4056x3040) but the last 42 rows of the bottom of the image are now black.
Device (s)
Raspberry Pi 5
System
https://pastebin.com/BDUx11xV
pi@raspberrypi:~ $ cat /etc/rpi-issue
Raspberry Pi reference 2025-10-01
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 58b9a6bd1e3af179df52d4085dfe481d1c62e8fc, stage4
pi@raspberrypi:~ $ vcgencmd version
2025/10/17 10:48:37
Copyright (c) 2012 Broadcom
version b66568da (release) (embedded)
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.12.55-v8-16k+ #1915 SMP PREEMPT Fri Oct 24 11:53:30 BST 2025 aarch64 GNU/Linux
Logs
No response
Additional context
No response