You are not logged in.

#1 2025-01-31 00:22:52

winslowsem
Member
Registered: 2023-07-07
Posts: 29

Occasional input lag across keystroke and mouse

Device:  TUXEDO InfinityBook Pro AMD Gen9
Kernel version: 6.12.9-hardened1-1-hardened
DE: GNOME on Wayland

Occasionally (in fact, quite frequently during usage, like right when I am typing this post) my input would lag on the system, such lag appears in two ways:
For mouse, the lag would stop the cursor for tiny timelapse then the cursor "teleports" to the next location
For keyboard, the input would stop for a tiny timelapse  and when it recovers, it result in repeated keystroke, like testttttttttttttttttttt or posssssssssst

Such lag does not seem to correlate with system load, as when they occurs the system is not under heavy load(>16G unallocated free mem, <50% cpu, 3.4 load). The processes with highest cpu usage is hanabi extension, which, upon disabling, has no impact on the issue. IO load is very low also.


I use Arch on LVM on LUKS with SELinux and Secure Boot btw

Offline

#2 2025-01-31 01:13:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: Occasional input lag across keystroke and mouse

Sounds like the PSR issues, check whether adding "amdgpu.dcdebugmask=0x10" to your kernel parameters helps. you might want to follow: https://bbs.archlinux.org/viewtopic.php?id=301280

Offline

#3 2025-01-31 23:56:53

winslowsem
Member
Registered: 2023-07-07
Posts: 29

Re: Occasional input lag across keystroke and mouse

V1del wrote:

Sounds like the PSR issues, check whether adding "amdgpu.dcdebugmask=0x10" to your kernel parameters helps. you might want to follow: https://bbs.archlinux.org/viewtopic.php?id=301280

Thank you, I also remember seeing this as a fix toward amdgpu's DMCUB error which I have also encountered. Will update if any amdgpu issues related replicate


I use Arch on LVM on LUKS with SELinux and Secure Boot btw

Offline

#4 2025-02-02 23:00:22

winslowsem
Member
Registered: 2023-07-07
Posts: 29

Re: Occasional input lag across keystroke and mouse

V1del wrote:

Sounds like the PSR issues, check whether adding "amdgpu.dcdebugmask=0x10" to your kernel parameters helps. you might want to follow: https://bbs.archlinux.org/viewtopic.php?id=301280


Follow up, I didn't manage to test about the input lag issue, but one thing that happened after I added this kernel parameter is AMDGPU simply crashing and freeze.
Scenario: VMWare with high load
What happened: suddenly the graphic interface freeze, Cap Lock and Num lock is still working, tried to switch to another TTY but it only does so after freezing for about 30 seconds, then at the TTY it completely freezes with both Cap Lock and Num Lock not working, but the kernel is still alive as some applications with audio is still playing sound, I didn't manage to extract any log because the system is unresponsive to any input, but the visible logs in new TTY showed a long backtrace with AMDGPU

photo-2025-02-02-15-03-55.jpg

Last edited by winslowsem (2025-02-02 23:07:17)


I use Arch on LVM on LUKS with SELinux and Secure Boot btw

Offline

Board footer

Powered by FluxBB