OctoPi 1.11.4 & RPI3 & RPIcam 1.3

Camera model

RPIcamera Rev. 1.3

What is the problem?

Does not work after flashing OctoPi 1.11.4

What did you already try to solve it?

looked into /var/log/webcamd.log with no hint how to solve

Have you tried running in safe mode?

Yes

Did running in safe mode solve the problem?

No

Systeminfo Bundle

octoprint-systeminfo-20251112092920.zip (19.4 KB)

Additional information about your setup

OctoPi 1.11.4 on Raspberry Pi 3 Model B Rev 1.2

1 Like

Sorry, for the lack of informations. Here are more things to know...

Added/configured in /boot/firmware/config.txt for the old RPi Camera:

# Automatically load overlays for detected cameras
camera_auto_detect=1
# RPIcam 1.3
dtoverlay=ov5647

I would say it is recognized on bootup...

dmesg | grep ov5647
[    0.029159] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/ov5647@36
[    0.029259] /soc/i2c0mux/i2c@1/ov5647@36: Fixed dependency cycle(s) with /soc/csi@7e801000
[    0.030697] /soc/csi@7e801000: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/ov5647@36
[    0.031984] /soc/i2c0mux/i2c@1/ov5647@36: Fixed dependency cycle(s) with /soc/csi@7e801000

But starting of webcamd is failing...

