Rpi cam v 1.3 on octopi 1.0.0./octoprint 1.9.3

Camera model

rPi v 1.3

What is the problem?

I can't get the cam to work on the aforementioned configuration.
When launching rPi OS Bookworm it works immediately.
When launching rPi OS Bullseye (new cam stack) it's not working either.

I'm guessing it's just a configuration problem, but I don't no where to start.
Perhaps there is someone a detailed troubleshooting guide specifically related to octopi.
I used already

What did you already try to solve it?

Have you tried running in safe mode?

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 1.9.3, OctoPi 1.0, Ender3, TH3D, Firefox, Linux Mint v 20.3

vcgencmd output:
supported=1 detected=0, libcamera interfaces=1

libcamera-hello output:
libcamera-hello >libcamera-hello_out.txt
Preview window unavailable
[0:11:52.267096571] [2141] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:11:52.327165814] [2144] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP device /dev/media1
[0:11:52.327381958] [2144] INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:11:52.328008933] [2141] INFO Camera camera.cpp:840 Pipeline handler in use by another process
ERROR: *** failed to acquire camera /base/soc/i2c0mux/i2c@1/ov5647@36 ***

octoprint-systeminfo-20231107154447.zip (20.2 KB)

did you try the other image? (without the new stack)

Hi PrintedWeezl,
Yes, I started with Octopi Build 2023.05.23.082504 and that wasn't working already.
Then I moved on to the newer build (Oct-2023) with the same result.
It seems only Pi OS 'Bookworm' detects the cam right away.
Please let me know if I should post more printouts or settings.
TIA

Which Pi is it?
I will try to reproduce it tomorrow

It is pi 2 and 3B v 1.2 - both.

Just tested the latest new camera stack image on a pi 2 and 3
worked fine on both of them

I also got pretty much the same libcamera-hello output.

Try to stop the camera streamer with sudo systemctl stop camera-streamer and run libcamera-hello again.

This time it should be able to do something because the cam isn't in use by the streamer.

pi@octopi:~ $ libcamera-hello 
Preview window unavailable
[0:09:05.018181987] [996]  INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:09:05.115328455] [997]  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:09:05.115540433] [997]  INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[0:09:05.118038129] [996]  INFO Camera camera.cpp:1033 configuring streams: (0) 1296x972-YUV420
[0:09:05.119295467] [997]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
#0 (0.00 fps) exp 33222.00 ag 8.00 dg 1.00
#1 (30.01 fps) exp 33222.00 ag 8.00 dg 1.00
#2 (30.02 fps) exp 33222.00 ag 8.00 dg 1.00
#3 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#4 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#5 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#6 (30.01 fps) exp 33222.00 ag 7.81 dg 1.02
#7 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#8 (30.01 fps) exp 33222.00 ag 7.81 dg 1.02
#9 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#10 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#11 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#12 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#13 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#14 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#15 (30.02 fps) exp 33222.00 ag 7.81 dg 1.02
#16 (30.02 fps) exp 33222.00 ag 7.88 dg 1.02
#17 (30.02 fps) exp 33222.00 ag 7.88 dg 1.02
#18 (30.02 fps) exp 33222.00 ag 7.88 dg 1.02
#19 (30.02 fps) exp 33222.00 ag 7.88 dg 1.02
#20 (30.02 fps) exp 33222.00 ag 7.88 dg 1.02
#21 (30.02 fps) exp 33222.00 ag 7.88 dg 1.02
#22 (30.02 fps) exp 33222.00 ag 7.88 dg 1.02
#23 (30.02 fps) exp 33222.00 ag 7.88 dg 1.02
#24 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#25 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#26 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#27 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#28 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#29 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#30 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#31 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#32 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#33 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#34 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#35 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#36 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#37 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#38 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#39 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#40 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#41 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#42 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#43 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#44 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#45 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#46 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#47 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#48 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#49 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#50 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#51 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#52 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#53 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#54 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#55 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#56 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#57 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#58 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#59 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#60 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#61 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#62 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#63 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#64 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#65 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#66 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#67 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#68 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#69 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#70 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#71 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#72 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#73 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#74 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#75 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#76 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#77 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#78 (30.02 fps) exp 33222.00 ag 8.00 dg 1.00
#79 (30.02 fps) exp 33222.00 ag 8.00 dg 1.00
#80 (30.02 fps) exp 33222.00 ag 8.00 dg 1.00
#81 (30.02 fps) exp 33222.00 ag 8.00 dg 1.00
#82 (30.02 fps) exp 33222.00 ag 8.00 dg 1.00
#83 (30.02 fps) exp 33222.00 ag 8.00 dg 1.00
#84 (30.02 fps) exp 33222.00 ag 8.00 dg 1.00
#85 (30.01 fps) exp 33222.00 ag 8.00 dg 1.00
#86 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#87 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#88 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#89 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#90 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#91 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#92 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#93 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#94 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#95 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#96 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#97 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#98 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#99 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#100 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#101 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#102 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#103 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#104 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#105 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#106 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#107 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#108 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#109 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#110 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#111 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#112 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#113 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#114 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#115 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#116 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#117 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#118 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#119 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#120 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#121 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#122 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#123 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#124 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#125 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#126 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#127 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#128 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#129 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#130 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#131 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#132 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#133 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#134 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#135 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#136 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#137 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#138 (30.02 fps) exp 33222.00 ag 7.94 dg 1.01
#139 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01
#140 (30.01 fps) exp 33222.00 ag 7.94 dg 1.01

PrintedWeezl,
I followed your instruction (systemctl stop camera-streamer) and run "libcamera-hello" and I got the same output as you got, but no preview window.
What am I missing here?
I had expected to get an image displayed in the preview window.
confused