You are not logged in.

#1 2022-01-06 02:26:42

FreeAsInGimme
Member
Registered: 2012-09-21
Posts: 7

Intermittent keyboard input lag & repeating key presses

This problem is occurring on an  HP laptop on a relatively fresh Arch install. I am intermittently having delayed keyboard input lag and repeating  (sometimes a dozen times or so) key presses from the laptop's keyboard (I have not yet been able to test it with a USB keyboard). The problem occurs both in an X session and directly in a tty. Most of the time, a reboot resolves the issue, but when the problem occurs, it will usually be present immediately upon booting. The problem never occurred under the OEM Windows install, so I am doubtful that it is a hardware issue.

 $ lspci
00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 03)
00:00.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant (rev 03)
00:00.3 System peripheral: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 03)
00:02.0 VGA compatible controller: Intel Corporation GeminiLake [UHD Graphics 605] (rev 03)
00:0c.0 Network controller: Intel Corporation Gemini Lake PCH CNVi WiFi (rev 03)
00:0e.0 Audio device: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 03)
00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 03)
00:12.0 SATA controller: Intel Corporation Celeron/Pentium Silver Processor SATA Controller (rev 03)
00:14.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
00:14.1 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f3)
00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Celeron/Pentium Silver Processor LPC Controller (rev 03)
00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 03)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
 $ systemctl --type=service
  UNIT                                                LOAD   ACTIVE SUB     DESCRIPTION
  dbus.service                                        loaded active running D-Bus System Message Bus
  dropbox@[redacted].service                                 loaded active running Dropbox
  getty@tty1.service                                  loaded active running Getty on tty1
  kmod-static-nodes.service                           loaded active exited  Create List of Static Device Nodes
  lvm2-monitor.service                                loaded active exited  Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
  NetworkManager.service                              loaded active running Network Manager
  polkit.service                                      loaded active running Authorization Manager
  rtkit-daemon.service                                loaded active running RealtimeKit Scheduling Policy Service
  systemd-backlight@backlight:intel_backlight.service loaded active exited  Load/Save Screen Backlight Brightness of backlight:intel_backlight
  systemd-fsck@dev-sda1.service                       loaded active exited  File System Check on /dev/sda1
  systemd-journal-flush.service                       loaded active exited  Flush Journal to Persistent Storage
  systemd-journald.service                            loaded active running Journal Service
  systemd-logind.service                              loaded active running User Login Management
  systemd-random-seed.service                         loaded active exited  Load/Save Random Seed
  systemd-remount-fs.service                          loaded active exited  Remount Root and Kernel File Systems
  systemd-sysctl.service                              loaded active exited  Apply Kernel Variables
  systemd-tmpfiles-setup-dev.service                  loaded active exited  Create Static Device Nodes in /dev
  systemd-tmpfiles-setup.service                      loaded active exited  Create Volatile Files and Directories
  systemd-udev-trigger.service                        loaded active exited  Coldplug All udev Devices
  systemd-udevd.service                               loaded active running Rule-based Manager for Device Events and Files
  systemd-update-utmp.service                         loaded active exited  Record System Boot/Shutdown in UTMP
  systemd-user-sessions.service                       loaded active exited  Permit User Sessions
  udisks2.service                                     loaded active running Disk Manager
  user-runtime-dir@1000.service                       loaded active exited  User Runtime Directory /run/user/1000
  user@1000.service                                   loaded active running User Manager for UID 1000
  wpa_supplicant.service                              loaded active running WPA supplicant

Please let me know if there is any other information that would be useful, or troubleshooting steps that would be recommended.

Offline

#2 2022-01-06 11:22:05

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,245
Website

Re: Intermittent keyboard input lag & repeating key presses

FreeAsInGimme wrote:

troubleshooting steps

Open a terminal and run this command:

journalctl --follow

Then wait for the problem to occur and switch back to the terminal to see if anything is being written to the journal. Share them here if you can't make any sense of them but be sure to enter the messages into a search engine first to see if that returns anything useful.


"The nation-state domesticates the society in the name of capitalism and alienates the community from its natural foundations."
Democratic Confederalism, Abdullah Öcalan.

Offline

#3 2022-01-06 22:49:39

walkingstickfan
Member
From: USA
Registered: 2021-05-10
Posts: 107

Re: Intermittent keyboard input lag & repeating key presses

Drop to the command line and enter the following:

xset q

Ideal output should indicate an autorepeat delay of 250 and a repeat rate of 25 or 30. If the output states otherwise, set the autorepeat delay and repeat rate as follows:

xset r rate 250 #

where # is your preferred repeat rate. 25 or 30 works well for me, but you may desire something different.

For whatever reason, the autorepeat delay sometimes resets to a default of 660. I've also experienced the same issue under Debian and Solus.

Last edited by walkingstickfan (2022-01-06 22:50:00)


Arch Linux with Openbox & Tint2

Offline

#4 2023-01-12 09:24:39

fearcona
Member
Registered: 2023-01-12
Posts: 1

Re: Intermittent keyboard input lag & repeating key presses

same problem here ¿have you solved the problem? it's very annoying

Offline

Board footer

Powered by FluxBB