Ok, this is really strange. I have a pretty bare setup of ubuntu where I start awesomewm and a number of other programs from an .xsession. I'm not running Gnome 3 or anything heavy like that and I've even stopped as many running processes as can to try to figure out what's causing this, to no avail.
What I'm seeing is, after maybe an hour after booting my laptop keyboard input gets slow. It's almost like it's adding a 300ms timeout to every keystroke, as if it's waiting for some other keystroke that will trigger some magic combination. If I just type quickly I can't see it for anything except the final keystroke which takes 300ms-1s to display. It's hard to time it, obviously. Weirder still, if I look at a terminal with a blinking cursor I can see that the blinking is not constant. Normally I think it's something like 1s on 1s off, but now it is totally sporadic.
I was worried it would be a hardware issue, but when I use a real terminal (ie not in Xorg, Ctrl-Alt-F1, the problem is gone.
dmesg doesn't really say anything interesting. Neither does
Anyone have any ideas? I think this might be easier to solve in realtime; I'm
frew on freenode. Feel free to ping and maybe you can help (and of course write what worked here and get the credit.)