Keyboard Repeat Stuttering/Lagging

,

Hello, fairly new to linux and fedora. I have an odd problem.

Sometimes, when I hold a key on my keyboard down it repeats 20-30 times all at once and then begins repeating normally, as if the events are not being processed in a timely fashion. Most of the time the key repeat works as normal. I first noticed this in nvim while I was scrolling up and down with the j/k keys. Most of the time it would scroll normally (one line at a time) but every once in a while it would skip 30 lines and then continue to scroll normally.

Here is my setup:
Operating System: Fedora Linux 44
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 7.0.9-202.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 2070
Manufacturer: ASUS

Keyboard is a Razer blackwidow (wired)
Keyboard settings:

  • Generic | Generic 104-key PC
  • Key repeat = true
  • delay 600ms
  • rate 25/s
    (note that this issue even happens in the “test area” within the keyboard settings

As I said I first noticed this in nvim I have since found that it IS happening using these applications or tests

  • sudo libinput debug-events
  • nano
  • Keyboard settings
  • Konsole
  • Ghostty
  • Tried a different set of USB, both in the back and on the front of the computer

It does NOT happen if use the following

  • firefox
  • obsidian
  • tty console

I am down for any suggestions and can post additional information if needed

Please help. Thanks