service webcamd status
Γ— webcamd.service - the OctoPi webcam daemon with the user specified config
     Loaded: loaded (/etc/systemd/system/webcamd.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Thu 2025-11-13 07:48:13 CET; 35min ago
   Duration: 3ms
    Process: 621 ExecStart=/root/bin/webcamd (code=exited, status=203/EXEC)
   Main PID: 621 (code=exited, status=203/EXEC)
        CPU: 2ms

Nov 13 07:48:13 rpi03 systemd[1]: webcamd.service: Scheduled restart job, restart Counter is at 5.
Nov 13 07:48:13 rpi03 systemd[1]: Stopped webcamd.service - the OctoPi webcam daemon with the user specified config.
Nov 13 07:48:13 rpi03 systemd[1]: webcamd.service: Start request repeated too quickly.
Nov 13 07:48:13 rpi03 systemd[1]: webcamd.service: Failed with result 'exit-code'.
Nov 13 07:48:13 rpi03 systemd[1]: Failed to start webcamd.service - the OctoPi webcam Daemon with the user specified config.

If somebody needs more infos, just say what and I will deliver it :wink:

Found in /boot/firmware/octopi.txt...

### Heads-up: The "input_raspi" input module of mjpg-streamer is no longer supported.
### Raspicam support is now available on the "input_uvc" module.

But what is meant with input_uvc? There is no kernel module named like that.

Trying modprobe uvcvideo is loading several kernel modules...

lsmod | grep uvc
uvcvideo              106496  0
uvc                    12288  1 uvcvideo
videobuf2_vmalloc      12288  2 uvcvideo,bcm2835_v4l2
videobuf2_v4l2         28672  6 bcm2835_isp,uvcvideo,bcm2835_codec,bcm2835_unicam_legacy,bcm2835_v4l2,v4l2_mem2mem
videodev              294912  10 bcm2835_isp,v4l2_fwnode,uvcvideo,ov5647,bcm2835_codec,bcm2835_unicam_legacy,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2,v4l2_async
videobuf2_common       69632  10 bcm2835_isp,uvcvideo,bcm2835_codec,bcm2835_unicam_legacy,videobuf2_dma_contig,videobuf2_vmalloc,videobuf2_memops,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
mc                     53248  10 bcm2835_isp,uvcvideo,ov5647,bcm2835_codec,videobuf2_common,videodev,bcm2835_unicam_legacy,v4l2_mem2mem,videobuf2_v4l2,v4l2_async

But this does not change anything. Starting of webcamd fails with the same error as shown above.

Log file of webcamd stays empty...

ls -l /var/log/webcamd.log 
-rw-r--r-- 1 root root 0 Nov 13 08:42 /var/log/webcamd.log

Ok, I can confirm that the camera is now recognized and I can see a picture/video via the rpicam-apps

I think commenting out of camera_auto_detect=1 did it.

1 Like

Same problem, but for me in config.txt raspcam enable was commented out, and finally, adding the line camera=auto at the bottom got my camera working again.

Cannot find anything in /boot/firmware/config.txt according to "raspcam" which is commented out.
Also there is nothing according to "camera=auto".

Could you please specify more precisely what did you do?

Thanks in advance...

Sorry for the typo. At the very bottom of config.txt (you have to scroll down) I found a line that was commented out that said "enable raspicam", i uncommented it, and, I added a line at the bottom that says "camera=auto" - sorry I don't know how to do the code thing. Camera=auto I think has to do with resolution, as some users said that setting resolution to lowest setting was working for them. Sorry, I'm not well versed on Linux/debian etc, I have to use google for everything, I am just reporting what worked for me, after updating to 1.11.4 and losing my raspicam.

Thanks for clarification.

enable raspicam was commented out too here, but after enabling it and adding camera=auto OctoPi does not recognize it...

rpicam-hello works...

[0:08:06.589458501] [856]  INFO Camera camera_manager.cpp:330 libcamera v0.5.2+99-bfd68f78
[0:08:06.685636033] [861]  INFO IPAProxy ipa_proxy.cpp:180 Using tuning file /usr/share/libcamera/ipa/rpi/vc4/ov5647.json
[0:08:06.712703521] [861]  INFO Camera camera_manager.cpp:220 Adding camera '/base/soc/i2c0mux/i2c@1/ov5647@36' for pipeline handler rpi/vc4
[0:08:06.712915136] [861]  INFO RPI vc4.cpp:440 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media1 and ISP device /dev/media0
[0:08:06.713064979] [861]  INFO RPI pipeline_base.cpp:1107 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 1296:972:12:P
    SGBRG10_CSI2P,640x480/0 - Score: 3296
    SGBRG10_CSI2P,1296x972/0 - Score: 1000
    SGBRG10_CSI2P,1920x1080/0 - Score: 1349.67
    SGBRG10_CSI2P,2592x1944/0 - Score: 1567
Stream configuration adjusted
[0:08:07.292322462] [856]  INFO Camera camera.cpp:1215 configuring streams: (0) 1296x972-YUV420/sYCC (1) 1296x972-SGBRG10_CSI2P/RAW
[0:08:07.293034127] [861]  INFO RPI vc4.cpp:615 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10/RAW - Selected unicam format: 1296x972-pGAA/RAW
#10 (0.00 fps) exp 29989.00 ag 2.81 dg 1.00
#11 (30.01 fps) exp 29989.00 ag 2.75 dg 1.02
[...]

I think still webcamd is the problem...

systemctl status webcamd
Γ— webcamd.service - the OctoPi webcam daemon with the user specified config
     Loaded: loaded (/etc/systemd/system/webcamd.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2025-11-25 08:57:18 CET; 10min ago
   Duration: 2ms
    Process: 623 ExecStart=/root/bin/webcamd (code=exited, status=203/EXEC)
   Main PID: 623 (code=exited, status=203/EXEC)
        CPU: 2ms

Nov 25 08:57:18 rpi03 systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 5.
Nov 25 08:57:18 rpi03 systemd[1]: Stopped webcamd.service - the OctoPi webcam daemon with the user specified config.
Nov 25 08:57:18 rpi03 systemd[1]: webcamd.service: Start request repeated too quickly.
Nov 25 08:57:18 rpi03 systemd[1]: webcamd.service: Failed with result 'exit-code'.
Nov 25 08:57:18 rpi03 systemd[1]: Failed to start webcamd.service - the OctoPi webcam daemon with the user specified>