supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)
4.03k stars 516 forks source link

M107 called unnecessarily and far too often: Klipper halts (Timer too close) #4277

Open madejackson opened 1 month ago

madejackson commented 1 month ago

Bug description Superslicer inserts high amounts of M107 / fan stop calls (about 250'000x in my case), even when disabling Fan control completely (0x M106 calls in gcode). It's so much, at one point in my specific gcode, it overloads my MCU and halts the print. The gcode File size is reduced ~10% by just deleting all the useless M107 lines. Both, Arachne & Classic are affected.

More Info

Expected behavior Only generate M107 gcode after M106 was issued previously.

!!>> Project File <<!! D0_bearing_based_spirographic_WDT_tool_2024_14.zip

To Reproduce

Screenshots grafik

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

CuredPrusa commented 1 month ago

I think this could be related to #4225.

madejackson commented 1 month ago

It may be related but it's not completely the same. My issue startet appearing from 2.5.59.6, 2.4-2.5.59.5 is not affected. Also The issue appears even when disabling all fan speed control when no M106-Commands are present in the gcode.

supermerill commented 1 month ago

I'll see if 4225 solve the issue. also #4168