I'm running an old XT 10 speed shifter, with an 11/46 sunrace cassette, and a Deore M5120 mech, and it all works perfectly, adjusted up first time no issues:
Edit: I tried for years to get a wide range 11 speed SLX mech to work with the above as I was advised the cable pull is the same, but it was never any good.
so i have the m5100 rear mech, but only can find 8 gears
Its the 10speed M610 shifter, is the cable pull the same as the M6000?
I get 10 shifter gears/clicks with the cable undone, but connected the derailleur moves the correct distance from 1-10, but only 8 clicks. So I lost 2 gears somewhere
I havent put the chain on yet
Firstly, you should have 9 clicks, not 10
Secondly, why have you bought the 5100 mech and not the 5120? Making things work is so much easier when you buy compatible components as per the Shimano compatibility charts.
https://productinfo.shimano.com/#/com?acid=C-436&cid=C-432

i shouldve said,if i click it until 8th gear, its level with the biggest cog and wont click anymore
As above m5100 has no logical explanation for not being 10speed compatible, despite not being on the above chart
Is it possible that my m610 shifter is b******d and will slip 2 gears under tension?
This has become purely another exercise in frustration
Your high and low stops will need adjusting.
At this stage I'd say take it to a bike shop and let someone who knows what they're doing handle the job.
I did adjust the stops
I like to think that i know what im doing, especially when it comes to setting gears up.
Although my memory isnt what it shouldve been
Back the low limit screw off and see if you get the 9th click.
Send the mech back and buy the 5120. Mine just worked straight away. So much better than the xt mech it replaced or trying to use a ztto goat link copy. Should have done it years ago.
New deore is better than old xt.
I'm not sure why it doesn't work when it's all supposed to be the same ratio pull but the chart Simondbarnes puts up confirms what crc said. Life's too short to waste time setting up gears that don't work right or changing other parts.
In fact, my 10 speed deore set up is probably my favourite gear setup across all my bikes. It just works, it's strong, dependable and cheap to replace. I don't think at my level more expensive gear makes any difference 🤣
Back the low limit screw off and see if you get the 9th click.
I tried this,its just the same
I dont see anythin really relating to M5120 on shimano site
Since i had almost the same problem with the sunrace 46T/goatlink/XT m786 derailleur, maybe i should buy a new shifter anyway
Are you getting 9 clicks when the mech isn’t connected?
Are you getting 9 clicks when the mech isn’t connected?
yes
Since i had almost the same problem with the sunrace 46T/goatlink/XT m786 derailleur, maybe i should buy a new shifter anyway
If you buy a new shifter, just buy an 11 speed shifter and a new cassette 🤣
I got this all working fine with the 5100 mech. It helps immensely if the cable is connected on the right side of the bolt
I may fine tune the chainline with bb spacers but im really pleased that it all works
Excellent 👍