-
Notifications
You must be signed in to change notification settings - Fork 369
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
Debian 12 Bookworm / Raspberry Pi 5 support #823
Comments
will test the nightly this weekend. I'll let you know if you haven't already figured it out |
Any updates? Anyone? |
Didn't work. Been having heck of time with bookworm and pi 5. Still don't have working arducam with camera-streamer too ( different issue) but would still want to use that on the pi 5. |
I am running 2023-12-05_2023-10-10-octopi-bookworm-arm64-lite-1.1.0.zip on my Pi 5. Seems to be fairly stable. Only issue i am having is i cant get the camera resolution to change. It seems to be stuck on 640x480. |
Are you using the new streaming service too? |
Same issue here. Using the default streaming service. |
I am trying to get a OV5647 wide angle camera to work on a Pi5 with the Octopi Nightly 20.12. Does not even list the camera. 64bit bookworm lite did show the camera, but I could not figure out how to stream it - neither ustreamer nor camera-streamer seemed to work (at least not in a way I could figure out). Since I used octo-deploy there, it felt like the whole thing was funny, so I switched over to the nightly. USB camera works like a charm, except I would prefer the OV5647 with the wider FOV. Not sure what I am doing differently :/ |
Fixed it. Octopi.txt isn't active at all, it's not linked properly. Login to the pi on ssh, then
|
This does fix the camera resolution issue for me. Im able to run 1280x720 at 20fps. Testing other resolutions now. |
Ok got to add that, there is a similar issue in FullPageOS with |
Joining the thread. I had to commandeer my Pi4 for another project so bought a Pi5 8GB for OctoPi (figured dual cameras could be nice). |
It seems to be working well for me so far and restored from my backup perfectly. One thing I am noticing is that the install desktop script does not appear to have been updated in seven years. I'm quite certain I read when Pi OS bookworm was announced that there's been some fairly heavy work done in the desktop environment. I do wonder if this install-desktop will need to be revisited to bring it up to spec with whatever PiOS is providing out of the box these day. |
New ribbon cables for cameras arrives last night so testing today. @guysoft Is there anything in particular you're needing tested? On inspection of that install-desktop script, it looks like it's fairly universal for getting whatever Pi has released so you can likely ignore me on the notion that it might need updating :) |
hmmm, I'm having no luck getting the camera to show up.
I have one of these night vision 160° cameras with the OV thingy at the start of its sensor name. I see @adam5zki is reporting a similar experience :/ Will quickly try the second port, but not looking good so far... |
Confirmed no different on the second camera port. Not that I really expected it to make a difference :/ |
Okay, I used
|
Hmmm, no, that ffmpeg seems to match what's already in the nightly. |
Hmmm, running Here's the output of
Though with this being MJPG stuff, I'm a little confused as to where the new camera stack stuff is hiding or if it's even installed :/ |
Okay, I've finally found some brief mention in another ticket that the nightlies do not include camera-streamer, though where they saw that written I've no idea. So perhaps I'm just wasting my time. Perhaps this was the wrong thread, it'd be nice to be told by someone if I am in the wrong place or if I'm just shouting into the wind :( |
Looks like the answer is yes, tried the desktop install on the last nightly and after a reboot, system hangs with a rapid blinking cursor in upper left of the screen. left it for hours, and no change, so something's definitely broken. On the bright side, before the desktop install, the nightly 'just worked' with the USB webcam. |
In case others want to install the desktop, here's what worked for me: Install the latest nightly of octopi And then you have a desktop running on pi 5/bookworm. Note that RealVNC isn't supported, and TigerVNC has issues. |
I didn't plan to be on the cutting edge, but I bought a Pi5 and it needs to be running octoprint for now. I tired 2024-01-16_2023-12-11-octopi-bookworm-arm64-lite-1.1.0.zip but this complains about needing os_check==0, and not having the right dtb. I satisfied these two, and I get a blank screen. What am I doing wrong? |
It might be that Rpi changed the device tree because they sourced different components for different Rpi 5 builds. |
Just an update - Had one hard crash in the middle of a print, rebooted and it's been stable. But while octoprint is still working, the desktop is non-responsive. Definitely bleeding edge here :-) |
@3driffs People are reporting the nightly is working for them (though I didn't test it, this weekend was FullPagOS, will try another weekend to test OctoPi and prepare an RC) |
Octoprint works- it’s the desktop that froze. Have you updated the desktop install script that I missed? |
@foosel AFAIK you are enforcing 32bit kernel on OctoPi-UpToDate. Where is the new camera stack image built? I could move it in to OctoPi's nightlies. |
I'm not sure you really want to move that into the nightlies. First of all I first need to swap the apt key (and that looks like it's harder than I thought at first, which is why I didn't manage to do it before my surgery last week from which I'm still recovering), there's still a stability issue with the camera-streamer server itself for which I'm waiting for feedback from upstream, and all in all I'd prefer to not have that forked at this point because that will make updates & support for me even trickier. In case you want to look at it however: https://github.com/OctoPrint/OctoPi-UpToDate/tree/camera-streamer |
Thanks for the info and hope you have a speedy recovery! |
There is also the slightly added complication that the RPi 5 does not have the hardware encoder that |
|
Nighties just seem broken for me installed several different ones all boot connect to wifi but octoprint server never starts Pi 5 been out for a year how is it so badly supported is the pi4 and 3 still even in production I see they are out of stock lots of places. |
@blair287 Are you using the nightly from rpi imager? Where from? |
Related, wpa-supplicant option does not work anymore |
@guysoft - I just installed the nightly on my Pi 5 (64 bit lite), Right now would running something like To set that up, I tried following (mostly) this guide:
But when I visit http://PI_IP_HERE:1984/ and try one of the streams, I get an error: So should I take this up with the go2rtc project's issue queue, or are you working on a different method of supporting the Pi camera on the Bookworm/64-bit/Pi 5? I would be happy to help a bit, would be nice to get it working out of the box! |
Sorry for the rubber-ducking, but I found out the image has
And now it gets further... but I wind up seeing 'Unable to set controls: Device or resource busy', so I think something else is broken here. Maybe something in the image is still trying to grab the camera so I tried killing It looks like there are a couple alternatives like picamera2-WebUI-Lite or raspi-cam-srv, but I might for the short term just set up a camera stream from a separate Pi since I think I can get it working with a base Pi OS install. |
Ill try build with
installed and we can test that nightly |
@geerlingguy ...first and foremost love your videos. curious, did you also disable the ffmpeg_hls service? I have these notes from when I tested out restreamer in the past, which lists the services I disable. feel free to jump into OctoPrint discord and get additional help in the support-webcam channel. most people just install pi os lite and then use the octoprint_deploy scripts to install everything. |
…ustomPiOS#220 Fix webcam to work with /boot/firmware/octopi.txt path #823 guysoft/CustomPiOS#220
Working on a PR that should fix most of the stuff. You can take a look here, nightly is building this branch: |
Noob trying to get Debian running on RPI5. Once you get to a stable version... If I am installing HA will it see "Debian" or "Octopi" (?) |
@KruseLuds What do you mean installing HA? |
HA = Home Assistant |
Started working on a wpa-supplicant/networkmanager solution, moving slow but I have a plan. After that is done I think I am ready to release a RC using the beta branch of CustomPiOS v2 |
Its working and good enough for now, build uses CustomPiOS v2 now too. |
Hey,
I haven't had the time to test the nighties with bookworm - has anyone happen to test it?
Also I have no Raspberry Pi 5 to test since they did not arrive to my county. If anyone could update on that it would help too.
The text was updated successfully, but these errors were encountered: