Hi everybody, had this issue for some time on different Ubuntu based distros.
Nvidia + DisplayLink and one external display.
Mouse flickering was present on builtin display.
I've managed to solve the issue by restarting display manager service.
Code:
$ sudo service lightdm restart
Hope this helps.