I've been plagued with this for months but didn't want to say anything without finally investigating.
I troubleshooted thru the entire day yesterday. I have my seizes, freezes, and lagging when it comes to key I/O. Some days (yesterday) it is visited upon me frequently, many times an hour, for hours. Other times, much less. A couple minutes then goes away. Then comes back.
What they all have in common from one computer to the next is this: same wireless logitech keyboard and wireless logitech mouse. Battery power is fine. Thinking it was a crappy dongle, I changed ports and it cleared up for an hour or two. Then keyboard seizes came back.
Kept keyboard. Kept dongle. Put wireless mouse away. I had to dial my hardware back twenty years: I plugged in a wired mouse. I kept the wireless keyboard.
Been seize-free (no problems) for about 20 hours, thank politically-correct-deity-of-your-choice.
Remedy: wired mouse.
Hypothesis 1) motherboard/kernel communication with logitech dongle is problematic (but two computer in a row?)
Hypothesis 2) almost the same. Mobo/kernel understands the wired mouse plugged into its board and can talk/understand it, so no problems.
So: kernel has problem processing/integrating this logitech wireless device
OR: dongle old and corrupted? But this makes no sense as wireless keyboard is fine.
Please comment on my scientific method or lack of it, it's not my specialty. Thanks again.
Also, @elfprince has an alternate remedy for this here: https://discuss.getsol.us/d/3667-budgie-freezes-mouse-trackpoint-trackpad-nothing-is-clickable/15 if my info is not relevant to you.