julianschill / klipper-led_effect

LED effects plugin for klipper
GNU General Public License v3.0
717 stars 120 forks source link

MCU 'mcu' shutdown: Timer too close #228

Open BenJule opened 6 days ago

BenJule commented 6 days ago

I get occasionally an error with klipper_led_effect:

MCU 'mcu' shutdown: Timer too close
This often indicates the host computer is overloaded. Check
for other processes consuming excessive CPU time, high swap
usage, disk errors, overheating, unstable voltage, or
similar system problems on the host computer.
Once the underlying issue is corrected, use the
"FIRMWARE_RESTART" command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown

Version klipper: v0.12.0-349-ga3403449 led_effect: v0.0.13-0-g56d1d482

klippy (25).log

julianschill commented 6 days ago

Try deactivating all effects and check if the problem goes away. Also check the CPU load with top during a print with and without effects.

BenJule commented 5 days ago

Done. i have deaktivate all led effects. I get no Timer too close error.

matthoskins1980 commented 1 day ago

I'm also experiencing this issue. Deactivating led effects makes the problem go away. I am currently on Klipper v0.12.0-349-ga34034494 and led_effect v0.0.13-0-g56d1d482

NOTE this also occurred (less frequently) with older versions of Klipper and led_effect. I recently did an update to latest on all modules and it now happens fairly (not always) consistently during a print. It almost always happens during homing but since LED animations are happening all the time, it could just be that it's happening at the beginning of the print and not homing related.

BenJule commented 19 hours ago

The error usually occurs during homing or QGL. However, I have also had cases where it appeared during long prints lasting over 8 hours.