# Layer shifts on X axis only. Possibly after recent update

**URL:** <https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857>\
**Category:** General Discussion\
**Created:** [February 24, 2023, 6:17am UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857 "2023-02-24T06:17:19Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![insanemal](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/insanemal/32/4289_2.png) [@insanemal](https://klipper.discourse.group/u/insanemal)\
**Post date:** [February 24, 2023, 6:17am UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/1 "2023-02-24T06:17:19Z")

</div>

### Basic Information:

Printer Model: Ender 3 Pro  
 MCU / Printerboard: BTT SKR3  
 `klippy.log`

### Describe your issue:

I am seeing random layer shifts on the X axis. Everything was working fine until a few days ago. I now get consistent shifts left and right on the X axis. Only the X axis.

I thought perhaps my run\_current wasn’t high enough so I increased it in small steps, printing after each increase. I got all the way up to 0.8 which is the rated max for that stepper.  
I believe I have damaged a stepper in this process. I have replaced said stepper with a new one and set the run\_current to a sensible number (what it was previously when it was working) and the shifts persist.

I have double checked the belts. They are tight. I have swapped my stepper drivers around to see if this was the issue, it does not appear to be.

I am out of ideas as to what the issue could be, except that there was a klipper update since it was last behaving correctly. It still could be something else but, as I have said it was working fine.

I am happy to test and debug so please ask questions

[klippy.log](https://klipper.discourse.group/uploads/short-url/iQABsz6SqtbvuV5GoUNemhEwPoi.log) (2.4 MB)

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [February 24, 2023, 7:19am UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/2 "2023-02-24T07:19:59Z")

</div>

Hello @insanemal !

First, as you said, you may increase the `run_current` for `stepper_x` to 0.8 A.  
Same is for `stepper_y`. This one has more load due to the bed.

BTW:

> [@insanemal](#):
>
> I got all the way up to 0.8 which is the rated max for that stepper.

What are these steppers? The motors I know run at least at 1.2 A and more. Those for the Ender 3 have 1.5 A

Also check the X axis mechanics: Is the gear tight to the motor shaft? Has the timing belt a proper tension - not too lose and not too tight -? Does the carriage run smoothly its way?

---

<div class="post-metadata">

**Author:** ![insanemal](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/insanemal/32/4289_2.png) [@insanemal](https://klipper.discourse.group/u/insanemal)\
**Post date:** [February 24, 2023, 9:50am UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/3 "2023-02-24T09:50:30Z")

</div>

It’s weird. Y seems fine. Previously before I started having issues I was running them at 0.460 as per another recommendation. And I was getting solid prints.

The conversation here seems to be sound? [https://www.reddit.com/r/BIGTREETECH/comments/ct5j8k/stepper\_driver\_current\_settings/?utm\_source=share&utm\_medium=android\_app&utm\_name=androidcss&utm\_term=1&utm\_content=share\_button](https://www.reddit.com/r/BIGTREETECH/comments/ct5j8k/stepper_driver_current_settings/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button)

Yeah I’ve tried just about every tighness adjustment I can do. From loose-ish to probably too tight.

That’s what’s really got me stumped. It was working fine (I printed a mountain of test cubes dialing in the extruder) with much lower values and now its being weird. And like I said, really the only change was a recent update to Klipper… I might be able to recover which git commit I was previously on and test. But I’m not sure.

Only other thing I can think of is I have a failing power supply but that doesn’t add up

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [February 24, 2023, 10:03am UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/4 "2023-02-24T10:03:52Z")

</div>

Can’t comment on the reddit post, since this depends on your hardware, which I do not have. For the general logic see [Hold\_current and run\_current -- TMC2209 - #5 by Sineos](https://klipper.discourse.group/t/hold-current-and-run-current-tmc2209/1171/5)

---

<div class="post-metadata">

**Author:** ![insanemal](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/insanemal/32/4289_2.png) [@insanemal](https://klipper.discourse.group/u/insanemal)\
**Post date:** [February 24, 2023, 10:12am UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/5 "2023-02-24T10:12:43Z")

</div>

So do I need to adjust my R-Sense? I thought using UART I didn’t need to do that?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [February 24, 2023, 10:13am UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/6 "2023-02-24T10:13:40Z")

</div>

Where do you find an instruction to modify R-Sense?

---

<div class="post-metadata">

**Author:** ![insanemal](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/insanemal/32/4289_2.png) [@insanemal](https://klipper.discourse.group/u/insanemal)\
**Post date:** [February 24, 2023, 10:23am UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/7 "2023-02-24T10:23:05Z")

</div>

I read your reply in the linked thread. I have TMC 2209 drivers in UART mode.

I have not adjusted the variable resistor on the board at all.

Just set the run current.

I just tried a print at 0.460 which was the previous good value.

The print came out like this

 ![20230224_200828](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/3/35a0149e933e11e5fec4eabb57e246040f740251.jpeg)

I have more photos but apparently I can only Upload one at a time

So now it appears I have issues on both the X and the Y?

Things are getting progressively worse it seems. It did appear to be doing fine for the first few layers however.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [February 24, 2023, 11:56am UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/8 "2023-02-24T11:56:12Z")

</div>

In the link I posted there is no information to adjust R-Sense. On the contrary, R-Sense is defined by the stepper modules that you are using and must match. This is not a setting to adjust. Follow the instruction given under the heading “ **The correct current for the stepper** ”

If the print quality stays the same **after** adjusting to the correct current, then you should check your Z-Axis. For me your picture looks rather like a messed up Z-axis then a layer shifting.

---

<div class="post-metadata">

**Author:** ![insanemal](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/insanemal/32/4289_2.png) [@insanemal](https://klipper.discourse.group/u/insanemal)\
**Post date:** [February 24, 2023, 1:09pm UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/9 "2023-02-24T13:09:26Z")

</div>

I mean each problem layer is shifted on the X. The Y looks like crap because they don’t match the line above and below.

It’s actually even worse now than it has been. The Y direction was clean as and just X was stepped wrong. Often just in the last few layers. I have no idea. I’m pretty much at the end of my tether lol

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [January 21, 2025, 9:19pm UTC](https://klipper.discourse.group/t/layer-shifts-on-x-axis-only-possibly-after-recent-update/6857/10 "2025-01-21T21:19:52Z")

</div>

Closed on January 21, 2025, 9:19pm UTC


