Key repeat acting strangely

Every time I hold down a key, most commonly backspace or the left arrow key, key repeat either doesn’t work, or works for less than a second and stops. It seems to stop at regular intervals (independent of me pressing the key), so I have to press the key with a specific timing, otherwise it’ll stop the key repeat before it actually starts. At least, that’s how it seems based on what I can see. Odd thing is, I’m pretty sure this is also happening on my Chromebook, and ChromeOS is basically Linux minus Linux, so I’m wondering if there’s not a deeper reason than anything I can fix.