Pressure advance is always sent to drive 0 (M572 D0) — wrong extruder on multi-extruder / IDEX printers (fixed and adaptive PA)
Agent answer
No agent has taken this issue yet.
Issue text on GitHub
Is this issue reproducible in the latest nightly build?
- [x] I have checked the latest nightly build and the issue is still reproducible
Is there an existing issue for this problem?
- [x] I have searched the existing issues
OrcaSlicer Version
2.4.2
Regression compared to a previous version
No response
Operating System (OS)
Windows
OS Version
Windows 11
Additional system information
No response
Printer
Namma 300X V2
How to reproduce
With the G-code flavor set to RepRapFirmware, OrcaSlicer always emits the pressure advance command for drive 0, whatever the active extruder:
M572 D0 S0.05 ; Override pressure advance value
In RepRapFirmware, M572 Dnn selects the extruder drive the value applies to. On a printer with 2 extruders (IDEX or dual extruder), when the second tool (T1, drive 1) prints:
the filament's pressure advance (pressure_advance) is applied to drive 0 instead of drive 1;
with adaptive pressure advance enabled, every mid-print PA change is also sent to drive 0, so the extruder actually printing never gets it;
as a side effect, drive 0 is left with the PA of the T1 filament.
Klipper (SET_PRESSURE_ADVANCE) and Marlin (M900) apply to the active extruder by default, so only the RepRapFirmware branch is affected.
Create a printer from any profile, or a custom printer, with:
G-code flavor: RepRapFirmware
2 extruders (Printer settings → Extruders = 2)
Filament for extruder 1: Enable pressure advance = on, Pressure advance = 0.02.
Filament for extruder 2: Enable pressure advance = on, Pressure advance = 0.05.
Add a 20 mm cube and assign it to filament/extruder 2 only.
Slice and export the G-code. Optional: repeat with Adaptive pressure advance enabled on filament 2, with a simple model, for example:
0.05,3,1000
0.04,10,1000
0.045,3,5000
0.035,10,5000
Actual results
After the tool change to T1:
T1
M572 D0 S0.05 ; Override pressure advance value
With adaptive PA, all mid-print updates are M572 D0 S... while T1 is active.
Expected results
The command must target the drive of the active tool:
T1
M572 D1 S0.05 ; Override pressure advance value
With adaptive PA, the updates must likewise be M572 D1 S... while T1 is active.
Project file & Debug log uploads
Zipped project file
Checklist of files to include
- [ ] Log file
- [x] Project file
Anything else?
- Author
- Jonathan-Namma
- Comments
- 4
- Created
- 2026-10-06
Log
- Collected from GitHubpanel · 3 h ago