Pi 5(Bookworm OS) compatibility with Arducam camera

From what i can tell, It has all the exact same specs, But you don’t have to deal with all the annoying drivers and installation because it’s accepted as a native camera. So better in terms of like this is what i think most people thought the Hawkeye would be like, But I like ended up having to literally write a whole walkthrough just to use the thing.

So this was much easier!

1 Like

I had the hawkeye working with bookworm.
Then update today and now not.
Removed the packages that the installer provides and still nothing :frowning:
Thinking of going back to bullseye which worked reliably.

1 Like

Hi,
How about the error log in Bookworm OS? I’m really curious about it.

dmesg | grep 64mp
dpkg -l | grep libcamera
libcamera-still -t 0

As far as I learned, the Raspberry Pi will give up the support for Bullseye OS gradually. Hence, going back to Bullseye OS is a quick fix but not a permanent fix.

@henri @Dion
Thanks for previous help.

I need one more favour.
Actually now when I am interfacing Arducam imx477 night vision with python (picamera2 library) the output I am getting is slightly on pink shades, but when I get output from the terminal via libcamera. Output is quite well.

Can you please suggest why that pink shade is there.

i think its because the white balance settings are different

Hi @Dion ,

You wrote in november that you should have something soon for the imx519 regarding autofocus on the raspberry pi with the current OS.

I get this when using lib camera:

[0:09:03.726266905] [1491]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0+120-eb00c13d
[0:09:03.734055918] [1492]  INFO RPI pisp.cpp:695 libpisp version v1.0.5 999da5acb4f4 17-04-2024 (14:29:29)
[0:09:03.742199876] [1492]  INFO RPI pisp.cpp:1154 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx519@1a to CFE device /dev/media0 and ISP device /dev/media2 using PiSP variant BCM2712_C0
[0:09:03.743641712] [1491]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0+120-eb00c13d
[0:09:03.751532169] [1495]  INFO RPI pisp.cpp:695 libpisp version v1.0.5 999da5acb4f4 17-04-2024 (14:29:29)
[0:09:03.759475220] [1495]  INFO RPI pisp.cpp:1154 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx519@1a to CFE device /dev/media0 and ISP device /dev/media2 using PiSP variant BCM2712_C0
[0:09:03.761962965] [1491]  WARN V4L2 v4l2_pixelformat.cpp:344 Unsupported V4L2 pixel format RPBP
[0:09:03.762093187] [1491]  WARN V4L2 v4l2_pixelformat.cpp:344 Unsupported V4L2 pixel format RPBP
[0:09:03.762826096] [1491]  INFO Camera camera.cpp:1183 configuring streams: (0) 640x480-XBGR8888 (1) 320x240-YUV420 (2) 1280x720-RGGB_PISP_COMP1
[0:09:03.762940374] [1495]  INFO RPI pisp.cpp:1450 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx519@1a - Selected sensor format: 1280x720-SRGGB10_1X10 - Selected CFE format: 1280x720-PC1R
[0:09:03.789340714] [1500]  WARN IPARPI ipa_base.cpp:1160 Could not set AF_TRIGGER - no AF algorithm or not Auto

I am not sure what I am doing wrong. Is the module already updated? Will it be?

Thanks for your patience!

This is the demo I did for the Arducam 16 with the Pan-Tilt accessory. It streams to a browser, so one can attach the camera on a headless Pi. The only problem now is the Autofocus, which worked on the Pi 4: GitHub - surak/bird: Everybody knows that bird is the word

Hi @surak
Please post the output of the comment dpkg -l | grep libcamera here.

@dion @henri
Hi,
Need one more help.
Actually when I am using IR cut Arducam IMX477 then on ir mode in night with Ir led on, its giving pinkish tone night vision. Is there any special settings to be done to get that grayscale night vision

somebody else complained about something like that in some thread if they use libcamera-still command line command then there is no pinkish tone but when they use python code then there is pinkish tone. so i think its white balance or some other settings issue.

me personally with arducam 64mp i got blueish tone and interference pattern on images because the frequency of light source in the ceiling, then i turned off the room light source then images were fine. so u might want to look into frequency of your LED also u want it to be as high as possible.

I had hawkeye working on bookworm from march, but just did a sudo update and upgrade today, and now it doesn’t work. gives this error:


 File "/home/pi/Desktop/Mothbox/TakePhoto.py", line 171, in <module>
    picam2 = Picamera2(0)
  File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 245, in __init__
    camera_num = self.global_camera_info()[camera_num]['Num']
IndexError: list index out of range

also here’s this info

**dpkg -l | grep libcamera**

pi@mothbox:~ $ dpkg -l | grep libcamera
ii  libcamera-apps                       1.4.4-1                             all          transitional package
ii  libcamera-dev:arm64                  0.2.0+rpt20240418-1                 arm64        complex camera support library (development files)
ii  libcamera-ipa:arm64                  0.2.0+rpt20240418-1                 arm64        complex camera support library (IPA modules)
ii  libcamera-tools                      0.2.0+rpt20240418-1                 arm64        complex camera support library (tools)
ii  libcamera0.1:arm64                   0.1.0+rpt20231205-1                 arm64        complex camera support library
ii  libcamera0.2:arm64                   0.2.0+rpt20240418-1                 arm64        complex camera support library
ii  pipewire-libcamera:arm64             0.3.65-3+rpt7+deb12u1               arm64        PipeWire libcamera plugin
ii  python3-libcamera:arm64              0.2.0+rpt20240418-1                 arm64        complex camera support library (Python bindings)

i think the kernel api has changed and that breaks arducam driver. the fix is to downgrade kernel

1 Like

We are using an IMX477 with motorised focus on a raspberry pi5 running on bullseye. The focus doesn’t seem to work and is not focusing and unable to adjust the lens height.

Hi,
I’m curious how you make Pi 5 run Bullseye OS :question: