#28420·Marlin

[BUG] MPC causes Thermal Runaway when fan is running

Author: gudvinrCreated Apr 29, 2026Updated Sep 29, 2026
LabelsBug: Potential ?

Did you test the latest bugfix-2.1.x code?

No, but I will test it now!

Bug Description

With MPC enabled, after tuning printer halts with thermal runaway after fan kicks in.

As you can see on the plot, temperature fluctuates A LOT and it drifts to temp lower than expected: Image

I'm getting an error every time I start printing after a while. This "a while" happens right after fan starts as I noticed after couple failed prints.

Bug Timeline

No response

Expected behavior

  1. Temperature not fluctuated
  2. No thermal runaway

Actual behavior

  1. Heavy fluctuation
  2. Thermal runaway

Steps to Reproduce

  1. Start print
  2. Wait for fan to kick in

Version of Marlin Firmware

2.1.2.7 (Jan 25 2026 19:11:08)

Printer model

Artillery Genius Pro

Electronics

Stock

LCD/Controller

TFT via UART

Other add-ons

No response

Bed Leveling

UBL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

Repetier Host

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

I didn't print with PETG for a while but I never had a thermal runaway during the print before. Until couple of months ago I had 2.1.2.5.

Values that I got from M306 (white PETG):

M306 P64 H0.0036 C20.0821 R0.2473 A0.0730 F0.1150

Test results

I've tested different values of F from F0.1 to F12.8.

Plot for F0.1 is basically the same so, not here. And for F1.6 just forgot to screenshot.

F0.20

Image

F0.40

Image

F0.80

Image

F3.20

Image

F6.40

Image

F12.8

Image

Configuration

Configuration.zip