I'm pretty sure it's are hw problem because:
- both synaptics and atmel touchscreens are affected
- both original and (cheap) replacement touchscreens are affected.
- I tried the kernel driver from the manufacturer and it still happened
maybe there's something wrong with PCB or sth. similar that causes noise.
It would just be interesting if there's a difference between stock and custom kernels.
Maybe Xiaomi is holding back a workaround.