-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work with Pi Camera 3 #802
Comments
Please see the discussion on the forums for supporting this camera: https://community.octoprint.org/t/pi-camera-v3-not-working/49022 The Pi Cam 3 requires the use of libcamera, which mjpg streamer is not compatible with. There are users that have managed to get it working with an alternative streaming software on the forums. |
I've written a script based on Dark360's comments on the octoprint forum. It will install everything and reconfigure boot and systemd to use camera-streamer.
|
Nicework @ltlowe! Unfortunately it didn't work for me. Running the
I'll probably have to try it with the official distro. :-/ Some minor comments on the script:
|
It's too bad it didn't work for you. A few people on octoprint forums seem to be having success, but I admit I haven't tested it thoroughly. I simply pulled together two sets of manual instructions that seemed to work and decided to share to help others. I haven't even set up my github repo properly yet. There was a problem where the service had a race condition with the driver and would sometimes be skipped. If you're seeing the error at start up, check to see if your service file is using
Good idea.
Pulling from multiple sources and not clean yet :-)
I got that from one of the original threads, gonna have to use it at my work too :-)
I'd try I'm unfortunately not looking at this for a while as I've had a major failure with my hotend that I need to deal with, but the discussion is continuing at https://community.octoprint.org/t/pi-camera-v3-not-working/49022 |
The script has been updated and moved to https://raw.githubusercontent.com/ltlowe/misc/main/picam3/cam3install.sh |
@ltlowe, man, you are awesome! |
I am no longer supporting the picam3 script for installing libcamera and camera-streamer. |
Thank you @ivaniotchenko |
How's compatibility with the new camera stack going? I saw some changes in this branch of the [OctoPi-UpToDate] (https://github.com/OctoPrint/OctoPi-UpToDate/tree/camera-streamer), but I don't know how upstreamable those changes are to this repository. In fact, I thought that the OctoPi-UpToDate repo was made to only provide updated parts, even beta/RC, of the latest OctoPi image (regarding kernel, bootloader and OctoPrint), not modifying or implementing features. |
I had Octopi 0.18.0 running fine with a Pi Camera 2 on a Pi 4B. Camera works (though it is hella laggy due to MJPEG).
I upgraded to a Camera 3 and unfortunately it doesn't work. The
The webcam server is currently not running
page is a very nice touch so here are the logs:Looks like there is a big in
webcamd
(not surprising given that it is Bash...).I think it's failing because it does this:
And can't handle the fact that there is no
PRODUCT
.Actually after further investigation I think maybe it needs a kernel upgrade to get V4L drivers for the new camera? I had similar issues with software support for Raspberry Pi devices for MotionEyeOS. I think maybe it's just a bad idea to have an entire distro dedicate to one application. Might try just running Octoprint on the official image.
The text was updated successfully, but these errors were encountered: