Sounds like there is something hinky going on with your chainline.. I have the exact same setup (XT double, X9 Type2, KMC chain and 11-34 cassette) and it’s never missed a beat in any gear.
Not much help I realise but at least you know it’s not the component combo that’s inherently at fault I guess.. 😉
Edit:
Oh hang on, just re-read your post.. you are trying to use the top 2 sprockets while on the big ring.?
That’s kind of a no no, anything other than a spot on chainline will give you problems in that combo.
I can get away with big ring/2nd biggest sprocket but haven’t even tried the big-big combo as it was drummed into me as a boy not to do that or I’d die.!!! 🙂