Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4406

Camera board • Pi camera on bookworm and bullseye

$
0
0
Hi all,

I've been using the first Pi camera with a Pi Zero W for many years and now tried reinstalling the system with Bookworm.
After several days I just can't get it to work. I'm not a video expert with Linux but before Bullseye and Bookworm I didn't have to be to set the camera up. Just connect it, run raspi-config to enable it in the interface options and raspistill and other services worked.

Now both on Bullseye and Bookworm, the camera just doesn't work. I only get a black image back from rpicam-still. It seems to start capturing frames but the result is just plain black. I've had the same problem with a Pi camera on my RPi 4.

I read a lot about legacy camera code being removed and new support being inferior to the old stack but don't feel like I made any progress in trying to understand whether an original Pi camera is supposed to work with a Pi Zero W on any RPi OS beyond Buster.

I'd greatly appreciate any input on this to either try and fix it or abandon RPi as a platform my camera project.

Thank you!

Code:

vcgencmd get_camerasupported=0 detected=0, libcamera interfaces=0

Code:

root@raspberrypi:~# rpicam-still -o /home/me/image.jpg                                           [0:37:42.455279591] [1447] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found[0:37:42.457705593] [1447] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info[0:37:42.460279596] [1447]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0+46-075b54d5[0:37:42.671409805] [1450]  WARN RPiSdn sdn.cpp:39 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise[0:37:42.687754822] [1450]  WARN RPI vc4.cpp:393 Mismatch between Unicam and CamHelper for embedded data usage![0:37:42.694741829] [1450]  INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media2 and ISP device /dev/media0[0:37:42.697057831] [1450]  INFO RPI pipeline_base.cpp:1144 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'Preview window unavailable                   Mode selection for 1640:1232:12:P                SRGGB10_CSI2P,640x480/0 - Score: 4504.81     SRGGB10_CSI2P,1640x1232/0 - Score: 1000      SRGGB10_CSI2P,1920x1080/0 - Score: 1541.48    SRGGB10_CSI2P,3280x2464/0 - Score: 1718     SRGGB8,640x480/0 - Score: 5504.81           SRGGB8,1640x1232/0 - Score: 2000            SRGGB8,1920x1080/0 - Score: 2541.48           SRGGB8,3280x2464/0 - Score: 2718        Stream configuration adjusted               [0:37:42.748073881] [1447]  INFO Camera camera.cpp:1183 configuring streams: (0) 1640x1232-YUV420 (1) 1640x1232-SBGGR10_CSI2P[0:37:42.751648885] [1450]  INFO RPI vc4.cpp:611 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected sensor format: 1640x1232-SBGGR10_1X10 - Selected unicam format: 1640x1232-pBAA#0 (0.00 fps) exp 33251.00 ag 8.00 dg 1.00  #1 (30.00 fps) exp 33251.00 ag 8.00 dg 1.00                                                                                                                                                        #2 (30.01 fps) exp 33251.00 ag 8.00 dg 1.00          

Statistics: Posted by rb519 — Sat Feb 24, 2024 6:53 pm — Replies 1 — Views 32



Viewing all articles
Browse latest Browse all 4406

Trending Articles