07-23-2024 12:48 AM
When pressing the caps lock key there is huge ISR latency spike with the i8042prt.sys driver, it is only this key no other key on the keyboard causes this. I checked this 3 to 4 times with latencymon as well, this cause sthe entire system to lag out and stutter.
I understand that this is technical a microsoft driver howver I have already spoken to them and they have told me that the best solution they can offer is a windows iso update, which is not exactly a good idea on gaming notebooks.
This not limited to my internal keyboard, i have tried a wireless 2.4ghz keyboard and that trigger the same fault with the same key, I set up a macro with my mouse as well that had the same result, and the same thing with my on-screen keyboard.
The working theory I have is that there is a registry fault however editing it without understanding the exact cause can be worse for my system. I have tried uninstalling it and reinstalling it, that doesn't help.
The driver is for the Standard PS/2 Keyboard 10.0.22621.3672The registry if anyone can ccompare with the same device that would be helpful
ONCLUSION
_________________________________________________________________________________________________________
Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing for too long. Also one or more ISR routines that belong to a driver running in your system appear to be executing for too long. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates.
LatencyMon has been analyzing your system for 0:20:13 (h:mm:ss) on all processors.
_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: PVPC
OS version: Windows 11, 10.0, version 2009, build: 22621 (x64)
Hardware: ROG Zephyrus G15 GA503RW_GA503RW, ASUSTeK COMPUTER INC.
BIOS: GA503RW.317
CPU: AuthenticAMD AMD Ryzen 9 6900HS with Radeon Graphics
Logical processors: 16
Processor groups: 1
Processor group size: 16
RAM: 15608 MB total
_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed (WMI): 2973 MHz
Reported CPU speed (registry): 3294 MHz
Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.
_________________________________________________________________________________________________________
MEASURED INTERRUPT TO DPC LATENCIES
_________________________________________________________________________________________________________
The interrupt to DPC latency reflects the measured interval in which a DPC could execute in response to a hardware request from the moment the interrupt service routine started execution.
Highest measured interrupt to DPC latency (µs): 83856.40
Average measured interrupt to DPC latency (µs): 11.839606
_________________________________________________________________________________________________________
REPORTED ISRs
_________________________________________________________________________________________________________
Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.
Highest ISR routine execution time (µs): 85111.828780
Driver with highest ISR routine execution time: i8042prt.sys - i8042 Port Driver, Microsoft Corporation
Highest reported total ISR routine time (%): 0.000871
Driver with highest ISR total time: i8042prt.sys - i8042 Port Driver, Microsoft Corporation
Total time spent in ISRs (%) 0.001099
ISR count (execution time <250 µs): 17925
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-1000 µs): 0
ISR count (execution time 1000-2000 µs): 0
ISR count (execution time 2000-4000 µs): 0
ISR count (execution time >=4000 µs): 0
_________________________________________________________________________________________________________
REPORTED DPCs
_________________________________________________________________________________________________________
DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.
Highest DPC routine execution time (µs): 2164.475410
Driver with highest DPC routine execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 560.70 , NVIDIA Corporation
Highest reported total DPC routine time (%): 0.005017
Driver with highest DPC total execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation
Total time spent in DPCs (%) 0.026721
DPC count (execution time <250 µs): 405732
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-10000 µs): 505
DPC count (execution time 1000-2000 µs): 23
DPC count (execution time 2000-4000 µs): 2
DPC count (execution time >=4000 µs): 0
_________________________________________________________________________________________________________
REPORTED HARD PAGEFAULTS
_________________________________________________________________________________________________________
Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.
NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.
Process with highest pagefault count: msmpeng.exe
Total number of hard pagefaults 37366
Hard pagefault count of hardest hit process: 10205
Number of processes hit: 196
_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 25.762395
CPU 0 ISR highest execution time (µs): 85111.828780
CPU 0 ISR total execution time (s): 0.209438
CPU 0 ISR count: 16865
CPU 0 DPC highest execution time (µs): 2164.475410
CPU 0 DPC total execution time (s): 3.105521
CPU 0 DPC count: 222395
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 21.787370
CPU 1 ISR highest execution time (µs): 197.989982
CPU 1 ISR total execution time (s): 0.003878
CPU 1 ISR count: 1062
CPU 1 DPC highest execution time (µs): 1171.299636
CPU 1 DPC total execution time (s): 0.080689
CPU 1 DPC count: 3055
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 22.603270
CPU 2 ISR highest execution time (µs): 0.0
CPU 2 ISR total execution time (s): 0.0
CPU 2 ISR count: 0
CPU 2 DPC highest execution time (µs): 996.632058
CPU 2 DPC total execution time (s): 0.879747
CPU 2 DPC count: 68539
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 32.602054
CPU 3 ISR highest execution time (µs): 0.0
CPU 3 ISR total execution time (s): 0.0
CPU 3 ISR count: 0
CPU 3 DPC highest execution time (µs): 423.339709
CPU 3 DPC total execution time (s): 0.040739
CPU 3 DPC count: 5051
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 18.988151
CPU 4 ISR highest execution time (µs): 0.0
CPU 4 ISR total execution time (s): 0.0
CPU 4 ISR count: 0
CPU 4 DPC highest execution time (µs): 919.501821
CPU 4 DPC total execution time (s): 0.358006
CPU 4 DPC count: 31911
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 22.661025
CPU 5 ISR highest execution time (µs): 0.0
CPU 5 ISR total execution time (s): 0.0
CPU 5 ISR count: 0
CPU 5 DPC highest execution time (µs): 246.137523
CPU 5 DPC total execution time (s): 0.027907
CPU 5 DPC count: 2645
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s): 13.658407
CPU 6 ISR highest execution time (µs): 0.0
CPU 6 ISR total execution time (s): 0.0
CPU 6 ISR count: 0
CPU 6 DPC highest execution time (µs): 663.055556
CPU 6 DPC total execution time (s): 0.174635
CPU 6 DPC count: 16253
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s): 14.819782
CPU 7 ISR highest execution time (µs): 0.0
CPU 7 ISR total execution time (s): 0.0
CPU 7 ISR count: 0
CPU 7 DPC highest execution time (µs): 310.875228
CPU 7 DPC total execution time (s): 0.022779
CPU 7 DPC count: 1922
_________________________________________________________________________________________________________
CPU 8 Interrupt cycle time (s): 10.014871
CPU 8 ISR highest execution time (µs): 0.0
CPU 8 ISR total execution time (s): 0.0
CPU 8 ISR count: 0
CPU 8 DPC highest execution time (µs): 779.357013
CPU 8 DPC total execution time (s): 0.088460
CPU 8 DPC count: 9421
_________________________________________________________________________________________________________
CPU 9 Interrupt cycle time (s): 9.536141
CPU 9 ISR highest execution time (µs): 0.0
CPU 9 ISR total execution time (s): 0.0
CPU 9 ISR count: 0
CPU 9 DPC highest execution time (µs): 489.339709
CPU 9 DPC total execution time (s): 0.042921
CPU 9 DPC count: 2697
_________________________________________________________________________________________________________
CPU 10 Interrupt cycle time (s): 7.919413
CPU 10 ISR highest execution time (µs): 0.0
CPU 10 ISR total execution time (s): 0.0
CPU 10 ISR count: 0
CPU 10 DPC highest execution time (µs): 307.869763
CPU 10 DPC total execution time (s): 0.057908
CPU 10 DPC count: 6334
_________________________________________________________________________________________________________
CPU 11 Interrupt cycle time (s): 8.582563
CPU 11 ISR highest execution time (µs): 0.0
CPU 11 ISR total execution time (s): 0.0
CPU 11 ISR count: 0
CPU 11 DPC highest execution time (µs): 232.572860
CPU 11 DPC total execution time (s): 0.115957
CPU 11 DPC count: 14073
_________________________________________________________________________________________________________
CPU 12 Interrupt cycle time (s): 4.515416
CPU 12 ISR highest execution time (µs): 0.0
CPU 12 ISR total execution time (s): 0.0
CPU 12 ISR count: 0
CPU 12 DPC highest execution time (µs): 499.177596
CPU 12 DPC total execution time (s): 0.048229
CPU 12 DPC count: 5297
_________________________________________________________________________________________________________
CPU 13 Interrupt cycle time (s): 4.626402
CPU 13 ISR highest execution time (µs): 0.0
CPU 13 ISR total execution time (s): 0.0
CPU 13 ISR count: 0
CPU 13 DPC highest execution time (µs): 327.275046
CPU 13 DPC total execution time (s): 0.014768
CPU 13 DPC count: 1303
_________________________________________________________________________________________________________
CPU 14 Interrupt cycle time (s): 4.199993
CPU 14 ISR highest execution time (µs): 0.0
CPU 14 ISR total execution time (s): 0.0
CPU 14 ISR count: 0
CPU 14 DPC highest execution time (µs): 720.449909
CPU 14 DPC total execution time (s): 0.107127
CPU 14 DPC count: 14012
_________________________________________________________________________________________________________
CPU 15 Interrupt cycle time (s): 4.248047
CPU 15 ISR highest execution time (µs): 0.0
CPU 15 ISR total execution time (s): 0.0
CPU 15 ISR count: 0
CPU 15 DPC highest execution time (µs): 380.461749
CPU 15 DPC total execution time (s): 0.021634
CPU 15 DPC count: 1354
_________________________________________________________________________________________________________
07-25-2024 04:59 PM
Hi @Zylon_ ,
You mentioned that this issue occurs with different input devices, which seems to indicate a system problem. Have you tried reinstalling the driver (Device Manager > Standard PS/2 Keyboard > Right-click and select Uninstall Device > Restart the computer to let Windows reinstall the driver) to test this? Since modifying the registry incorrectly can cause other system issues, we still recommend backing up important data and attempting a system reinstallation to resolve the problem. Thank you.
07-25-2024 06:31 PM
I have tried reinstalling the driver, tried reinstalling windows, tried upgrading windows from 22H2 to 23H2 , did not work.
07-29-2024 07:56 PM
Hi @Zylon_ ,
Could you please share your laptop serial number and Windows Build Version (Settings - System - About) with us via private message for further verification? Thank you.