Pi5+Raspberry Pi Module 3

I can't see camera stream in Octoprint. I can print and Octoprint works fine otherwise, but I can't see the stream. 2024-07-04-octopi-bookworm-armhf-lite-1.1.0 and GitHub - paukstelis/octoprint_deploy: Bash script for rapid deployment of multiple octoprint instance on a single machine is installed.

Octoprint settings:
/webcam/?action=stream
http://localhost:8001?action=snapshot
/usr/bin/ffmpeg

When I run sudo libcamera-hello --list-cameras, I get:
Available cameras

0 : imx708_wide [4608x2592 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@88000/imx 708@1a)
Modes: 'SRGGB10_CSI2P' : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]

Camera model

Raspberry Pi Camera Module 3

What is the problem?

I can't see stream in Octoprint.

What did you already try to solve it?

I have read and tried many things, but I can't solve this.

Have you tried running in safe mode?

Yes

Did running in safe mode solve the problem?

No

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

OctoPrint 1.10.3, Python 3.11.2, OctoPi 1.1.0, CR-10v3, v2.1.2., Firefox, Win11,

Please attach the systeminfo bundle to your next. It was already requested.

What file I must to share here from the .zip? Here it is...
octoprint-systeminfo-20250213074015.zip (35.7 KB)

1 Like

For it is a bundle: The whole zip-file

Does anyone have any ideas on how to get the camera working? I have tried editing the /boot/firmware/config.txt file in many different ways but I still can't get the camera stream to work and show up. The camera is a Raspberry Pi Camera Module 3 Wide.
The command sudo libcamera-hello --list-cameras gives the following response:

Available cameras

0 : imx708_wide [4608x2592 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@88000/imx 708@1a)
Modes: 'SRGGB10_CSI2P' : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]

#BUT still the camera video is not visible in Octoprint...

8 months ago I threw that camera in the box. Now I dug it out and tried to get it to work. I downloaded the new Imager and the latest Octoprint camera version. I still can't get it to work, the camera works in the RaspController program. Can anyone help?

SSH:

pi@Raspi:~ $ sudo rpicam-hello --list-cameras
Available cameras

0 : imx708_wide [4608x2592 10-bit RGGB] (/base/axi/pcie@1000120000/rp1/i2c@88000/imx708@1a)
Modes: 'SRGGB10_CSI2P' : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]

When I type rpicam-still -o test.jpg
I get these warnings: [2:22:53.916905779] [3430] WARN CameraSensorProperties camera_sensor_properties.cpp:499 No static properties available for 'imx708_wide'
[2:22:53.916927205] [3430] WARN CameraSensorProperties camera_sensor_properties.cpp:501 Please consider updating the camer a sensor properties database
[2:22:54.008599790] [3430] INFO IPAProxy ipa_proxy.cpp:180 Using tuning file /usr/share/libcamera/ipa/rpi/pisp/imx708_wide .json
[2:22:54.022424850] [3430] WARN CameraSensor camera_sensor_legacy.cpp:501 'imx708_wide': No sensor delays found in static properties. Assuming unverified defaults.

PLEASE: When you post code, use the Preformatted text feature of the forum editor.

Format

YepπŸ‘Am I really the only one who doesn't have this setup working?

I think the issue is that you are the only one who has this setup.

I have an RPi4B with the RPi Camera V3 (not wide). I'm using:
OctoPrint 1.11.3 Python 3.11.2 OctoPi* 1.1.0cam (build 2025.09.30.141704)

and I see:

pi@rpi4b:~ $ sudo rpicam-hello --list-cameras
Available cameras
-----------------
0 : imx708 [4608x2592 10-bit] (/base/soc/i2c0mux/i2c@1/imx708@1a)
    Modes: 'SBGGR10_CSI2P' : 1536x864 [30.00 fps - (65535, 65535)/65535x65535 crop]
                             2304x1296 [30.00 fps - (65535, 65535)/65535x65535 crop]
                             4608x2592 [30.00 fps - (65535, 65535)/65535x65535 crop]

The camera works within OctoPrint.

If you have a spare microSD card, you might try the OctoPi version(s) and see if the symptoms change.

While I have an RPi5, the camera cable is different and I don't have one.

As for the error you are seeing with rpicam-still -o test.jpg, I have the following files in that directory:

pi@rpi4b:/usr/share/libcamera/ipa/rpi/pisp $ ls imx708* -l
-rw-r--r-- 1 root root 89666 Sep  1 05:36 imx708.json
-rw-r--r-- 1 root root 87630 Sep  1 05:36 imx708_noir.json
-rw-r--r-- 1 root root 90089 Sep  1 05:36 imx708_wide.json
-rw-r--r-- 1 root root 84040 Sep  1 05:36 imx708_wide_noir.json

Here's a zip of those four files:

rpi4b.zip (48.5 KB)

Ok b-morgan, not help. How I should to edit this config.txt file?

When I type: sudo nano /boot/firmware/config.txt

I get:

arm_64bit=0
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[cm5]
dtoverlay=dwc2,dr_mode=host

[all]
# enable raspicam
start_x=1
gpu_mem=128
2 Likes

Please again:

Sorry if I'm not being helpful. I believe the data you provided in February is completely irrelevant because you said:

I downloaded the new Imager and the latest Octoprint camera version

Exact version numbers would be useful as well as a new systeminfo bundle.

The OctoPi (new experimental camera stack) version uses camera-streamer to control the camera. For OctoPrint to use the camera, camera-streamer must be active. When camera-streamer is active, RaspController can't use the camera (at least that's how it works on my RPi4).

FWIW, the /boot/firmware/config.txt on my RPi4 is identical to the one on your system so I don't believe it needs to be edited.

Oh, so when camera working in RaspController camera-streamer is not active. Yep, that's the problem and I can't to start camera-streamer.
I can use my 3D printer without camera or I can connect Pi4+old camera to my printer BUT I want to know, what's the problem and same time learning. I want to see the solution, maybe one day someone will solve this :wink:

I believe the solution is to figure out why you can't start camera-streamer but we will need your help to do so. If you upload a new systeminfo bundle then we can start by examining the log.

Note: Searching this forum for "camera-streamer" may provide some useful information.

Ok, here it is...
octoprint-systeminfo-20251030094226.zip (14.9 KB)

I see the problem, but I don't know how to solve it.

Oct 29 19:33:39 Raspi list-libcamera-devices[781]: /usr/bin/list-libcamera-devices: 6: exit: Illegal number: -1

/usr/bin/list-libcamera-devices is a shell script and it is looking for /base/soc in the data returned by rpicam-hello. The output from your wide camera is /base/axi.

I think we may need help from @foosel.

I would try editing that script and change soc to axi and see what blows up next :grin:(upload another bundle afterwards).

I'd suggest the same.

I created the script based on what the camera modules I had here were reporting, /base/axi is something I didn't know about. But if it works with that, I could look into changing the script and updating the image.

1 Like