This was one of the most irritating things about the Raspberry Pi when I first got it. Supposedly it is a pretty fast little machine, but if you start up in X, you’ll notice a distinctive lag in the mouse movement. When I saw that I thought: “Maybe these people were lying about how fast this computer is?”
Well the good news it that it isn’t because the processor is slow. It’s actually a setting on the Pi making it lag, probably to increase processing performance when in X. But here’s how to fix it.
First make sure all of the software is up-to-date:
sudo apt-get install update
sudo apt-get install dist-upgrade
sudo reboot
Next you’ll want to edit the file -> /boot/cmdline.txt
sudo vim /boot/cmdline.txt
Add: “usbhid.mousepoll=0” to the end of the line. (No quotes)
Then do a reboot again and it should fix the problem!