Fill out above information andin all cases attach yourklippy.logfile (use zip to compress it, if too big). Pasting yourprinter.cfgis not needed Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
Been struggling with Klipper for a week now, and it seems that I can’t get it working with stealthChop enabled without extreme current on Y-axis.
The image is the same file, sliced with the same profile on the same printer.
(ignore stringing and stuff, it’s random old PLA, probably quite wet).
Default settings: 0.650 A, stealthChop on. massive Y-axis only layer shifts.
Increase current to 0.800 A (same as Marlin). massive layer shifts (slightly better)
Increase current to 0.900 A, still layer shifts
Wondering if it’s my BTT Pad 7, setup new Klipper on a P4. Still happened.
Wonder if it’s my Y-axis TMC2209 driver, swapped for a spare one. Still happened.
Looked up specs on BTT 2209, peak current limit is 2.9 A. Nothing potentially interesting in the specs.
Looked up the TMC config in Marlin, confirmed that stealthChop is on my default.
Tried 1000 ma w/stealthchop On, still happened (but a little better again).
Tried turning off stealthChop on Y-axis stepper, got marlin-equivalent print! So it must be stealthChop related!
I compared my settings to the default sidewinder configs and the skr1.4 configs, nothing seemed out of place.
Things I’m worried/wondering about:
why would stealthchop only cause this problem on Y-axis?
I started a print with Y-axis TMC at 1.2 A and was printing fine, but I bailed after 25%. There is no good reason to run current that high, no logic behind it.
So I’m lost. Please help me figure this out so I can move to klipper!
Thanks in advance for any help you can provide.
…
Do you use the same acceleration, micro steps, speeds and stuff as with Marlin?
Y axis is the heavy bed but should not be such a problem.
How warm/hot is the Y motor when under load?
First thing I was reduce acceleration to match what I was doing with marlin. Its not the bed, marlin can it and I have faith that klipper can to at 800ma
If the hybrid thresholds in Marlin are still 100 for X and Y and you are printing slower or equally then it should be in StealthChop as Klipper is.
However the Marlin config seems to have a default acceleration of 800 whereas your Klipper config is at 1000. This can make a difference already and Marlin has interpolation disabled in your snippet above.
Otherwise TMC drivers are not only defined by their operation mode and current.
There are many more parameters set behind the scene and I do not know where or not the defaults are the same for Marlin and Klipper.
Best would be to have a TMC dump from Marlin and Klipper.
Personally I find 800 mA quite low for StealthChop and the bed-axis even if it seems to work with Marlin. I even have 900 mA for my KP3S that is much smaller. But it has an acceleration of 3500…
Extruder in StealthChop however is not a good choice but that is up to you.
Thanks for the reply.
From what I’m seeing, I’ll try these modifications out:
stealthchop_threshold: 100
max_accel: 800
and for kick: microsteps: 256
I’m leaving current as 0.800, again because this is what should work and I don’t have a good reason to believe higher current is necessary. I’m assuming klipper is at least as good as marlin here. If not, then hopefully someone can help me understand why I would need that current set as high as 1.2 A rms (peak about ~1.7A, I know BTT TMC2209 can do up to ~2.9, but still…)
Just a suggestion - which probably won’t actually help THIS problem - but I found with my default config that models could become detached but look like they were still in place even though they swivelled around. I reduced the “brim separation” to 0.1mm and this fixed my poor quality. Even if you attach the brim to the model till you eliminate all other problems, you cat still easily cut it off. Admittedly even your brim appears to have problems of it own.
Why do you not just run with 16 microsteps?
The higher the microsteps number is, the lower is the the torque per step.
My settings for Y with a massive 400x400mm² and a glass bed are :
Hey @JassMan23 . Thanks for the reply. I have actually had that exact issue happen before, but this currently not the case. The first layer is stuck on there good (too good, I have to back off a bit on z-offset).
I don’t have a brim there, but what you are seeing is a skirt. I usually do 4-5 laps around to make sure the filament is running good and pressure has stabilized. Maybe not longer necessary, but old habits die hard
Ok, so 1.2 A works. No layer shifts! Both at reg speed (60 mm for peremeters and at 80). Nice ringing at higher speeds (had that with Marlin as well), but Klipper has a way to fix that. Also that spool of filament is now dead so moving on to something dry that I work on to improve quality.
I still want an answer to as why higher current is needed from Klipper than Marlin.
Below is a TMC dump on my Y axis. I’m have an idea that marlin and klipper are somehow responding to load differently. I’m guessing something related to hybridthreshold or something.
I’m actually not sure what you are hunting, but I typically set my currents according to the used stepper motor and not according to the used firmware.
A quick search suggests that the X1 uses different steppers for X and Y, where the X one is rated at 1.5A (run_current ~0.85 to 1.06) and the Y at 1.7A (run_current ~0.96 to 1.20).