Shark
October 30, 2025, 3:02pm
21
Sounds good \o/
I don't understand enough about these to be able to solve such problems. Thanks b-morgan & foosel for taking the trouble to investigate the problem for my camera. Hopefully, once this issue is resolved, others will also benefit from the solution. However, I don't think I'm the only one with this setup. Once we get instructions on what and how to do, we'll get it done.
foosel
October 30, 2025, 3:31pm
22
Try what @b-morgan suggested and edit the file, replace /base/soc with /base/axi, save, reboot, see if something and if so what changes, share logs.
Shark
October 30, 2025, 4:35pm
23
I don't know how to do it please step by step instructions.
@foosel and I were able to find the problem, and she is working on the solution. I believe it will be a new image. I'm sure she will post destructions here
Shark
October 30, 2025, 5:21pm
25
Woah, I tried to look for a solution in the ~/.octoprint/config.yaml file but I have no idea where /base/soc is so must to trust @foosel
foosel
November 3, 2025, 9:56am
26
So, if your Raspberry Pi Camera Module is actually getting detected, swapping /usr/bin/list-libcamera-devices with this:
#!/bin/sh
tool=/usr/bin/rpicam-hello # bookworm
[ -e "$tool" ] || tool=/usr/bin/libcamera-hello # bullseye
$tool --list-cameras | grep -oE '/base/(soc|axi)/[^)]*' || exit -1
will make it get detected by the camera stack too. On a recent image build that can be done by logging in via SSH and then running
sudo camera-streamer-stack-update
On images that don't have that script yet it can be done by running
sudo curl -Ls https://raw.githubusercontent.com/OctoPrint/camera-streamer-stack/refs/heads/main/scripts/list-libcamera-devices > /usr/bin/list-libcamera-devices
Alas, then things break due to a blocking camera-streamer issue that is currently getting tracked here:
opened 02:38PM - 05 Jun 24 UTC
I tried running the following from the command line based off of `
```
/usr/bi⦠n/camera-streamer -camera-path=/base/axi/pcie@120000/rp1/i2c@88000/imx708@1a --camera-type=libcamera --camera-format=YUYV --camera-width=2304 --camera-height=1296 --camera-fps=30 --camera-nbufs=2 --camera-snapshot.height=1080 --camera-video.height=720 --camera-stream.height=480 --camera-options=AfMode=2 --camera-options=AfRange=2 --http-listen=0.0.0.0 --http-port=8080 --rtsp-port
```
I get back:
```
/usr/bin/camera-streamer Version: 0.2.8 (bc23191)
util/http/http.c: ?: HTTP listening on 0.0.0.0:8080.
output/rtsp/rtsp.cc: ?: Running RTSP server on '8554'
[63:20:06.896738749] [758671] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e
[63:20:06.910870584] [758685] INFO RPI pisp.cpp:653 libpisp version v1.0.5 999da5acb4f4 17-04-2024 (14:29:29)
[63:20:06.923921737] [758685] INFO RPI pisp.cpp:1112 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx708@1a to CFE device /dev/media0 and ISP device /dev/media1 using PiSP variant BCM2712_C0
device/libcamera/device.cc: CAMERA: Device path=/base/axi/pcie@120000/rp1/i2c@88000/imx708@1a opened
[63:20:06.924327421] [758671] WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format Y16
[63:20:06.924355106] [758671] WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format RGB6
[63:20:06.924363050] [758671] WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format BGR6
[63:20:06.924394087] [758671] WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format PC1M
[63:20:06.924610660] [758671] INFO Camera camera.cpp:1183 configuring streams: (0) 1920x1080-YUYV
[63:20:06.924756771] [758685] INFO RPI pisp.cpp:1396 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10 - Selected CFE format: 2304x1296-PC1B
[63:20:06.925191547] [758671] INFO Camera camera.cpp:1183 configuring streams: (0) 1920x1080-YUYV (1) 2304x1296-BGGR16_PISP_COMP1
[63:20:06.925302695] [758685] INFO RPI pisp.cpp:1396 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10 - Selected CFE format: 2304x1296-PC1B
device/buffer_list.c: CAMERA:capture: Using: 1920x1080/YUYV, buffers=2, bytesperline=3840, sizeimage=0.0MiB
device/buffer_list.c: CAMERA:capture: Opened 2 buffers. Memory used: 7.9 MiB
device/buffer_list.c: CAMERA:capture:1: Using: 2304x1296/BYR2, buffers=2, bytesperline=2304, sizeimage=0.0MiB
device/buffer_list.c: CAMERA:capture:1: Opened 2 buffers. Memory used: 5.7 MiB
device/camera/camera_output.c: CAMERA: Cannot find encoder to convert from 'YUYV'
```
I also tried setting `--camera-format=` to `MJPEG`, `YUV420` and `H264` to no avail.
So is there any way to get a PiCamera v3 to work on an RPi5 using `camera-streamer`?
-
Sadly, that is out of my hands to fix. I keep shaking my head about the IMHO asinine decision by the Raspberry Pi Foundation to not include a hardware encoder in the RPi5, it really turns it into a lesser piece of hardware when it comes to webcam support and 3d printed control compared to previous hardware iterations.
I can really only recommend to not waste money on an RPi5 for using it with OctoPrint and stick with an RPi4 or even 3 instead.
Shark
November 3, 2025, 2:03pm
27
OK, the camera is recognized but I can't see the pictures or the stream. It's a tricky situation. Hopefully someone smarter will come up with a solution. Camera returned to box Thanks @foosel