Camera model
Raspberry Pi Camera V1.3
What is the problem?
No video Black screen
first "webstream loading...."
then
Webcam stream not loaded
It might not be configured correctly or require authentication. You can change the URL of the stream under "Settings" > "Classic Webcam" > "Stream URL". If you don't have a webcam you can also just disable webcam support there.
Currently configured stream URL: /webcam/?action=stream
Red led from camera no glowing... short blink after reboot
In the old stack i set camera_auto_detect=0 and it works. Not in the new stack.
What did you already try to solve it?
fresh install now
udate & upgrade
pi@octoprint:~ $ libcamera-hello
Preview window unavailable
[0:00:49.841020136] [1026] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:00:49.884196959] [1027] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media2 and ISP device /dev/media0
[0:00:49.884367427] [1027] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:00:49.884971959] [1026] INFO Camera camera.cpp:840 Pipeline handler in use by another process
ERROR: *** failed to acquire camera /base/soc/i2c0mux/i2c@1/ov5647@36 ***
pi@octoprint:~ $ libcamera-hello --list-cameras
Available cameras
0 : ov5647 [2592x1944] (/base/soc/i2c0mux/i2c@1/ov5647@36)
Modes: 'SGBRG10_CSI2P' : 640x480 [30.00 fps - (0, 0)/0x0 crop]
1296x972 [30.00 fps - (0, 0)/0x0 crop]
1920x1080 [30.00 fps - (0, 0)/0x0 crop]
2592x1944 [30.00 fps - (0, 0)/0x0 crop]
pi@octoprint:~ $ vcgencmd get_camera
supported=1 detected=0, libcamera interfaces=1
192.168.178.57/webcam/?action=stream
"Server Error" on black screen
pi@octoprint:~ $ sudo systemctl status camera-streamer-libcamera.service
โ camera-streamer-libcamera.service - camera-streamer libcamera
Loaded: loaded (/etc/systemd/system/camera-streamer-libcamera.service; disabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/camera-streamer-libcamera.service.d
โโoverride.conf
Active: active (running) since Mon 2024-02-12 16:16:46 CET; 30min ago
Process: 521 ExecCondition=/bin/sh -c /usr/bin/libcamera-hello --list-cameras | grep -o '/base/soc/[^)]*' (code=exited, status=0/SUCCESS)
Process: 549 ExecCondition=/bin/sh -c ! ss -ltn src :$PORT | grep -q LISTEN (code=exited, status=0/SUCCESS)
Main PID: 554 (camera-streamer)
Tasks: 15 (limit: 1595)
CPU: 1.877s
CGroup: /system.slice/camera-streamer-libcamera.service
โโ554 /usr/bin/camera-streamer --http-port=8080 --camera-type=libcamera --camera-path=/base/soc/i2c0mux/i2c@1/ov5647@36 --camera-format=YUYV --camera-width=1920 --camera-height=1080 --camera-video.height=720 --camera-snapsh>
Feb 12 16:17:04 octoprint sh[554]: util/http/http.c: HTTP8080/3: Client disconnected 127.0.0.1.
Feb 12 16:17:54 octoprint sh[554]: util/http/http.c: HTTP8080/4: Client connected 127.0.0.1 (fd=7).
Feb 12 16:17:54 octoprint sh[554]: util/http/http.c: HTTP8080/4: Request 'GET' '/' 'action=stream'
Feb 12 16:17:56 octoprint sh[554]: util/http/http.c: HTTP8080/4: Client disconnected 127.0.0.1.
Feb 12 16:43:39 octoprint sh[554]: util/http/http.c: HTTP8080/5: Client connected 127.0.0.1 (fd=8).
Feb 12 16:43:39 octoprint sh[554]: util/http/http.c: HTTP8080/5: Request 'GET' '/' 'action=stream'
Feb 12 16:43:39 octoprint sh[554]: device/links.c: CAMERA:capture: Stale detected. Restarting streaming...
Feb 12 16:43:39 octoprint sh[554]: device/buffer_list.c: CAMERA:capture: Streaming stopped... Was 2 of 2 enqueud
Feb 12 16:43:39 octoprint sh[554]: device/buffer_list.c: CAMERA:capture: Streaming started... Was 2 of 2 enqueud
Feb 12 16:43:41 octoprint sh[554]: util/http/http.c: HTTP8080/5: Client disconnected 127.0.0.1.
I have testet 3 cameras and 4 Cables
Have you tried running in safe mode?
yes
Did running in safe mode solve the problem?
yes
Systeminfo Bundle
octoprint-systeminfo-20240212151454.zip (19.3 KB)
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
Raspberry Pi 3 B+