I’m a huge fan of octoprint on raspberry pi. I’m not a huge fan of raspberry pi lately. I’ve heard of le potato and orange pi. Some searching shows that people have done it on both of those.
Does anyone have any experience running it on a small board computer other than raspi?
I run OctoPrint in a docker container on my home server. They have an official docker image available. And they also have a docker-compose.yaml file available.
I’m quite happy with the setup. The server is more stable (for me) than a small board computer. I have the whole setup on a UPS. Management is dead simple. The only caveat is that the server and printer need to be fairly close to each other for the USB connection. In my setup that was already a given, they sit less than a foot apart because of where I wanted them.
I have wanted to try out Klipper , and may well do that in docker as well, but my printer is a proprietary nightmare and Klipper isn’t currently an option.
To answer the direct question - no
I do have some thoughts on moving away from the Pi though - warning, heavy personal bias ahead…
If you’re looking at moving away from the Pi I would just suggest a low power x86 box, like a Nuc or some Intel N100 low-power tiny PC.
There is a caveat though - it looks like the OctoPi project only provides OS builds for the Pi, so if you change systems it looks like you’ll need to install OctoPrint manually, and port over your config somehow.
On ebay you can get second-hand NUCs, 6th gen and up, for practically peanuts. The cheaper quad core celeron nucs (i.e. J3455) are roughly equivalent to the 3rd and 4th gen dual-core i5s (3777u, 3230m etc) performance wise, but have an updated QuickSync encoder and support accelerated 4K video encoding/playback, handy if you want to capture timelapses of your prints or just view them live. They also consume 1/3rd of the power at around 10 watts under the same workload.
ARM support for other vendors can be pretty flaky, sometimes even non existent. While you could pick an Orange Pi, and go with a modern community-supported distro like Armbian, it isn’t a turnkey experience like the Pi. There is much less documentation, and still some very early boards floating around with hardware defects and overheating issues (posing a fire risk in the worst case, the OPi Zero being the most egregious - literally melting the optional enclosure and killing the NIC). Some research before buying will let you know most of what you need to know - check around the forums for any common issues and dealbreakers, as well as the manufacturer’s site to get an idea of available support.
If you want to get an idea of the alternatives you could check out Jeff Geerling’s youtube channel, he covers the Pi and occasionally videos on other alternatives, as well as issues he’s had with them and support. I’ll try and link some below…
https://www.youtube.com/watch?v=KghZIgkKZcs
Check the comments on that one for a quick synopsis, as the video is quite long…
https://www.youtube.com/watch?v=jjzvh-bfV-E
This video pretty much just echoes my current perspective
I will second this recommendation. The main purpose of the SBCs is running Linux with easy access to GPIO pins. If you are using USB just run off of a small x86 machine and avoid the hassle.
The up side to SBC computers is also their low power consumption. Something like a Pi is half the power consumption of an N100 PC, in addition to being half the cost. If you only need 1/1000th the CPU then why pay all this extra money and use all this extra power to gain nothing?
A second hand NUC is quite a bit cheaper than a pi once you factor in power supply, storage and case. They’re also not as power hungry as you suggest. My entire smarthome is powered by an old NUC running Proxmox with HA in a VM and some LXCs (adguard among other things), and it pulls a meager 7W on average, that’s only a few more than a pi and it has a 3ghz quadcore CPU, 16gb ram and 1tb NVME, so it has all the overhead you need to do small projects on the side with it as well.
Unless you need the GPIO, an SBC is pretty much never the best solution anymore.
If you plan on doing a lot with the machine then yeah it does make sense to get something better than a Pi. But for just octoprint any Pi is plenty.
SD cards are a couple dollars, the pi 3 and below will run on any usb power brick. The 4 and 5 will run on any not low power brick you have lying around, but even if you feel the need to buy one the official one is like $15, and you can reuse it for other things too. And you can always 3d print a case if that’s really a problem, but I just let my pis dangle there, or I put them back in their box.
Also second hand pis exist too, if you’re really strapped for cash you can get a full pi, case, sd card, and power supply for about the price of just the pi new. During the pandemic when Pis weren’t in stock I got a full setup for a pi 3 + this bluetooth keyboard trackpad thingy for $30.
But for 15$ more, you get an immensely more useful tool for when you (probably) inevitably want to do more/other things. SD cards for a few bucks burn out really quickly, so you’d really want a good one (significantly more expensive) or an SSD, bringing the total cost of a pi above a used NUC, with worse specs all around.
I really can’t see the argument, neither financial, performance/watt or performance/$ for an SBC if you don’t need GPIOs.
(probably) inevitably
That’s the key here, not everyone wants to do that. OP specifically asked for something to run octoprint, not an entire homelab. Not everyone is interested in that.
I have an orange pi zero 2 and run Obico’s octoprint image on it. Works great.
I’m in camp Klipper and built my printer during the PI shortage. I did find a non-scalped PI400 (the one with a built in keyboard), but my fallback was going to be an x86 based SBC. They’re cheap and readily available. I suspect one would work well with octoprint.
I agree. If the printer can run klipper firmware, I find mainsail/klippper to be far superior to octoprint. I started with octoprint and stock manufacturer FW on my printer, but it’s just such a significantly better product and UX with klipper FW and managing with mainsail.
Intel N100 mini PC*.
*= those are on the same process node as the problematic i7/i9 13th and 14th gen CPU. With Intel this quiet on the true cause/issue they might as well also be considered faulty.
Weren’t they pretty straight up saying it was a microcode issue with a patch coming out? Affecting 65 watt+ CPUs which also wasn’t in the limelight since only the high end i7/i9 CPUs were seeing significant failures being reported. I’d imagine a mini PC would be pretty safe.
At this point, it is not a technical issue but also a trust issue:
They started with people overclocking their CPUs and that is the cause.
They moved on to the mainboard vendors are the bad guy.
Now they are at we screwed up but the microcode update will fix everything and yes we had oxidation issues we told nobody about and no we won’t recall those units we know are faulty (oxidation issue).
only the high end i7/i9 CPUs were seeing significant failures being reported
I think Intel now says it is everything with 65W+ TDP.
They confirmed that there was a range of CPUs affected by a fabrication issue outside of the press release that went to media. So while we know about the i7/i9, manufacturing process is often shared between different CPU models and with Intel being opaque about what they found it’s hard to understand what actually happened and what’s truly unaffected.
Ref: GamersNexus
https://youtu.be/OVdmK1UGzGs
Ive been running octoprint on an android phone reliably for a bit now.
The camera didn’t work perfectly for a reason I forget now though, so I use another ipcamera to watch the print
Orange Pi has disappointed me. I bought an (IIRC) Orange Pi 5B.
There is no sane “boot from SD” button to hold so if there is an SD card in it it tries to boot from that unconditionally. Even if the SD card is not bootable. This might be a dealbreaker for you because it would be nice to have an Octoprint board with expandable storage that didn’t act stupid. That’s what I wanted.
One of the USB ports is also just fucked. Putting anything in it knocks out the entire USB bus on that side of the board until a restart.
I won’t be buying another board from them.