#Camera module 3 problem

43 messages · Page 1 of 1 (latest)

short totem
#

Device:
Raspberry Pi 4 Model B (4GB)

System:
“Raspberry Pi OS Lite (64-bit)
Debian Trixie port without a graphical environment
(compatible with Raspberry Pi 3/4/400/5)
Released: 2025-12-04”

Installed using KIAUH:
Klipper
KlipperScreen
Mainsail
Crowsnest

Camera:
Raspberry Pi Camera Module 3

Description:
I had to reinstall the system because my SD card was starting to fail. I set everything up again, this time on an SSD, but for the past few days I’ve been struggling with the camera and I can’t get it to work.
I should add that on the previous system (running from the SD card) the camera worked perfectly without any issues.
I would really appreciate your help.

/webcam/webrtc & WebRTC (camera-streamer) <--- Shows just black screen (no fps counter, camera not covered)
/webcam/?action=stream & MJPEG -Streamer <--- Shows "Disconnected"

static leaf
#

Just send your crowsnest log...

short totem
static leaf
#

Basically all those informations about the system are in there already...

#

Can you try to add the following to your /boot/firmware/config.txt:

[pi4]
gpu_mem=128```then restart
short totem
static leaf
#

This is after the restart?

short totem
#

yes

static leaf
#

So no picture?

short totem
#

nope should i chose /webcam/webrtc & WebRTC or /webcam/?action=stream & MJPEG -Streamer ?

static leaf
#

Try both

#

The problem is that we cannot get through software, if your picture is working

#

We could grab the a single frame, but it doesn't say as much 🙈

short totem
#

both dont show

#
siano@voron:~ $ sudo systemctl stop crowsnest
siano@voron:~ $ rpicam-hello
[0:05:58.179236946] [1940]  INFO Camera camera_manager.cpp:340 libcamera v0.7.0+rpt20260205
[0:05:58.210579730] [1943]  WARN CameraSensorProperties camera_sensor_properties.cpp:548 No static properties available for 'imx708_wide_noir'
[0:05:58.210643006] [1943]  WARN CameraSensorProperties camera_sensor_properties.cpp:550 Please consider updating the camera sensor properties database
[0:05:58.344268132] [1943]  INFO IPAProxy ipa_proxy.cpp:180 Using tuning file /usr/share/libcamera/ipa/rpi/vc4/imx708_wide_noir.json
[0:05:58.352191076] [1943]  WARN CameraSensor camera_sensor_legacy.cpp:502 'imx708_wide_noir': No sensor delays found in static properties. Assuming unverified defaults.
[0:05:58.353129281] [1943]  INFO Camera camera_manager.cpp:223 Adding camera '/base/soc/i2c0mux/i2c@1/imx708@1a' for pipeline handler rpi/vc4
[0:05:58.353228557] [1943]  INFO RPI vc4.cpp:445 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media0 and ISP device /dev/media2
[0:05:58.353306592] [1943]  INFO RPI pipeline_base.cpp:1117 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Made X/EGL preview window
Made DRM preview window
Preview window unavailable
Mode selection for 2304:1296:12:P
    SRGGB10_CSI2P,1536x864/0 - Score: 3400
    SRGGB10_CSI2P,2304x1296/0 - Score: 1000
    SRGGB10_CSI2P,4608x2592/0 - Score: 1900
[0:05:58.594347833] [1940]  INFO Camera camera.cpp:1215 configuring streams: (0) 2304x1296-YUV420/sYCC (1) 2304x1296-SBGGR10_CSI2P/RAW
[0:05:58.594816621] [1943]  INFO RPI vc4.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10/RAW - Selected unicam format: 2304x1296-pBAA/RAW
#7 (0.00 fps) exp 32680.00 ag 16.00 dg 1.00
#8 (30.01 fps) exp 32680.00 ag 16.00 dg 1.00
#9 (30.01 fps) exp 32680.00 ag 16.00 dg 1.00
#10 (30.01 fps) exp 32680.00 ag 16.00 dg 1.00
^C
static leaf
#

There is no reason, to send me that, or do you want to tell me something by sending this information?

#

You already sent it in your first message

#

Set log_level: debug and delete_log: true in crowsnest.conf, then send me a new log

short totem
#

No, I just thought maybe it would say something more, because I’m completely confused by this already.

static leaf
#

The streamer seems to be fine too

#

btw you should use v4l2ctl: AfMode=1 and not custom_flags: -camera-options=AfMode=1

#

What browser are you using on which system (windows/mac)?

short totem
#

Windows
Firefox and Chrome

static leaf
#

How did you install your Pi? From scratch or in place upgrade?

short totem
#

fresh install by Raspberry Pi Imager

static leaf
#

Can you send a picture of your picam

#

Also make sure every cable is seated correctly, especially that small one near the sensor

short totem
#

Unfortunately not right now, because the printer is at work and I’m at home.

I still have the old system (SD card) that was failing due to read errors, and the camera was working fine there. Tomorrow I’ll be at work, so I’ll boot that card and check if the camera still works on it.

static leaf
#

Is the old SD card Trixie too?

short totem
#

Well, that’s the thing — I’m not sure about that. I have the SD card with me, but I don’t know if I can verify it from Windows, just from the boot partition.

static leaf
#

You could use something like diskinternals linux reader to read the data partition

#

In there you want to look at /etc/os-release

short totem
static leaf
#

How do you access the webcam stream? Over some VPN or similar?

short totem
#

I’m not using any VPNs.
I have port forwarding set up to the printer from work, but locally (at work the issue is the same).

static leaf
#

It's just that remotely you might not be able to watch the webrtc stream

short totem
#

After uninstalling Crownsnest and installing Spyglass, it works! I haven’t adjusted the settings yet, and for example the resolution isn’t set correctly, but I’ll sort that out in a moment.🙂

static leaf
#

Ok, then I have no idea what the problem could be 🙈

#

If Spyglass is working, I would assume camera-streamer is working too. The only reason cs should not work, would be a libcamera update, but there should be an error for that in the log

#

imho, Spyglass looks better anyway 😜
But the cpu usage is a little bit higher