You are not logged in.

#1 2025-01-16 10:26:31

nephis
Member
Registered: 2025-01-16
Posts: 5

[SOLVED] Keyboard input lag on HP Envy x360

Hi all,

I recently bought an HP Envy x360 2-in-1 Laptop 14-fa0xxx and installed Archlinux with Gnome on it. Overall, the experience is decent, and everything feels fluid until I start typing. There's a lot of lag between the inputs. It's a bit less in the terminal, so that's still fine, but in other applications I sometimes have to wait a second or two until I can see what I typed. I tried a bunch of power management, windowing system and other stuff that was suggested by ChatGPT and Claude, but none of that really helped. Then I randomly stumbled upon a temporary solution: If I do

sudo systemctl restart gdm

the issue no longer occurs until I reboot.

Could you help me troubleshoot this and find a non-temporary fix? Thanks!

Hardware Information:
RAM: 16 GB
Processor: AMD Ryzen™ 7 8840HS w/ Radeon™ 780M Graphics × 16

Software Information:
Firmware Version: F.04
OS Name: Arch Linux
OS Type: 64-bit
GNOME Version: 47
Windowing System: Wayland
Kernel Version: Linux 6.12.9-arch1-1

Last edited by nephis (2025-01-24 11:52:50)

Offline

#2 2025-01-22 09:18:36

nephis
Member
Registered: 2025-01-16
Posts: 5

Re: [SOLVED] Keyboard input lag on HP Envy x360

After updating Archlinux to version 6.12.10 (or maybe due to some other reason), the issues now don't go away after restarting gdm. Especially in heavier applications like the browser or zotero, there's a very annoying input lag now. There's also considerable lag in the Nautilus file explorer.

Another interesting observation is that when I run

sudo libinput debug-events --show-keycodes

and keep that log open on the side (so something continues to update on the screen), there's almost no lag. But when I keep the window in the background, it immediately starts lagging again. The timings of the keyboard presses and releases are shown correctly in the log, it's more like the whole screen just freezes for a few moments.

Offline

#3 2025-01-22 20:32:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,086

Re: [SOLVED] Keyboard input lag on HP Envy x360

It's probably not related to the keyboard at all, try https://bbs.archlinux.org/viewtopic.php … 0#p2220140

Offline

#4 2025-01-24 11:52:32

nephis
Member
Registered: 2025-01-16
Posts: 5

Re: [SOLVED] Keyboard input lag on HP Envy x360

Awesome, that did the trick for me for now, and it's nice to see this being worked on! Thank you so much!

Offline

Board footer

Powered by FluxBB