HyperCube Custom LR Build
BTT Manta M8P / CB1 klippy.log
Describe your issue:
Printing with 16 Microsteps on X / Y / E (interpolation: True) and Z = 32 microsteps (Interpolation: False) works fine without any errors (including webcam stream).
Once I set X / Y to 64, E to 32 (all with Interpolate: False), the printer starts to hang sporadically with the famous MCU shutdown - timers too close issue.
Mostly it prints without issue, but sometimes it stops in the middle of a long print like in the log attached (before that i already printed a 9h print without issues with the same settings)
Could that really be a load issue? Cannot see much in the klippy.log…
What does the host buffer increase mean when it stops?
So it means basically it is a load issue, as I can rule out all the other issues mentioned in that quote since it works fine with 16 microsteps all the time.
Means a CB1 (which is faster than a Raspi 3B) is too weak for klipper running higher microsteps than 16?
/Edit:
I just reduced Z and E back to 16 (X/Y at 64) and reduced camera framerate to 8fps, but only after some minutes this time the MCU Shutdown happened again…
Looks better indeed, no issue so far. Bur my webcam is only set to 8 fps at 640x480 - can that really be too much? At least the load readings in htop don’t show anything unusual when it is plugged in…
I’ve upped the microsteps for X,Y,Z,E all to 256, disabled interpolation for all and set camera FPS to 25 (before it was 8).
AND: I disabled the Obico service.
Result: Until now no issue, same low CPU usage in htop, smoother camera stream in fluidd (with Obico running the camera FPS dropped even when only set to 10fps below that or even stuttered completely!)
This exact issue happened to me, with the exact same issues you have, with the EXACT SAME HARDWARE. The solution (for me) is to update your m8p’s mainboard chip (MCU). It is separate from your cb1’s processor, and BTT ships it with WAY out of date fw. This is extremely annoying to me, but there is nothing we can do about it. This tutorial walks you through every step, and it solved my issues immediately: Tutorial: BTT Manta M8P + CB1 Klipper guide – 3DP and Me Scroll down to where it says “Flashing the MCU Firmware”, and continue from there. I run insanely high microsteps, AND I connect klipper to the interwebs so I can look at it from anywhere, and I don’t have issues. Try and do this, and reenable everything that you had and loved before. Hopefully it works!
ps: Before you do this, check for updates in the “Machine” section. Update them if needed, and then proceed with the tutorial. EDIT: I don’t have a webcam, but am planning to install one and will let you know if I have any issues.
Think I did that already initially when I got the board, but I will give it a try again, Thanks!
Edit:
After FW reflash the first 2h print with all @ 256 microsteps was fine incl. Obico Service running + Camera set at 25fps and htop running in parallel.
Somehow 256 microsteps for all seem to run alot smoother then having different settings for X / Y / Z / E as I did before… also print quality seems alot better (currently printing big single wall parts for an RC plane which show every tiniest bit of layer shifting or other inconsistencies).
Ran another print now, everything was running fine and all I did was opening the Obico app on my Smartphone - exactly at the same time the MCU shutdown happened on my printer.
Edit:
While printing @ 256 microsteps and camera streaming in fluidd, I now uninstalled Obico through kiauh, installed OctoEverywhere, configured it and am streaming now also through OctoEverywhere - no issues so far.
Oh heck no. I meant instead of using Obico, I will use “Octo Everywhere”. I just set it up, and it is working fine. Octo Everywhere is so painless and easy to setup, compared to Tailscale. . . I just need to uninstall Tailscale (what I was using previously) and I should be good.
I’m the developer behind Obico. I’m wondering if its a bug in our code that costs a lot of CPU load. I’ll be really concerned if it’s the case.
Can one of you run Obico service again (while you are not printing), and take a screenshot of the “htop” command to see how much CPU moonraker-obico is taking? Thanks a lot!
The H616 CPU on the CB1 is more powerful than a RPi 3B one. 10% - 20% load from the service should leave more than enough room for Klipper.
I have a hard time to believe that this is the root cause for a Klipper shutdown, TBH.
As i said - only opening the app on my mobile was sufficient to get a mcu shutdown.
This was a single event so far, but very obvious.
Afterwards i tried this again but besides the spikes in CPU load no occurrence anymore.
So it seems more like a sporadic issue not immediately leading to a shutdown or related to CPU load (but bad enough If it happens after 8h printing… ). More like a blocking service due to bad Internet connection or similar.
True. 10%-20% shouldn’t usually cause too much of a problem. It’s just the python part of moonraker-obico shouldn’t usually take more than 1% of the CPU. On a Raspberry Pi, ffmpeg will kick in to do the h.264 encoding and it may take more than 20% or even 30%, but ffmpeg shouldn’t even start on BTT CB1. What I’m a little worried about is there is a bug that somehow makes moonraker-obico try to start ffmpeg on a BTT CB1.
@Nem0815 can you still send moonraker-obico.log file to support@obico.io so that I can take a look to see if we are trying to start ffmpeg? None of the Obico team members have a BTT CB1 so we can’t reproduce it here.